[INFO] cloning repository https://github.com/Programatic/AmongUsChat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Programatic/AmongUsChat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProgramatic%2FAmongUsChat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProgramatic%2FAmongUsChat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d7112b1692a5f47820b84f54ce7a093623292be4 [INFO] checking Programatic/AmongUsChat against master#4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 for pr-81174 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProgramatic%2FAmongUsChat" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Programatic/AmongUsChat on toolchain 4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Programatic/AmongUsChat [INFO] finished tweaking git repo https://github.com/Programatic/AmongUsChat [INFO] tweaked toml for git repo https://github.com/Programatic/AmongUsChat written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/Programatic/AmongUsChat already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b57b46a2b2036184cd057631831aa9f01fbddca93b17cc485567c9c8b4e2f420 [INFO] running `Command { std: "docker" "start" "-a" "b57b46a2b2036184cd057631831aa9f01fbddca93b17cc485567c9c8b4e2f420", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b57b46a2b2036184cd057631831aa9f01fbddca93b17cc485567c9c8b4e2f420", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b57b46a2b2036184cd057631831aa9f01fbddca93b17cc485567c9c8b4e2f420", kill_on_drop: false }` [INFO] [stdout] b57b46a2b2036184cd057631831aa9f01fbddca93b17cc485567c9c8b4e2f420 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba8bcb71ec0653883966f2dc38b2cdfe54f1e627fbcd159ddca3fd662b7a3efb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ba8bcb71ec0653883966f2dc38b2cdfe54f1e627fbcd159ddca3fd662b7a3efb", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Checking strength_reduce v0.2.3 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking smallvec v1.5.1 [INFO] [stderr] Compiling anyhow v1.0.37 [INFO] [stderr] Compiling cpal v0.13.1 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling injectclient v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling opusic-sys v0.3.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-queue v0.3.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking crossbeam v0.8.0 [INFO] [stderr] Checking getrandom v0.2.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking transpose v0.2.0 [INFO] [stderr] Checking rand_core v0.6.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rustfft v4.1.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.0 [INFO] [stderr] Checking realfft v0.3.0 [INFO] [stderr] Checking rubato v0.5.2 [INFO] [stderr] Checking magnum-opus v0.3.2 [INFO] [stderr] Checking alsa v0.4.3 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking serde v1.0.118 [INFO] [stderr] Checking serde_json v1.0.61 [INFO] [stdout] warning: unused import: `DefaultStreamConfigError` [INFO] [stdout] --> src/test.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | Data, DefaultStreamConfigError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Decoder`, `Encoder` [INFO] [stdout] --> src/test.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use magnum_opus::{Decoder, Encoder}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> src/test.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::VecDeque`, `fs::File` [INFO] [stdout] --> src/test.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | use std::{collections::VecDeque, fs::File}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `io::BufWriter`, `time::Instant` [INFO] [stdout] --> src/test.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | use std::{io::BufWriter, time::Instant}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpal::traits::StreamTrait` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cpal::traits::StreamTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpal::traits::StreamTrait` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cpal::traits::StreamTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 73 | panic!(); [INFO] [stdout] | --------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 76 | audio_driver.new_stream(id, nsock)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 115 | panic!(); [INFO] [stdout] | --------- any code following this expression is unreachable [INFO] [stdout] 116 | [INFO] [stdout] 117 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 73 | panic!(); [INFO] [stdout] | --------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 76 | audio_driver.new_stream(id, nsock)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 115 | panic!(); [INFO] [stdout] | --------- any code following this expression is unreachable [INFO] [stdout] 116 | [INFO] [stdout] 117 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DefaultStreamConfigError` [INFO] [stdout] --> src/test.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | Data, DefaultStreamConfigError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Decoder`, `Encoder` [INFO] [stdout] --> src/test.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use magnum_opus::{Decoder, Encoder}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> src/test.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::VecDeque`, `fs::File` [INFO] [stdout] --> src/test.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | use std::{collections::VecDeque, fs::File}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `io::BufWriter`, `time::Instant` [INFO] [stdout] --> src/test.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | use std::{io::BufWriter, time::Instant}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/test.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 116 | panic!(); [INFO] [stdout] | --------- any code following this expression is unreachable [INFO] [stdout] 117 | [INFO] [stdout] 118 | / let mut encoder = magnum_opus::Encoder::new( [INFO] [stdout] 119 | | 48000, [INFO] [stdout] 120 | | magnum_opus::Channels::Stereo, [INFO] [stdout] 121 | | magnum_opus::Application::Voip, [INFO] [stdout] 122 | | ) [INFO] [stdout] 123 | | .unwrap(); [INFO] [stdout] | |______________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_client` [INFO] [stdout] --> src/main.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | let new_client = Client { id: id }; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `audio_driver` [INFO] [stdout] --> src/main.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 76 | audio_driver.new_stream(id, nsock)?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clients` [INFO] [stdout] --> src/main.rs:78:43 [INFO] [stdout] | [INFO] [stdout] 78 | let mut clients = clients.lock(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/audio/output.rs:181:10 [INFO] [stdout] | [INFO] [stdout] 181 | for (id, buff) in audio_data.iter_mut() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `div` [INFO] [stdout] --> src/audio/output.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | let mut div = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_div` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/audio/output.rs:81:34 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn new_stream(&mut self, id: u8, udp_socket: UdpSocket) -> anyhow::Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/test.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let id = buff[0]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let mut audio_driver = audio::output::new(); [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: unused variable: `new_client` [INFO] [stdout] --> src/main.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | let new_client = Client { id: id }; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `audio_driver` [INFO] [stdout] --> src/main.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 76 | audio_driver.new_stream(id, nsock)?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clients` [INFO] [stdout] --> src/main.rs:78:43 [INFO] [stdout] | [INFO] [stdout] 78 | let mut clients = clients.lock(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/audio/output.rs:181:10 [INFO] [stdout] | [INFO] [stdout] 181 | for (id, buff) in audio_data.iter_mut() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `div` [INFO] [stdout] --> src/audio/output.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | let mut div = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_div` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/audio/output.rs:81:34 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn new_stream(&mut self, id: u8, udp_socket: UdpSocket) -> anyhow::Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/audio/output.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | let mut div = 0; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `active_threads` [INFO] [stdout] --> src/audio/output.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | active_threads: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `resampler_buffs` [INFO] [stdout] --> src/audio/output.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | resampler_buffs: Arc>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `device` [INFO] [stdout] --> src/audio/output.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | device: Device, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let mut audio_driver = audio::output::new(); [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: field is never read: `decoders` [INFO] [stdout] --> src/audio/output.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | decoders: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start` [INFO] [stdout] --> src/audio/output.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn start(&self) -> anyhow::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_data` [INFO] [stdout] --> src/audio/output.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn write_data(output: &mut [f32], audio_data: &Arc>>>) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/test.rs:178:21 [INFO] [stdout] | [INFO] [stdout] 178 | let mut slice_u8 = encoder.encode_vec_float(chunk, 1500).unwrap(); [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: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SendData` [INFO] [stdout] --> src/test.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | struct SendData<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/test.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 116 | panic!(); [INFO] [stdout] | --------- any code following this expression is unreachable [INFO] [stdout] 117 | [INFO] [stdout] 118 | / let mut encoder = magnum_opus::Encoder::new( [INFO] [stdout] 119 | | 48000, [INFO] [stdout] 120 | | magnum_opus::Channels::Stereo, [INFO] [stdout] 121 | | magnum_opus::Application::Voip, [INFO] [stdout] 122 | | ) [INFO] [stdout] 123 | | .unwrap(); [INFO] [stdout] | |______________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/audio/output.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | let mut div = 0; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `active_threads` [INFO] [stdout] --> src/audio/output.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | active_threads: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `resampler_buffs` [INFO] [stdout] --> src/audio/output.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | resampler_buffs: Arc>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `device` [INFO] [stdout] --> src/audio/output.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | device: Device, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `decoders` [INFO] [stdout] --> src/audio/output.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | decoders: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start` [INFO] [stdout] --> src/audio/output.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn start(&self) -> anyhow::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_data` [INFO] [stdout] --> src/audio/output.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn write_data(output: &mut [f32], audio_data: &Arc>>>) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/test.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let id = buff[0]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/test.rs:178:21 [INFO] [stdout] | [INFO] [stdout] 178 | let mut slice_u8 = encoder.encode_vec_float(chunk, 1500).unwrap(); [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: struct is never constructed: `SendData` [INFO] [stdout] --> src/test.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | struct SendData<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/test.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | socket.read(&mut buff); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/test.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | socket.read(&mut buff); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 38s [INFO] running `Command { std: "docker" "inspect" "ba8bcb71ec0653883966f2dc38b2cdfe54f1e627fbcd159ddca3fd662b7a3efb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba8bcb71ec0653883966f2dc38b2cdfe54f1e627fbcd159ddca3fd662b7a3efb", kill_on_drop: false }` [INFO] [stdout] ba8bcb71ec0653883966f2dc38b2cdfe54f1e627fbcd159ddca3fd662b7a3efb