[INFO] cloning repository https://github.com/xephyris/cpvc
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xephyris/cpvc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxephyris%2Fcpvc", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxephyris%2Fcpvc'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 960583a82f3116f965d308269f50e4fc9627f4a6
[INFO] checking xephyris/cpvc against 895980e0290783bb09b1ccf1b11f14eb09b10430 for pr-160186
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxephyris%2Fcpvc" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/xephyris/cpvc
[INFO] finished tweaking git repo https://github.com/xephyris/cpvc
[INFO] tweaked toml for git repo https://github.com/xephyris/cpvc written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/xephyris/cpvc on toolchain 895980e0290783bb09b1ccf1b11f14eb09b10430
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/xephyris/cpvc 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" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] [stderr] warning: `cpvc` (manifest) generated 1 warning
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 223e74f4f799495e4f929d37fb1dc9ea6df04204667c2f5647329eab7a79af3a
[INFO] running `Command { std: "docker" "start" "223e74f4f799495e4f929d37fb1dc9ea6df04204667c2f5647329eab7a79af3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "223e74f4f799495e4f929d37fb1dc9ea6df04204667c2f5647329eab7a79af3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "223e74f4f799495e4f929d37fb1dc9ea6df04204667c2f5647329eab7a79af3a" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "223e74f4f799495e4f929d37fb1dc9ea6df04204667c2f5647329eab7a79af3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "223e74f4f799495e4f929d37fb1dc9ea6df04204667c2f5647329eab7a79af3a" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] [stderr] warning: `cpvc` (manifest) generated 1 warning
[INFO] [stderr]    Compiling alsa-sys v0.4.0
[INFO] [stderr]    Compiling libpulse-sys v1.23.0
[INFO] [stderr]     Checking bitflags v2.11.0
[INFO] [stderr]    Compiling cpal v0.18.1
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]     Checking alsa v0.11.0
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]     Checking libpulse-binding v2.30.1
[INFO] [stderr]     Checking cpvc v0.6.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Access`, `Format`, `HwParams`, `PCM`, and `State`
[INFO] [stdout]    --> src/legacy/mod.rs:167:25
[INFO] [stdout]     |
[INFO] [stdout] 167 |         use alsa::pcm::{PCM, HwParams, Access, Format, State};
[INFO] [stdout]     |                         ^^^  ^^^^^^^^  ^^^^^^  ^^^^^^  ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]    --> src/legacy/mod.rs:168:13
[INFO] [stdout]     |
[INFO] [stdout] 168 |         use std::collections::HashSet;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/device/mod.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::error::{self, Error};
[INFO] [stdout]   |                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: private item shadows public glob re-export
[INFO] [stdout]  --> src/cpal/mod.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{device::Device, error::Error, get_default_output_device, pulseaudio};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: the name `Device` in the type namespace is supposed to be publicly re-exported here
[INFO] [stdout]  --> src/cpal/mod.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub use cpal::*;
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] note: but the private item here shadows it
[INFO] [stdout]  --> src/cpal/mod.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{device::Device, error::Error, get_default_output_device, pulseaudio};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^
[INFO] [stdout]   = note: `#[warn(hidden_glob_reexports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: private item shadows public glob re-export
[INFO] [stdout]  --> src/cpal/mod.rs:3:29
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{device::Device, error::Error, get_default_output_device, pulseaudio};
[INFO] [stdout]   |                             ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: the name `Error` in the type namespace is supposed to be publicly re-exported here
[INFO] [stdout]  --> src/cpal/mod.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub use cpal::*;
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] note: but the private item here shadows it
[INFO] [stdout]  --> src/cpal/mod.rs:3:29
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{device::Device, error::Error, get_default_output_device, pulseaudio};
[INFO] [stdout]   |                             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug_eprintln`
[INFO] [stdout]    --> src/coreaudio/device.rs:243:17
[INFO] [stdout]     |
[INFO] [stdout] 243 |     use crate::{debug_eprintln, device::DeviceTrait, error::Error};
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `coreaudio::*`
[INFO] [stdout]    --> src/coreaudio/mod.rs:424:16
[INFO] [stdout]     |
[INFO] [stdout] 424 | pub(crate) use coreaudio::*; 
[INFO] [stdout]     |                ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/lib.rs:105:5
[INFO] [stdout]     |
[INFO] [stdout] 103 |         return pulseaudio::get_sound_devices();
[INFO] [stdout]     |         -------------------------------------- any code following this expression is unreachable
[INFO] [stdout] 104 |     }
[INFO] [stdout] 105 |     Err(Error::PlatformUnsupported)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/lib.rs:124:5
[INFO] [stdout]     |
[INFO] [stdout] 122 |         return pulseaudio::get_vol();
[INFO] [stdout]     |         ---------------------------- any code following this expression is unreachable
[INFO] [stdout] 123 |     }
[INFO] [stdout] 124 |     Err(PlatformUnsupported)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/lib.rs:151:5
[INFO] [stdout]     |
[INFO] [stdout] 149 |         return Ok(true);
[INFO] [stdout]     |         --------------- any code following this expression is unreachable
[INFO] [stdout] 150 |     }
[INFO] [stdout] 151 |     Err(PlatformUnsupported)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/lib.rs:180:5
[INFO] [stdout]     |
[INFO] [stdout] 178 |         return Ok(true);
[INFO] [stdout]     |         --------------- any code following this expression is unreachable
[INFO] [stdout] 179 |     }
[INFO] [stdout] 180 |     Err(PlatformUnsupported)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/lib.rs:201:5
[INFO] [stdout]     |
[INFO] [stdout] 199 |         return pulseaudio::get_mute();
[INFO] [stdout]     |         ----------------------------- any code following this expression is unreachable
[INFO] [stdout] 200 |     }
[INFO] [stdout] 201 |     Err(PlatformUnsupported)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/lib.rs:223:5
[INFO] [stdout]     |
[INFO] [stdout] 221 |         return Device::from_uid(pulseaudio::get_default_output_dev()?.get_uid()?)
[INFO] [stdout]     |         ------------------------------------------------------------------------- any code following this expression is unreachable
[INFO] [stdout] 222 |     }
[INFO] [stdout] 223 |     Err(Error::PlatformUnsupported)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `VolumeControl`
[INFO] [stdout]   --> src/pulseaudio/mod.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 |     use crate::{VolumeControl, debug_eprintln, debug_println, device::DeviceTrait, error::Error, pulseaudio::device::PulseAudioDevice};
[INFO] [stdout]    |                 ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/legacy/mod.rs:565:9
[INFO] [stdout]     |
[INFO] [stdout] 565 |     let mut device_name = String::new();
[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: variable does not need to be mutable
[INFO] [stdout]  --> src/command/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut vol = 0;
[INFO] [stdout]   |         ----^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/command/mod.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let mut success = true;
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out`
[INFO] [stdout]   --> src/command/mod.rs:75:19
[INFO] [stdout]    |
[INFO] [stdout] 75 |         if let Ok(out) = output {}
[INFO] [stdout]    |                   ^^^ help: if this is intentional, prefix it with an underscore: `_out`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/command/mod.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let mut devices:Vec<String> = Vec::new();
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/device/mod.rs:19:18
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn from_name(name: String) -> Result<Self, Error> where Self: Sized {
[INFO] [stdout]    |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uid`
[INFO] [stdout]   --> src/device/mod.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn from_uid(uid: String) -> Result<Self, Error> where Self: Sized {
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_uid`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/device/mod.rs:39:23
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn set_vol(&self, value: f32) -> Result<(), Error> {
[INFO] [stdout]    |                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/device/mod.rs:47:24
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn set_mute(&self, state: bool) -> Result<(), Error> {
[INFO] [stdout]    |                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hw_id`
[INFO] [stdout]    --> src/coreaudio/device.rs:250:27
[INFO] [stdout]     |
[INFO] [stdout] 250 |         pub fn from_hw_id(hw_id: u32) -> Result<Self, Error> {
[INFO] [stdout]     |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_hw_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `device_id`
[INFO] [stdout]    --> src/coreaudio/mod.rs:388:30
[INFO] [stdout]     |
[INFO] [stdout] 388 |     pub fn check_device_type(device_id: u32) -> DeviceType {
[INFO] [stdout]     |                              ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_device_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `device_id`
[INFO] [stdout]    --> src/coreaudio/mod.rs:392:28
[INFO] [stdout]     |
[INFO] [stdout] 392 |     pub fn get_device_name(device_id: u32) -> Result<String, Error> {
[INFO] [stdout]     |                            ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_device_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vol`
[INFO] [stdout]    --> src/coreaudio/mod.rs:409:20
[INFO] [stdout]     |
[INFO] [stdout] 409 |     pub fn set_vol(vol: f32) -> Result<(), Error> {
[INFO] [stdout]     |                    ^^^ help: if this is intentional, prefix it with an underscore: `_vol`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mute`
[INFO] [stdout]    --> src/coreaudio/mod.rs:417:21
[INFO] [stdout]     |
[INFO] [stdout] 417 |     pub fn set_mute(mute: bool) -> Result<(), Error> {
[INFO] [stdout]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_mute`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `wrapper`
[INFO] [stdout]    --> src/wasapi/device.rs:221:32
[INFO] [stdout]     |
[INFO] [stdout] 221 |         pub fn from_imm_device(wrapper: IMMWrapper) -> Result<Self, Error> {
[INFO] [stdout]     |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wrapper`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `wrapper`
[INFO] [stdout]    --> src/wasapi/mod.rs:131:31
[INFO] [stdout]     |
[INFO] [stdout] 131 |     pub fn get_imm_device_uid(wrapper: &IMMWrapper) -> Result<String, Error> {
[INFO] [stdout]     |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wrapper`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/wasapi/mod.rs:144:20
[INFO] [stdout]     |
[INFO] [stdout] 144 |     pub fn set_vol(value: f32) -> Result<(), Error> {
[INFO] [stdout]     |                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]    --> src/wasapi/mod.rs:152:21
[INFO] [stdout]     |
[INFO] [stdout] 152 |     pub fn set_mute(state: bool) -> Result<(), Error> {
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `DeviceType` is more private than the item `check_device_type`
[INFO] [stdout]    --> src/coreaudio/mod.rs:388:5
[INFO] [stdout]     |
[INFO] [stdout] 388 |     pub fn check_device_type(device_id: u32) -> DeviceType {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `check_device_type` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `DeviceType` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/lib.rs:88:1
[INFO] [stdout]     |
[INFO] [stdout]  88 | enum DeviceType {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `DeviceType` is never used
[INFO] [stdout]   --> src/legacy/mod.rs:45:6
[INFO] [stdout]    |
[INFO] [stdout] 45 | enum DeviceType {
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Error` is never used
[INFO] [stdout]   --> src/legacy/mod.rs:52:6
[INFO] [stdout]    |
[INFO] [stdout] 52 | enum Error {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `device_id` is never read
[INFO] [stdout]    --> src/coreaudio/device.rs:246:9
[INFO] [stdout]     |
[INFO] [stdout] 245 |     pub struct CoreAudioDevice {
[INFO] [stdout]     |                --------------- field in this struct
[INFO] [stdout] 246 |         device_id: u32,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]    --> src/legacy/mod.rs:177:18
[INFO] [stdout]     |
[INFO] [stdout] 177 |         for i in dev.next() {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to iterate over `dev` remove the call to `next`
[INFO] [stdout]     |
[INFO] [stdout] 177 -         for i in dev.next() {
[INFO] [stdout] 177 +         for i in dev.by_ref() {
[INFO] [stdout]     |
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]     |
[INFO] [stdout] 177 -         for i in dev.next() {
[INFO] [stdout] 177 +         if let Some(i) = dev.next() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Access`, `Format`, `HwParams`, `PCM`, and `State`
[INFO] [stdout]    --> src/legacy/mod.rs:167:25
[INFO] [stdout]     |
[INFO] [stdout] 167 |         use alsa::pcm::{PCM, HwParams, Access, Format, State};
[INFO] [stdout]     |                         ^^^  ^^^^^^^^  ^^^^^^  ^^^^^^  ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]    --> src/legacy/mod.rs:168:13
[INFO] [stdout]     |
[INFO] [stdout] 168 |         use std::collections::HashSet;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/device/mod.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::error::{self, Error};
[INFO] [stdout]   |                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: private item shadows public glob re-export
[INFO] [stdout]  --> src/cpal/mod.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{device::Device, error::Error, get_default_output_device, pulseaudio};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: the name `Device` in the type namespace is supposed to be publicly re-exported here
[INFO] [stdout]  --> src/cpal/mod.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub use cpal::*;
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] note: but the private item here shadows it
[INFO] [stdout]  --> src/cpal/mod.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{device::Device, error::Error, get_default_output_device, pulseaudio};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^
[INFO] [stdout]   = note: `#[warn(hidden_glob_reexports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: private item shadows public glob re-export
[INFO] [stdout]  --> src/cpal/mod.rs:3:29
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{device::Device, error::Error, get_default_output_device, pulseaudio};
[INFO] [stdout]   |                             ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: the name `Error` in the type namespace is supposed to be publicly re-exported here
[INFO] [stdout]  --> src/cpal/mod.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub use cpal::*;
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] note: but the private item here shadows it
[INFO] [stdout]  --> src/cpal/mod.rs:3:29
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{device::Device, error::Error, get_default_output_device, pulseaudio};
[INFO] [stdout]   |                             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug_eprintln`
[INFO] [stdout]    --> src/coreaudio/device.rs:243:17
[INFO] [stdout]     |
[INFO] [stdout] 243 |     use crate::{debug_eprintln, device::DeviceTrait, error::Error};
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `coreaudio::*`
[INFO] [stdout]    --> src/coreaudio/mod.rs:424:16
[INFO] [stdout]     |
[INFO] [stdout] 424 | pub(crate) use coreaudio::*; 
[INFO] [stdout]     |                ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/lib.rs:105:5
[INFO] [stdout]     |
[INFO] [stdout] 103 |         return pulseaudio::get_sound_devices();
[INFO] [stdout]     |         -------------------------------------- any code following this expression is unreachable
[INFO] [stdout] 104 |     }
[INFO] [stdout] 105 |     Err(Error::PlatformUnsupported)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/lib.rs:124:5
[INFO] [stdout]     |
[INFO] [stdout] 122 |         return pulseaudio::get_vol();
[INFO] [stdout]     |         ---------------------------- any code following this expression is unreachable
[INFO] [stdout] 123 |     }
[INFO] [stdout] 124 |     Err(PlatformUnsupported)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/lib.rs:151:5
[INFO] [stdout]     |
[INFO] [stdout] 149 |         return Ok(true);
[INFO] [stdout]     |         --------------- any code following this expression is unreachable
[INFO] [stdout] 150 |     }
[INFO] [stdout] 151 |     Err(PlatformUnsupported)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/lib.rs:180:5
[INFO] [stdout]     |
[INFO] [stdout] 178 |         return Ok(true);
[INFO] [stdout]     |         --------------- any code following this expression is unreachable
[INFO] [stdout] 179 |     }
[INFO] [stdout] 180 |     Err(PlatformUnsupported)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/lib.rs:201:5
[INFO] [stdout]     |
[INFO] [stdout] 199 |         return pulseaudio::get_mute();
[INFO] [stdout]     |         ----------------------------- any code following this expression is unreachable
[INFO] [stdout] 200 |     }
[INFO] [stdout] 201 |     Err(PlatformUnsupported)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/lib.rs:223:5
[INFO] [stdout]     |
[INFO] [stdout] 221 |         return Device::from_uid(pulseaudio::get_default_output_dev()?.get_uid()?)
[INFO] [stdout]     |         ------------------------------------------------------------------------- any code following this expression is unreachable
[INFO] [stdout] 222 |     }
[INFO] [stdout] 223 |     Err(Error::PlatformUnsupported)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `VolumeControl`
[INFO] [stdout]   --> src/pulseaudio/mod.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 |     use crate::{VolumeControl, debug_eprintln, debug_println, device::DeviceTrait, error::Error, pulseaudio::device::PulseAudioDevice};
[INFO] [stdout]    |                 ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/legacy/mod.rs:565:9
[INFO] [stdout]     |
[INFO] [stdout] 565 |     let mut device_name = String::new();
[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: variable does not need to be mutable
[INFO] [stdout]  --> src/command/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut vol = 0;
[INFO] [stdout]   |         ----^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/command/mod.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let mut success = true;
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out`
[INFO] [stdout]   --> src/command/mod.rs:75:19
[INFO] [stdout]    |
[INFO] [stdout] 75 |         if let Ok(out) = output {}
[INFO] [stdout]    |                   ^^^ help: if this is intentional, prefix it with an underscore: `_out`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/command/mod.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let mut devices:Vec<String> = Vec::new();
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/command/mod.rs:185:67
[INFO] [stdout]     |
[INFO] [stdout] 185 |                 println!("{}", format!("DEVICE STR {}, NAME: {}", unsafe {device_id.to_string()}, name));
[INFO] [stdout]     |                                                                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/device/mod.rs:19:18
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn from_name(name: String) -> Result<Self, Error> where Self: Sized {
[INFO] [stdout]    |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uid`
[INFO] [stdout]   --> src/device/mod.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn from_uid(uid: String) -> Result<Self, Error> where Self: Sized {
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_uid`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/device/mod.rs:39:23
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn set_vol(&self, value: f32) -> Result<(), Error> {
[INFO] [stdout]    |                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/device/mod.rs:47:24
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn set_mute(&self, state: bool) -> Result<(), Error> {
[INFO] [stdout]    |                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hw_id`
[INFO] [stdout]    --> src/coreaudio/device.rs:250:27
[INFO] [stdout]     |
[INFO] [stdout] 250 |         pub fn from_hw_id(hw_id: u32) -> Result<Self, Error> {
[INFO] [stdout]     |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_hw_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `device_id`
[INFO] [stdout]    --> src/coreaudio/mod.rs:388:30
[INFO] [stdout]     |
[INFO] [stdout] 388 |     pub fn check_device_type(device_id: u32) -> DeviceType {
[INFO] [stdout]     |                              ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_device_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `device_id`
[INFO] [stdout]    --> src/coreaudio/mod.rs:392:28
[INFO] [stdout]     |
[INFO] [stdout] 392 |     pub fn get_device_name(device_id: u32) -> Result<String, Error> {
[INFO] [stdout]     |                            ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_device_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vol`
[INFO] [stdout]    --> src/coreaudio/mod.rs:409:20
[INFO] [stdout]     |
[INFO] [stdout] 409 |     pub fn set_vol(vol: f32) -> Result<(), Error> {
[INFO] [stdout]     |                    ^^^ help: if this is intentional, prefix it with an underscore: `_vol`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mute`
[INFO] [stdout]    --> src/coreaudio/mod.rs:417:21
[INFO] [stdout]     |
[INFO] [stdout] 417 |     pub fn set_mute(mute: bool) -> Result<(), Error> {
[INFO] [stdout]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_mute`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `wrapper`
[INFO] [stdout]    --> src/wasapi/device.rs:221:32
[INFO] [stdout]     |
[INFO] [stdout] 221 |         pub fn from_imm_device(wrapper: IMMWrapper) -> Result<Self, Error> {
[INFO] [stdout]     |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wrapper`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `wrapper`
[INFO] [stdout]    --> src/wasapi/mod.rs:131:31
[INFO] [stdout]     |
[INFO] [stdout] 131 |     pub fn get_imm_device_uid(wrapper: &IMMWrapper) -> Result<String, Error> {
[INFO] [stdout]     |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wrapper`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/wasapi/mod.rs:144:20
[INFO] [stdout]     |
[INFO] [stdout] 144 |     pub fn set_vol(value: f32) -> Result<(), Error> {
[INFO] [stdout]     |                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]    --> src/wasapi/mod.rs:152:21
[INFO] [stdout]     |
[INFO] [stdout] 152 |     pub fn set_mute(state: bool) -> Result<(), Error> {
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `DeviceType` is more private than the item `check_device_type`
[INFO] [stdout]    --> src/coreaudio/mod.rs:388:5
[INFO] [stdout]     |
[INFO] [stdout] 388 |     pub fn check_device_type(device_id: u32) -> DeviceType {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `check_device_type` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `DeviceType` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/lib.rs:88:1
[INFO] [stdout]     |
[INFO] [stdout]  88 | enum DeviceType {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `DeviceType` is never used
[INFO] [stdout]   --> src/legacy/mod.rs:45:6
[INFO] [stdout]    |
[INFO] [stdout] 45 | enum DeviceType {
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Error` is never used
[INFO] [stdout]   --> src/legacy/mod.rs:52:6
[INFO] [stdout]    |
[INFO] [stdout] 52 | enum Error {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `device_id` is never read
[INFO] [stdout]    --> src/coreaudio/device.rs:246:9
[INFO] [stdout]     |
[INFO] [stdout] 245 |     pub struct CoreAudioDevice {
[INFO] [stdout]     |                --------------- field in this struct
[INFO] [stdout] 246 |         device_id: u32,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]    --> src/legacy/mod.rs:177:18
[INFO] [stdout]     |
[INFO] [stdout] 177 |         for i in dev.next() {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to iterate over `dev` remove the call to `next`
[INFO] [stdout]     |
[INFO] [stdout] 177 -         for i in dev.next() {
[INFO] [stdout] 177 +         for i in dev.by_ref() {
[INFO] [stdout]     |
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]     |
[INFO] [stdout] 177 -         for i in dev.next() {
[INFO] [stdout] 177 +         if let Some(i) = dev.next() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/command/mod.rs:161:13
[INFO] [stdout]     |
[INFO] [stdout] 161 |             dbg!(device.get_name());
[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] 161 |             let _ = dbg!(device.get_name());
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/command/mod.rs:162:13
[INFO] [stdout]     |
[INFO] [stdout] 162 |             dbg!(device.set_mute(false));
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 162 |             let _ = dbg!(device.set_mute(false));
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/command/mod.rs:163:13
[INFO] [stdout]     |
[INFO] [stdout] 163 |             dbg!(device.get_vol());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 163 |             let _ = dbg!(device.get_vol());
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/command/mod.rs:164:13
[INFO] [stdout]     |
[INFO] [stdout] 164 |             dbg!(device.set_vol(0.1));
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 164 |             let _ = dbg!(device.set_vol(0.1));
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/command/mod.rs:220:9
[INFO] [stdout]     |
[INFO] [stdout] 220 |         dbg!(pulseaudio::convert_alsa_id("2".to_string(), "0".to_string()));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 220 |         let _ = dbg!(pulseaudio::convert_alsa_id("2".to_string(), "0".to_string()));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/device/mod.rs:127:9
[INFO] [stdout]     |
[INFO] [stdout] 127 |         dbg!(device.get_mute());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 127 |         let _ = dbg!(device.get_mute());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/cpal/mod.rs:136:9
[INFO] [stdout]     |
[INFO] [stdout] 136 |         dbg!(raw_device.get_name());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 136 |         let _ = dbg!(raw_device.get_name());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/cpal/mod.rs:137:9
[INFO] [stdout]     |
[INFO] [stdout] 137 |         dbg!(raw_device.set_mute(false));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 137 |         let _ = dbg!(raw_device.set_mute(false));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/cpal/mod.rs:138:9
[INFO] [stdout]     |
[INFO] [stdout] 138 |         dbg!(raw_device.get_vol());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 138 |         let _ = dbg!(raw_device.get_vol());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/cpal/mod.rs:139:9
[INFO] [stdout]     |
[INFO] [stdout] 139 |         dbg!(raw_device.set_vol(0.1));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let _ = dbg!(raw_device.set_vol(0.1));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/cpal/mod.rs:153:9
[INFO] [stdout]     |
[INFO] [stdout] 153 |         dbg!(vol_control.set_vol(0.10));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let _ = dbg!(vol_control.set_vol(0.10));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/cpal/mod.rs:154:9
[INFO] [stdout]     |
[INFO] [stdout] 154 |         dbg!(vol_control.get_vol());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 154 |         let _ = dbg!(vol_control.get_vol());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/cpal/mod.rs:168:9
[INFO] [stdout]     |
[INFO] [stdout] 168 |         dbg!(vol_control.set_mute(true));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 168 |         let _ = dbg!(vol_control.set_mute(true));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/cpal/mod.rs:169:9
[INFO] [stdout]     |
[INFO] [stdout] 169 |         dbg!(vol_control.is_mute());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 169 |         let _ = dbg!(vol_control.is_mute());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.42s
[INFO] running `Command { std: "docker" "inspect" "223e74f4f799495e4f929d37fb1dc9ea6df04204667c2f5647329eab7a79af3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "223e74f4f799495e4f929d37fb1dc9ea6df04204667c2f5647329eab7a79af3a", kill_on_drop: false }`
[INFO] [stdout] 223e74f4f799495e4f929d37fb1dc9ea6df04204667c2f5647329eab7a79af3a
