[INFO] cloning repository https://github.com/zwisler-a/ada-executor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zwisler-a/ada-executor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzwisler-a%2Fada-executor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzwisler-a%2Fada-executor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c935e20e01636c4effbd6ca68a812dada32bc9aa [INFO] checking zwisler-a/ada-executor against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzwisler-a%2Fada-executor" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zwisler-a/ada-executor on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zwisler-a/ada-executor [INFO] finished tweaking git repo https://github.com/zwisler-a/ada-executor [INFO] tweaked toml for git repo https://github.com/zwisler-a/ada-executor written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/zwisler-a/ada-executor 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2f8b130fa6d5718b5d92ee20bce7ceaf7859449e7223297eb00e6a1e7a3a140 [INFO] running `Command { std: "docker" "start" "-a" "a2f8b130fa6d5718b5d92ee20bce7ceaf7859449e7223297eb00e6a1e7a3a140", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2f8b130fa6d5718b5d92ee20bce7ceaf7859449e7223297eb00e6a1e7a3a140", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2f8b130fa6d5718b5d92ee20bce7ceaf7859449e7223297eb00e6a1e7a3a140", kill_on_drop: false }` [INFO] [stdout] a2f8b130fa6d5718b5d92ee20bce7ceaf7859449e7223297eb00e6a1e7a3a140 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a969ac7568605c44c65ce4ce417d0de90d3d6198e04571d8a445f92f71fddc41 [INFO] running `Command { std: "docker" "start" "-a" "a969ac7568605c44c65ce4ce417d0de90d3d6198e04571d8a445f92f71fddc41", kill_on_drop: false }` [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking simple_logger v5.0.0 [INFO] [stderr] Checking ada-executor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Display` and `Formatter` [INFO] [stdout] --> src/protocol/protocol_parser.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> src/protocol/tcp_server.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::protocol::commands::AdaCommandType` [INFO] [stdout] --> src/network/data_container.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::protocol::commands::AdaCommandType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::DerefMut` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::DerefMut` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display` and `Formatter` [INFO] [stdout] --> src/protocol/protocol_parser.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display` and `Formatter` [INFO] [stdout] --> src/protocol/protocol_parser.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display` and `Formatter` [INFO] [stdout] --> src/protocol/protocol_parser.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> src/protocol/tcp_server.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> src/protocol/tcp_server.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> src/protocol/tcp_server.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::protocol::commands::AdaCommandType` [INFO] [stdout] --> src/network/data_container.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::protocol::commands::AdaCommandType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::protocol::commands::AdaCommandType` [INFO] [stdout] --> src/network/data_container.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::protocol::commands::AdaCommandType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::protocol::commands::AdaCommandType` [INFO] [stdout] --> src/network/data_container.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::protocol::commands::AdaCommandType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/protocol/protocol_parser.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/protocol/protocol_parser.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 83 | Data::Integer(_) => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 92 | Data::Float(_) => { [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 101 | Data::Text(_) => { [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 115 | Data::Boolean(_) => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 124 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/protocol/protocol_parser.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/protocol/protocol_parser.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 83 | Data::Integer(_) => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 92 | Data::Float(_) => { [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 101 | Data::Text(_) => { [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 115 | Data::Boolean(_) => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 124 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/protocol/protocol_parser.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/protocol/protocol_parser.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 83 | Data::Integer(_) => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 92 | Data::Float(_) => { [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 101 | Data::Text(_) => { [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 115 | Data::Boolean(_) => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 124 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/protocol/protocol_parser.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/protocol/protocol_parser.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 83 | Data::Integer(_) => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 92 | Data::Float(_) => { [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 101 | Data::Text(_) => { [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 115 | Data::Boolean(_) => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 124 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocol/commands.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let mut size = COMMON_HEADER_SIZE; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocol/commands.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let mut size = COMMON_HEADER_SIZE; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/network/data_container.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | _ => log::warn!("Unknown data type encountered, skipping value"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/network/data_container.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 66 | Data::Integer(_) => size += 4, [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 67 | Data::Float(_) => size += 8, [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 68 | Data::Text(value) => size += value.len() + 1, [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 69 | Data::Boolean(_) => size += 1, [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 70 | _ => log::warn!("Unknown data type encountered, skipping value"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocol/commands.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let mut size = COMMON_HEADER_SIZE; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocol/commands.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let mut size = COMMON_HEADER_SIZE; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/network/data_container.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | _ => log::warn!("Unknown data type encountered, skipping value"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/network/data_container.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 93 | Data::Integer(i) => buffer.extend_from_slice(&i.to_be_bytes()), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 94 | Data::Float(f) => buffer.extend_from_slice(&f.to_be_bytes()), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 95 | Data::Text(text) => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 100 | Data::Boolean(b) => buffer.push(if *b { 1 } else { 0 }), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 101 | _ => log::warn!("Unknown data type encountered, skipping value"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_header` is never used [INFO] [stdout] --> src/protocol/protocol_parser.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn parse_header(buffer: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_data_container` is never used [INFO] [stdout] --> src/protocol/protocol_parser.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn parse_data_container(content_buffer: Vec, data_offset: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TcpServer` is never constructed [INFO] [stdout] --> src/protocol/tcp_server.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TcpServer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `handle_client`, and `run` are never used [INFO] [stdout] --> src/protocol/tcp_server.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl TcpServer { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(address: &str, queue: Arc>>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn handle_client(queue: Arc>>, mut stream: TcpStream) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn run(&self) -> std::io::Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content_length` is never read [INFO] [stdout] --> src/protocol/commands.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct AdaCommandHeader { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 34 | pub version: u8, [INFO] [stdout] 35 | pub content_length: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AdaCommandHeader` 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: associated function `new` is never used [INFO] [stdout] --> src/protocol/commands.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl AdaCommand { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 49 | pub fn new(command_type: AdaCommandType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/network/node.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/network/data_container.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | _ => log::warn!("Unknown data type encountered, skipping value"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/network/data_container.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 66 | Data::Integer(_) => size += 4, [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 67 | Data::Float(_) => size += 8, [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 68 | Data::Text(value) => size += value.len() + 1, [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 69 | Data::Boolean(_) => size += 1, [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 70 | _ => log::warn!("Unknown data type encountered, skipping value"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_dependent`, `execute`, and `propagate` are never used [INFO] [stdout] --> src/network/node.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Node { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(id: Uuid, execute_fn: F) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub(crate) fn add_dependent(&mut self, dependent: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn execute(&self, arguments: Container) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn propagate(&self, arguments: Container) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_item` is never used [INFO] [stdout] --> src/network/data_container.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 109 | impl Container { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn get_item(&self, key: &str) -> Option<&Data> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Graph` is never constructed [INFO] [stdout] --> src/network/graph.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Graph { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_node` are never used [INFO] [stdout] --> src/network/graph.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl Graph { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 10 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn add_node(&mut self, node: Node) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/network/data_container.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | _ => log::warn!("Unknown data type encountered, skipping value"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/network/data_container.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 66 | Data::Integer(_) => size += 4, [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 67 | Data::Float(_) => size += 8, [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 68 | Data::Text(value) => size += value.len() + 1, [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 69 | Data::Boolean(_) => size += 1, [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 70 | _ => log::warn!("Unknown data type encountered, skipping value"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/network/data_container.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | _ => log::warn!("Unknown data type encountered, skipping value"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/network/data_container.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 66 | Data::Integer(_) => size += 4, [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 67 | Data::Float(_) => size += 8, [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 68 | Data::Text(value) => size += value.len() + 1, [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 69 | Data::Boolean(_) => size += 1, [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 70 | _ => log::warn!("Unknown data type encountered, skipping value"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/network/data_container.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | _ => log::warn!("Unknown data type encountered, skipping value"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/network/data_container.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 93 | Data::Integer(i) => buffer.extend_from_slice(&i.to_be_bytes()), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 94 | Data::Float(f) => buffer.extend_from_slice(&f.to_be_bytes()), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 95 | Data::Text(text) => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 100 | Data::Boolean(b) => buffer.push(if *b { 1 } else { 0 }), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 101 | _ => log::warn!("Unknown data type encountered, skipping value"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/network/data_container.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | _ => log::warn!("Unknown data type encountered, skipping value"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/network/data_container.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 93 | Data::Integer(i) => buffer.extend_from_slice(&i.to_be_bytes()), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 94 | Data::Float(f) => buffer.extend_from_slice(&f.to_be_bytes()), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 95 | Data::Text(text) => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 100 | Data::Boolean(b) => buffer.push(if *b { 1 } else { 0 }), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 101 | _ => log::warn!("Unknown data type encountered, skipping value"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/network/data_container.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | _ => log::warn!("Unknown data type encountered, skipping value"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/network/data_container.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 93 | Data::Integer(i) => buffer.extend_from_slice(&i.to_be_bytes()), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 94 | Data::Float(f) => buffer.extend_from_slice(&f.to_be_bytes()), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 95 | Data::Text(text) => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 100 | Data::Boolean(b) => buffer.push(if *b { 1 } else { 0 }), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 101 | _ => log::warn!("Unknown data type encountered, skipping value"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `command_type`, `network`, and `node` are never read [INFO] [stdout] --> src/protocol/commands.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct AdaCommandHeader { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 34 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 35 | pub content_length: u32, [INFO] [stdout] 36 | pub command_type: AdaCommandType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 37 | pub network: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | pub node: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AdaCommandHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `to_bytes`, and `get_total_bytes` are never used [INFO] [stdout] --> src/protocol/commands.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl AdaCommand { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 49 | pub fn new(command_type: AdaCommandType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | fn get_total_bytes(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `command_type`, `network`, and `node` are never read [INFO] [stdout] --> src/protocol/commands.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct AdaCommandHeader { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 34 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 35 | pub content_length: u32, [INFO] [stdout] 36 | pub command_type: AdaCommandType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 37 | pub network: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | pub node: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AdaCommandHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/network/node.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `to_bytes`, and `get_total_bytes` are never used [INFO] [stdout] --> src/protocol/commands.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl AdaCommand { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 49 | pub fn new(command_type: AdaCommandType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | fn get_total_bytes(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_dependent`, `execute`, and `propagate` are never used [INFO] [stdout] --> src/network/node.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Node { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(id: Uuid, execute_fn: F) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub(crate) fn add_dependent(&mut self, dependent: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn execute(&self, arguments: Container) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn propagate(&self, arguments: Container) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/network/node.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_data_type` is never used [INFO] [stdout] --> src/network/data_container.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 15 | impl Data { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 16 | pub(crate) fn get_data_type(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_dependent`, `execute`, and `propagate` are never used [INFO] [stdout] --> src/network/node.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Node { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(id: Uuid, execute_fn: F) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub(crate) fn add_dependent(&mut self, dependent: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn execute(&self, arguments: Container) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn propagate(&self, arguments: Container) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_data_size` and `get_bytes` are never used [INFO] [stdout] --> src/network/data_container.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl Container { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 58 | pub fn get_data_size(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub(crate) fn get_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_item` is never used [INFO] [stdout] --> src/network/data_container.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 109 | impl Container { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn get_item(&self, key: &str) -> Option<&Data> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_data_type` is never used [INFO] [stdout] --> src/network/data_container.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 15 | impl Data { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 16 | pub(crate) fn get_data_type(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Graph` is never constructed [INFO] [stdout] --> src/network/graph.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Graph { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_node` are never used [INFO] [stdout] --> src/network/graph.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl Graph { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 10 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn add_node(&mut self, node: Node) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_data_size` and `get_bytes` are never used [INFO] [stdout] --> src/network/data_container.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl Container { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 58 | pub fn get_data_size(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub(crate) fn get_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_item` is never used [INFO] [stdout] --> src/network/data_container.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 109 | impl Container { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn get_item(&self, key: &str) -> Option<&Data> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Graph` is never constructed [INFO] [stdout] --> src/network/graph.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Graph { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_node` are never used [INFO] [stdout] --> src/network/graph.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl Graph { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 10 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn add_node(&mut self, node: Node) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_header` is never used [INFO] [stdout] --> src/protocol/protocol_parser.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn parse_header(buffer: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_data_container` is never used [INFO] [stdout] --> src/protocol/protocol_parser.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn parse_data_container(content_buffer: Vec, data_offset: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TcpServer` is never constructed [INFO] [stdout] --> src/protocol/tcp_server.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TcpServer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `handle_client`, and `run` are never used [INFO] [stdout] --> src/protocol/tcp_server.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl TcpServer { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(address: &str, queue: Arc>>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn handle_client(queue: Arc>>, mut stream: TcpStream) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn run(&self) -> std::io::Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content_length` is never read [INFO] [stdout] --> src/protocol/commands.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct AdaCommandHeader { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 34 | pub version: u8, [INFO] [stdout] 35 | pub content_length: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AdaCommandHeader` 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: associated function `new` is never used [INFO] [stdout] --> src/protocol/commands.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl AdaCommand { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 49 | pub fn new(command_type: AdaCommandType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/network/node.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_dependent`, `execute`, and `propagate` are never used [INFO] [stdout] --> src/network/node.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Node { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(id: Uuid, execute_fn: F) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub(crate) fn add_dependent(&mut self, dependent: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn execute(&self, arguments: Container) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn propagate(&self, arguments: Container) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_item` is never used [INFO] [stdout] --> src/network/data_container.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 109 | impl Container { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn get_item(&self, key: &str) -> Option<&Data> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Graph` is never constructed [INFO] [stdout] --> src/network/graph.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Graph { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_node` are never used [INFO] [stdout] --> src/network/graph.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl Graph { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 10 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn add_node(&mut self, node: Node) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.55s [INFO] running `Command { std: "docker" "inspect" "a969ac7568605c44c65ce4ce417d0de90d3d6198e04571d8a445f92f71fddc41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a969ac7568605c44c65ce4ce417d0de90d3d6198e04571d8a445f92f71fddc41", kill_on_drop: false }` [INFO] [stdout] a969ac7568605c44c65ce4ce417d0de90d3d6198e04571d8a445f92f71fddc41