[INFO] cloning repository https://github.com/JensPenny/barrage [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JensPenny/barrage" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJensPenny%2Fbarrage", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJensPenny%2Fbarrage'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7a65423c57660d20dcda0ed5f004b4dd109d252f [INFO] building JensPenny/barrage against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJensPenny%2Fbarrage" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JensPenny/barrage [INFO] finished tweaking git repo https://github.com/JensPenny/barrage [INFO] tweaked toml for git repo https://github.com/JensPenny/barrage written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JensPenny/barrage 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/JensPenny/barrage 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 float-cmp v0.10.0 [INFO] [stderr] Downloaded unit-prefix v0.5.1 [INFO] [stderr] Downloaded hl7-mllp-codec v0.4.0 [INFO] [stderr] Downloaded confy v1.0.0 [INFO] [stderr] Downloaded directories v6.0.0 [INFO] [stderr] Downloaded ctrlc v3.4.7 [INFO] [stderr] Downloaded console v0.16.0 [INFO] [stderr] Downloaded indicatif v0.18.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 6d1536302c3b375080c8109dd2856187ec828a7e54eaa904759f571cdde4e5b3 [INFO] running `Command { std: "docker" "start" "-a" "6d1536302c3b375080c8109dd2856187ec828a7e54eaa904759f571cdde4e5b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d1536302c3b375080c8109dd2856187ec828a7e54eaa904759f571cdde4e5b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d1536302c3b375080c8109dd2856187ec828a7e54eaa904759f571cdde4e5b3", kill_on_drop: false }` [INFO] [stdout] 6d1536302c3b375080c8109dd2856187ec828a7e54eaa904759f571cdde4e5b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] fee956814a537887e3aea67464b567dfd4bc6fd2e3778a9bf8b5739ecaf19f8b [INFO] running `Command { std: "docker" "start" "-a" "fee956814a537887e3aea67464b567dfd4bc6fd2e3778a9bf8b5739ecaf19f8b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling unit-prefix v0.5.1 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling console v0.16.0 [INFO] [stderr] Compiling directories v6.0.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling indicatif v0.18.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling ctrlc v3.4.7 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling clap v4.5.45 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling confy v1.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling hl7-mllp-codec v0.4.0 [INFO] [stderr] Compiling barrage v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | writeln!(writer, "{}", line); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 4 | let _ = writeln!(writer, "{}", line); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Thread` [INFO] [stdout] --> src/main.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | thread::{self, Thread}, [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: `PrintStyledContent`, `queue`, and `style` [INFO] [stdout] --> src/main.rs:12:50 [INFO] [stdout] | [INFO] [stdout] 12 | ExecutableCommand, QueueableCommand, cursor, queue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | style::{self, PrintStyledContent, Stylize, style}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `task` [INFO] [stdout] --> src/main.rs:16:48 [INFO] [stdout] | [INFO] [stdout] 16 | use futures::{SinkExt, StreamExt, lock::Mutex, task}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration as TokioDuration` [INFO] [stdout] --> src/main.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | use tokio::time::{timeout, Duration as TokioDuration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:386:27 [INFO] [stdout] | [INFO] [stdout] 386 | let _ = show_stats(); ///Initially show the stats [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 387 | // Create a separate worker to handle ui updates [INFO] [stdout] 388 | let display_stats = Arc::clone(&stats); [INFO] [stdout] | --------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/main.rs:347:18 [INFO] [stdout] | [INFO] [stdout] 347 | for (idx, to_send_msg) in msg_clone.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | for i in 0..amount_workers { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:458:21 [INFO] [stdout] | [INFO] [stdout] 458 | let mut resp_ok; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/main.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | fn send_as_mllp(cfg: Config, msg: String) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/main.rs:178:30 [INFO] [stdout] | [INFO] [stdout] 178 | fn send_as_mllp(cfg: Config, msg: String) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | let mut y: i32 = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | let mut y: i32 = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ConnectionType` is more private than the item `ConfigCommands::Set::connection_type` [INFO] [stdout] --> src/main.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | connection_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `ConfigCommands::Set::connection_type` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ConnectionType` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | enum ConnectionType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_as_mllp` is never used [INFO] [stdout] --> src/main.rs:178:4 [INFO] [stdout] | [INFO] [stdout] 178 | fn send_as_mllp(cfg: Config, msg: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.20s [INFO] running `Command { std: "docker" "inspect" "fee956814a537887e3aea67464b567dfd4bc6fd2e3778a9bf8b5739ecaf19f8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fee956814a537887e3aea67464b567dfd4bc6fd2e3778a9bf8b5739ecaf19f8b", kill_on_drop: false }` [INFO] [stdout] fee956814a537887e3aea67464b567dfd4bc6fd2e3778a9bf8b5739ecaf19f8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 2c585e8c308aa9023e99dcb9160ed7c64814d5cfe8dd1271179dc8efa84c21d2 [INFO] running `Command { std: "docker" "start" "-a" "2c585e8c308aa9023e99dcb9160ed7c64814d5cfe8dd1271179dc8efa84c21d2", kill_on_drop: false }` [INFO] [stderr] Compiling barrage v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | writeln!(writer, "{}", line); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 4 | let _ = writeln!(writer, "{}", line); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Thread` [INFO] [stdout] --> src/main.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | thread::{self, Thread}, [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: `PrintStyledContent`, `queue`, and `style` [INFO] [stdout] --> src/main.rs:12:50 [INFO] [stdout] | [INFO] [stdout] 12 | ExecutableCommand, QueueableCommand, cursor, queue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | style::{self, PrintStyledContent, Stylize, style}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `task` [INFO] [stdout] --> src/main.rs:16:48 [INFO] [stdout] | [INFO] [stdout] 16 | use futures::{SinkExt, StreamExt, lock::Mutex, task}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration as TokioDuration` [INFO] [stdout] --> src/main.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | use tokio::time::{timeout, Duration as TokioDuration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:386:27 [INFO] [stdout] | [INFO] [stdout] 386 | let _ = show_stats(); ///Initially show the stats [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 387 | // Create a separate worker to handle ui updates [INFO] [stdout] 388 | let display_stats = Arc::clone(&stats); [INFO] [stdout] | --------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/main.rs:347:18 [INFO] [stdout] | [INFO] [stdout] 347 | for (idx, to_send_msg) in msg_clone.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | for i in 0..amount_workers { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:458:21 [INFO] [stdout] | [INFO] [stdout] 458 | let mut resp_ok; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/main.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | fn send_as_mllp(cfg: Config, msg: String) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/main.rs:178:30 [INFO] [stdout] | [INFO] [stdout] 178 | fn send_as_mllp(cfg: Config, msg: String) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | let mut y: i32 = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | let mut y: i32 = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ConnectionType` is more private than the item `ConfigCommands::Set::connection_type` [INFO] [stdout] --> src/main.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | connection_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `ConfigCommands::Set::connection_type` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ConnectionType` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | enum ConnectionType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_as_mllp` is never used [INFO] [stdout] --> src/main.rs:178:4 [INFO] [stdout] | [INFO] [stdout] 178 | fn send_as_mllp(cfg: Config, msg: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | writeln!(writer, "{}", line); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 4 | let _ = writeln!(writer, "{}", line); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Thread` [INFO] [stdout] --> src/main.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | thread::{self, Thread}, [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: `PrintStyledContent`, `queue`, and `style` [INFO] [stdout] --> src/main.rs:12:50 [INFO] [stdout] | [INFO] [stdout] 12 | ExecutableCommand, QueueableCommand, cursor, queue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | style::{self, PrintStyledContent, Stylize, style}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `task` [INFO] [stdout] --> src/main.rs:16:48 [INFO] [stdout] | [INFO] [stdout] 16 | use futures::{SinkExt, StreamExt, lock::Mutex, task}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration as TokioDuration` [INFO] [stdout] --> src/main.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | use tokio::time::{timeout, Duration as TokioDuration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:386:27 [INFO] [stdout] | [INFO] [stdout] 386 | let _ = show_stats(); ///Initially show the stats [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 387 | // Create a separate worker to handle ui updates [INFO] [stdout] 388 | let display_stats = Arc::clone(&stats); [INFO] [stdout] | --------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/main.rs:347:18 [INFO] [stdout] | [INFO] [stdout] 347 | for (idx, to_send_msg) in msg_clone.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | for i in 0..amount_workers { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:458:21 [INFO] [stdout] | [INFO] [stdout] 458 | let mut resp_ok; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/main.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | fn send_as_mllp(cfg: Config, msg: String) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/main.rs:178:30 [INFO] [stdout] | [INFO] [stdout] 178 | fn send_as_mllp(cfg: Config, msg: String) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | let mut y: i32 = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | let mut y: i32 = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ConnectionType` is more private than the item `ConfigCommands::Set::connection_type` [INFO] [stdout] --> src/main.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | connection_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `ConfigCommands::Set::connection_type` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ConnectionType` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | enum ConnectionType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_as_mllp` is never used [INFO] [stdout] --> src/main.rs:178:4 [INFO] [stdout] | [INFO] [stdout] 178 | fn send_as_mllp(cfg: Config, msg: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.08s [INFO] running `Command { std: "docker" "inspect" "2c585e8c308aa9023e99dcb9160ed7c64814d5cfe8dd1271179dc8efa84c21d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c585e8c308aa9023e99dcb9160ed7c64814d5cfe8dd1271179dc8efa84c21d2", kill_on_drop: false }` [INFO] [stdout] 2c585e8c308aa9023e99dcb9160ed7c64814d5cfe8dd1271179dc8efa84c21d2