[INFO] cloning repository https://github.com/megaketu555/vistrit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/megaketu555/vistrit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmegaketu555%2Fvistrit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmegaketu555%2Fvistrit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a269bc7061734cb510e234aaf065c2ce0327a89 [INFO] checking megaketu555/vistrit/2a269bc7061734cb510e234aaf065c2ce0327a89 against master#3f6250a7bb79e600d9036bbc7c8f65af43933643 for pr-147859 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmegaketu555%2Fvistrit" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/megaketu555/vistrit [INFO] finished tweaking git repo https://github.com/megaketu555/vistrit [INFO] tweaked toml for git repo https://github.com/megaketu555/vistrit written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/megaketu555/vistrit on toolchain 3f6250a7bb79e600d9036bbc7c8f65af43933643 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f6250a7bb79e600d9036bbc7c8f65af43933643" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/megaketu555/vistrit 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" "+3f6250a7bb79e600d9036bbc7c8f65af43933643" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.2.49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+3f6250a7bb79e600d9036bbc7c8f65af43933643" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc2d35b871d4989007085851a858426726d2ee44aeae0a7d8413fa0b9704ad0e [INFO] running `Command { std: "docker" "start" "-a" "cc2d35b871d4989007085851a858426726d2ee44aeae0a7d8413fa0b9704ad0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc2d35b871d4989007085851a858426726d2ee44aeae0a7d8413fa0b9704ad0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc2d35b871d4989007085851a858426726d2ee44aeae0a7d8413fa0b9704ad0e", kill_on_drop: false }` [INFO] [stdout] cc2d35b871d4989007085851a858426726d2ee44aeae0a7d8413fa0b9704ad0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+3f6250a7bb79e600d9036bbc7c8f65af43933643" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ee65f13d48513c794d6632908619e20cb6bf95ebf948d5385486eb892350796 [INFO] running `Command { std: "docker" "start" "-a" "9ee65f13d48513c794d6632908619e20cb6bf95ebf948d5385486eb892350796", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking signal-hook-registry v1.4.7 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking clap_lex v0.7.6 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking clap_builder v4.5.53 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking clap v4.5.53 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking vistrit-core v0.1.0 (/opt/rustwide/workdir/crates/vistrit-core) [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking vistrit-protocol v0.1.0 (/opt/rustwide/workdir/crates/vistrit-protocol) [INFO] [stderr] Checking vistrit-client v0.1.0 (/opt/rustwide/workdir/crates/vistrit-client) [INFO] [stderr] Checking vistrit-worker v0.1.0 (/opt/rustwide/workdir/crates/vistrit-worker) [INFO] [stderr] Checking vistrit-coordinator v0.1.0 (/opt/rustwide/workdir/crates/vistrit-coordinator) [INFO] [stdout] warning: unused imports: `debug` and `info` [INFO] [stdout] --> crates/vistrit-client/src/api.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{debug, info}; [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 imports: `debug` and `info` [INFO] [stdout] --> crates/vistrit-client/src/api.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{debug, info}; [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 imports: `NodeId` and `Task` [INFO] [stdout] --> crates/vistrit-worker/src/client.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use vistrit_core::{NodeId, NodeInfo, NodeState, Result, VistritError, Task, TaskResult}; [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 imports: `debug` and `warn` [INFO] [stdout] --> crates/vistrit-worker/src/executor.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::debug` [INFO] [stdout] --> crates/vistrit-worker/src/heartbeat.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> crates/vistrit-coordinator/src/registry.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::Arc; [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: `Arc` [INFO] [stdout] --> crates/vistrit-coordinator/src/scheduler.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> crates/vistrit-coordinator/src/scheduler.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VistritError` [INFO] [stdout] --> crates/vistrit-coordinator/src/server.rs:16:63 [INFO] [stdout] | [INFO] [stdout] 16 | use vistrit_core::{NodeId, NodeInfo, NodeState, Task, Result, VistritError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NodeId` and `Task` [INFO] [stdout] --> crates/vistrit-worker/src/client.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use vistrit_core::{NodeId, NodeInfo, NodeState, Result, VistritError, Task, TaskResult}; [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 imports: `debug` and `warn` [INFO] [stdout] --> crates/vistrit-worker/src/executor.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::debug` [INFO] [stdout] --> crates/vistrit-worker/src/heartbeat.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> crates/vistrit-coordinator/src/registry.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::Arc; [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: `Arc` [INFO] [stdout] --> crates/vistrit-coordinator/src/scheduler.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> crates/vistrit-coordinator/src/scheduler.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vistrit_core::TaskPayload` [INFO] [stdout] --> crates/vistrit-coordinator/src/scheduler.rs:410:9 [INFO] [stdout] | [INFO] [stdout] 410 | use vistrit_core::TaskPayload; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VistritError` [INFO] [stdout] --> crates/vistrit-coordinator/src/server.rs:16:63 [INFO] [stdout] | [INFO] [stdout] 16 | use vistrit_core::{NodeId, NodeInfo, NodeState, Task, Result, VistritError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> crates/vistrit-worker/src/client.rs:146:29 [INFO] [stdout] | [INFO] [stdout] 146 | let msg = Message::Heartbeat(HeartbeatMessage { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinator_info` [INFO] [stdout] --> crates/vistrit-worker/src/client.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | let (node_id, coordinator_info) = match response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinator_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `heartbeat` [INFO] [stdout] --> crates/vistrit-worker/src/client.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | let heartbeat = HeartbeatService::new( [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_heartbeat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `heartbeat_handle` [INFO] [stdout] --> crates/vistrit-worker/src/client.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let heartbeat_handle = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_heartbeat_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subscriber` [INFO] [stdout] --> crates/vistrit-worker/src/main.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let subscriber = FmtSubscriber::builder() [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bind_addr` is never read [INFO] [stdout] --> crates/vistrit-worker/src/client.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct WorkerClient { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 24 | coordinator_addr: SocketAddr, [INFO] [stdout] 25 | bind_addr: SocketAddr, [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 `RunningTask` is never constructed [INFO] [stdout] --> crates/vistrit-worker/src/executor.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct RunningTask { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_concurrent` is never read [INFO] [stdout] --> crates/vistrit-worker/src/executor.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct TaskExecutor { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 21 | node_id: NodeId, [INFO] [stdout] 22 | max_concurrent: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `running_count` is never used [INFO] [stdout] --> crates/vistrit-worker/src/executor.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl TaskExecutor { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn running_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_id`, `interval`, and `running_tasks` are never read [INFO] [stdout] --> crates/vistrit-worker/src/heartbeat.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct HeartbeatService { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 12 | node_id: NodeId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | interval: Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | running_tasks: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `node_id`, `interval`, and `running_tasks` are never used [INFO] [stdout] --> crates/vistrit-worker/src/heartbeat.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl HeartbeatService { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn node_id(&self) -> NodeId { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn interval(&self) -> Duration { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn running_tasks(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> crates/vistrit-worker/src/client.rs:146:29 [INFO] [stdout] | [INFO] [stdout] 146 | let msg = Message::Heartbeat(HeartbeatMessage { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinator_info` [INFO] [stdout] --> crates/vistrit-worker/src/client.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | let (node_id, coordinator_info) = match response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinator_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `heartbeat` [INFO] [stdout] --> crates/vistrit-worker/src/client.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | let heartbeat = HeartbeatService::new( [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_heartbeat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `heartbeat_handle` [INFO] [stdout] --> crates/vistrit-worker/src/client.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let heartbeat_handle = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_heartbeat_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subscriber` [INFO] [stdout] --> crates/vistrit-client/src/main.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let subscriber = FmtSubscriber::builder() [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subscriber` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subscriber` [INFO] [stdout] --> crates/vistrit-coordinator/src/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let subscriber = FmtSubscriber::builder() [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subscriber` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/vistrit-coordinator/src/registry.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | WorkerJoined(NodeId), [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RegistryEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 - WorkerJoined(NodeId), [INFO] [stdout] 18 + WorkerJoined(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/vistrit-coordinator/src/registry.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | WorkerLeft(NodeId), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RegistryEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 - WorkerLeft(NodeId), [INFO] [stdout] 20 + WorkerLeft(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_id`, `old_state`, and `new_state` are never read [INFO] [stdout] --> crates/vistrit-coordinator/src/registry.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | WorkerStateChanged { node_id: NodeId, old_state: NodeState, new_state: NodeState }, [INFO] [stdout] | ------------------ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RegistryEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/vistrit-coordinator/src/registry.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | WorkerTimeout(NodeId), [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RegistryEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 - WorkerTimeout(NodeId), [INFO] [stdout] 24 + WorkerTimeout(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connected_at` is never read [INFO] [stdout] --> crates/vistrit-coordinator/src/registry.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct WorkerEntry { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | pub connected_at: Instant, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkerEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `connection_duration` is never used [INFO] [stdout] --> crates/vistrit-coordinator/src/registry.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl WorkerEntry { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn connection_duration(&self) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `subscribe`, `get`, and `remove_offline_workers` are never used [INFO] [stdout] --> crates/vistrit-coordinator/src/registry.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl WorkerRegistry { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn subscribe(&self) -> broadcast::Receiver { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn get(&self, node_id: &NodeId) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn remove_offline_workers(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RoundRobin` and `Random` are never constructed [INFO] [stdout] --> crates/vistrit-coordinator/src/scheduler.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum SchedulingStrategy { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 20 | /// Round-robin assignment [INFO] [stdout] 21 | RoundRobin, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | Random, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SchedulingStrategy` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `queued_at` is never read [INFO] [stdout] --> crates/vistrit-coordinator/src/scheduler.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct QueuedTask { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 37 | pub task: Task, [INFO] [stdout] 38 | pub queued_at: std::time::Instant, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueuedTask` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/vistrit-coordinator/src/scheduler.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | TaskQueued(TaskId), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SchedulerEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 56 - TaskQueued(TaskId), [INFO] [stdout] 56 + TaskQueued(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `task_id` and `worker_id` are never read [INFO] [stdout] --> crates/vistrit-coordinator/src/scheduler.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | TaskAssigned { task_id: TaskId, worker_id: NodeId }, [INFO] [stdout] | ------------ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SchedulerEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `task_id` and `success` are never read [INFO] [stdout] --> crates/vistrit-coordinator/src/scheduler.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | TaskCompleted { task_id: TaskId, success: bool }, [INFO] [stdout] | ------------- ^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SchedulerEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `task_id` and `attempt` are never read [INFO] [stdout] --> crates/vistrit-coordinator/src/scheduler.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | TaskRetry { task_id: TaskId, attempt: u32 }, [INFO] [stdout] | --------- ^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SchedulerEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `subscribe` is never used [INFO] [stdout] --> crates/vistrit-coordinator/src/scheduler.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 97 | impl Scheduler { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn subscribe(&self) -> broadcast::Receiver { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_name` and `task_timeout` are never read [INFO] [stdout] --> crates/vistrit-coordinator/src/server.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct CoordinatorConfig { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 33 | pub bind_address: SocketAddr, [INFO] [stdout] 34 | pub node_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 35 | pub heartbeat_timeout: Duration, [INFO] [stdout] 36 | pub task_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subscriber` [INFO] [stdout] --> crates/vistrit-worker/src/main.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let subscriber = FmtSubscriber::builder() [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bind_addr` is never read [INFO] [stdout] --> crates/vistrit-worker/src/client.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct WorkerClient { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 24 | coordinator_addr: SocketAddr, [INFO] [stdout] 25 | bind_addr: SocketAddr, [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 `RunningTask` is never constructed [INFO] [stdout] --> crates/vistrit-worker/src/executor.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct RunningTask { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_concurrent` is never read [INFO] [stdout] --> crates/vistrit-worker/src/executor.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct TaskExecutor { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 21 | node_id: NodeId, [INFO] [stdout] 22 | max_concurrent: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `running_count` is never used [INFO] [stdout] --> crates/vistrit-worker/src/executor.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl TaskExecutor { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn running_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_id`, `interval`, and `running_tasks` are never read [INFO] [stdout] --> crates/vistrit-worker/src/heartbeat.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct HeartbeatService { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 12 | node_id: NodeId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | interval: Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | running_tasks: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `node_id`, `interval`, and `running_tasks` are never used [INFO] [stdout] --> crates/vistrit-worker/src/heartbeat.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl HeartbeatService { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn node_id(&self) -> NodeId { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn interval(&self) -> Duration { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn running_tasks(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subscriber` [INFO] [stdout] --> crates/vistrit-client/src/main.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let subscriber = FmtSubscriber::builder() [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subscriber` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subscriber` [INFO] [stdout] --> crates/vistrit-coordinator/src/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let subscriber = FmtSubscriber::builder() [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subscriber` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/vistrit-coordinator/src/registry.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | WorkerJoined(NodeId), [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RegistryEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 - WorkerJoined(NodeId), [INFO] [stdout] 18 + WorkerJoined(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/vistrit-coordinator/src/registry.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | WorkerLeft(NodeId), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RegistryEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 - WorkerLeft(NodeId), [INFO] [stdout] 20 + WorkerLeft(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_id`, `old_state`, and `new_state` are never read [INFO] [stdout] --> crates/vistrit-coordinator/src/registry.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | WorkerStateChanged { node_id: NodeId, old_state: NodeState, new_state: NodeState }, [INFO] [stdout] | ------------------ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RegistryEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/vistrit-coordinator/src/registry.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | WorkerTimeout(NodeId), [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RegistryEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 - WorkerTimeout(NodeId), [INFO] [stdout] 24 + WorkerTimeout(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connected_at` is never read [INFO] [stdout] --> crates/vistrit-coordinator/src/registry.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct WorkerEntry { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | pub connected_at: Instant, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkerEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `connection_duration` is never used [INFO] [stdout] --> crates/vistrit-coordinator/src/registry.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl WorkerEntry { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn connection_duration(&self) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `subscribe` and `remove_offline_workers` are never used [INFO] [stdout] --> crates/vistrit-coordinator/src/registry.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl WorkerRegistry { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn subscribe(&self) -> broadcast::Receiver { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn remove_offline_workers(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RoundRobin` and `Random` are never constructed [INFO] [stdout] --> crates/vistrit-coordinator/src/scheduler.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum SchedulingStrategy { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 20 | /// Round-robin assignment [INFO] [stdout] 21 | RoundRobin, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | Random, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SchedulingStrategy` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `queued_at` is never read [INFO] [stdout] --> crates/vistrit-coordinator/src/scheduler.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct QueuedTask { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 37 | pub task: Task, [INFO] [stdout] 38 | pub queued_at: std::time::Instant, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueuedTask` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/vistrit-coordinator/src/scheduler.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | TaskQueued(TaskId), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SchedulerEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 56 - TaskQueued(TaskId), [INFO] [stdout] 56 + TaskQueued(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `task_id` and `worker_id` are never read [INFO] [stdout] --> crates/vistrit-coordinator/src/scheduler.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | TaskAssigned { task_id: TaskId, worker_id: NodeId }, [INFO] [stdout] | ------------ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SchedulerEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `task_id` and `success` are never read [INFO] [stdout] --> crates/vistrit-coordinator/src/scheduler.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | TaskCompleted { task_id: TaskId, success: bool }, [INFO] [stdout] | ------------- ^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SchedulerEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `task_id` and `attempt` are never read [INFO] [stdout] --> crates/vistrit-coordinator/src/scheduler.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | TaskRetry { task_id: TaskId, attempt: u32 }, [INFO] [stdout] | --------- ^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SchedulerEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `subscribe` is never used [INFO] [stdout] --> crates/vistrit-coordinator/src/scheduler.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 97 | impl Scheduler { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn subscribe(&self) -> broadcast::Receiver { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_name` and `task_timeout` are never read [INFO] [stdout] --> crates/vistrit-coordinator/src/server.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct CoordinatorConfig { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 33 | pub bind_address: SocketAddr, [INFO] [stdout] 34 | pub node_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 35 | pub heartbeat_timeout: Duration, [INFO] [stdout] 36 | pub task_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.32s [INFO] running `Command { std: "docker" "inspect" "9ee65f13d48513c794d6632908619e20cb6bf95ebf948d5385486eb892350796", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ee65f13d48513c794d6632908619e20cb6bf95ebf948d5385486eb892350796", kill_on_drop: false }` [INFO] [stdout] 9ee65f13d48513c794d6632908619e20cb6bf95ebf948d5385486eb892350796