[INFO] cloning repository https://github.com/MaderNoob/voice_chat_v1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MaderNoob/voice_chat_v1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaderNoob%2Fvoice_chat_v1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaderNoob%2Fvoice_chat_v1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85207a4bf22854af9672eed3050408b2646703b5 [INFO] testing MaderNoob/voice_chat_v1 against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaderNoob%2Fvoice_chat_v1" "/workspace/builds/worker-76/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-76/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MaderNoob/voice_chat_v1 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MaderNoob/voice_chat_v1 [INFO] finished tweaking git repo https://github.com/MaderNoob/voice_chat_v1 [INFO] tweaked toml for git repo https://github.com/MaderNoob/voice_chat_v1 written to /workspace/builds/worker-76/source/Cargo.toml [INFO] crate git repo https://github.com/MaderNoob/voice_chat_v1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded combine v4.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 259b153a4c9b33ec246f384bb7b955f5a5cbf77a44294361fd97ad674f8faca8 [INFO] running `Command { std: "docker" "start" "-a" "259b153a4c9b33ec246f384bb7b955f5a5cbf77a44294361fd97ad674f8faca8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "259b153a4c9b33ec246f384bb7b955f5a5cbf77a44294361fd97ad674f8faca8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "259b153a4c9b33ec246f384bb7b955f5a5cbf77a44294361fd97ad674f8faca8", kill_on_drop: false }` [INFO] [stdout] 259b153a4c9b33ec246f384bb7b955f5a5cbf77a44294361fd97ad674f8faca8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3b5e24b56ff7917ff6813ee265b83198b0d70cd92eaa15b07fdebd0f71a2fef [INFO] running `Command { std: "docker" "start" "-a" "e3b5e24b56ff7917ff6813ee265b83198b0d70cd92eaa15b07fdebd0f71a2fef", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling cpal v0.13.1 [INFO] [stderr] Compiling text_io v0.1.8 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling alsa v0.4.3 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Compiling num_enum v0.5.1 [INFO] [stderr] Compiling voice_chat_v1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `SampleFormat`, `host_from_id` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | host_from_id, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 3 | traits::{DeviceTrait, HostTrait, StreamTrait}, [INFO] [stdout] 4 | SampleFormat, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::UdpSocket` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::net::UdpSocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `net::SocketAddr` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | net::SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/main.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | move |data: &[f32], info| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/main.rs:60:37 [INFO] [stdout] | [INFO] [stdout] 60 | move |data: &mut [f32], info| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/main.rs:100:33 [INFO] [stdout] | [INFO] [stdout] 100 | move |data: &[f32], info| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/main.rs:124:37 [INFO] [stdout] | [INFO] [stdout] 124 | move |data: &mut [f32], info| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `warning` [INFO] [stdout] --> src/control.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | fn handle_warning(warning: ControlWarningKind) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_warning` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ep` [INFO] [stdout] --> src/control.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | let (amount, ep) = sock [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_code` [INFO] [stdout] --> src/control.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let request_code = match InitialRequestCode::try_from(buffer[0]) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main_channels` [INFO] [stdout] --> src/main.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn main_channels() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main_mutex` [INFO] [stdout] --> src/main.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn main_mutex() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CONTROL_PORT` [INFO] [stdout] --> src/control.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub const CONTROL_PORT: u16 = 4741; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ControlWarningKind` [INFO] [stdout] --> src/control.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum ControlWarningKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BindControlSocket` [INFO] [stdout] --> src/control.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | BindControlSocket, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ControlErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/control.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Receive` [INFO] [stdout] --> src/control.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Receive, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ControlErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/control.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SetNonBlocking` [INFO] [stdout] --> src/control.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | SetNonBlocking, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ControlErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/control.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kind` [INFO] [stdout] --> src/control.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | kind: ControlErrorKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ControlError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/control.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> src/control.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | inner: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ControlError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/control.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle_warning` [INFO] [stdout] --> src/control.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn handle_warning(warning: ControlWarningKind) {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `control_thread` [INFO] [stdout] --> src/control.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn control_thread() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `start_control_thread` [INFO] [stdout] --> src/control.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn start_control_thread() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `wait_for_conversation` [INFO] [stdout] --> src/control.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn wait_for_conversation(sock: UdpSocket) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | sender.send(Vec::from(data)); [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: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 52s [INFO] running `Command { std: "docker" "inspect" "e3b5e24b56ff7917ff6813ee265b83198b0d70cd92eaa15b07fdebd0f71a2fef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3b5e24b56ff7917ff6813ee265b83198b0d70cd92eaa15b07fdebd0f71a2fef", kill_on_drop: false }` [INFO] [stdout] e3b5e24b56ff7917ff6813ee265b83198b0d70cd92eaa15b07fdebd0f71a2fef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e8cee8bf0307e957d3d8ca1bb72c72a3f10db73e34ebd1069ef9e924710a8f7 [INFO] running `Command { std: "docker" "start" "-a" "4e8cee8bf0307e957d3d8ca1bb72c72a3f10db73e34ebd1069ef9e924710a8f7", kill_on_drop: false }` [INFO] [stderr] Compiling voice_chat_v1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `SampleFormat`, `host_from_id` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | host_from_id, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 3 | traits::{DeviceTrait, HostTrait, StreamTrait}, [INFO] [stdout] 4 | SampleFormat, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::UdpSocket` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::net::UdpSocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `net::SocketAddr` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | net::SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/main.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | move |data: &[f32], info| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/main.rs:60:37 [INFO] [stdout] | [INFO] [stdout] 60 | move |data: &mut [f32], info| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/main.rs:100:33 [INFO] [stdout] | [INFO] [stdout] 100 | move |data: &[f32], info| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/main.rs:124:37 [INFO] [stdout] | [INFO] [stdout] 124 | move |data: &mut [f32], info| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `warning` [INFO] [stdout] --> src/control.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | fn handle_warning(warning: ControlWarningKind) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_warning` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ep` [INFO] [stdout] --> src/control.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | let (amount, ep) = sock [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_code` [INFO] [stdout] --> src/control.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let request_code = match InitialRequestCode::try_from(buffer[0]) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main_channels` [INFO] [stdout] --> src/main.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn main_channels() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main_mutex` [INFO] [stdout] --> src/main.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn main_mutex() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CONTROL_PORT` [INFO] [stdout] --> src/control.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub const CONTROL_PORT: u16 = 4741; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ControlWarningKind` [INFO] [stdout] --> src/control.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum ControlWarningKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BindControlSocket` [INFO] [stdout] --> src/control.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | BindControlSocket, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ControlErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/control.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Receive` [INFO] [stdout] --> src/control.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Receive, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ControlErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/control.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SetNonBlocking` [INFO] [stdout] --> src/control.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | SetNonBlocking, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ControlErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/control.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kind` [INFO] [stdout] --> src/control.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | kind: ControlErrorKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ControlError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/control.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> src/control.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | inner: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ControlError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/control.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle_warning` [INFO] [stdout] --> src/control.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn handle_warning(warning: ControlWarningKind) {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `control_thread` [INFO] [stdout] --> src/control.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn control_thread() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `start_control_thread` [INFO] [stdout] --> src/control.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn start_control_thread() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `wait_for_conversation` [INFO] [stdout] --> src/control.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn wait_for_conversation(sock: UdpSocket) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | sender.send(Vec::from(data)); [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: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.60s [INFO] running `Command { std: "docker" "inspect" "4e8cee8bf0307e957d3d8ca1bb72c72a3f10db73e34ebd1069ef9e924710a8f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e8cee8bf0307e957d3d8ca1bb72c72a3f10db73e34ebd1069ef9e924710a8f7", kill_on_drop: false }` [INFO] [stdout] 4e8cee8bf0307e957d3d8ca1bb72c72a3f10db73e34ebd1069ef9e924710a8f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a735cf88b1d2e6783cf97fae68d62a7fd2b2e0e579c9462914f87c7f508f9a90 [INFO] running `Command { std: "docker" "start" "-a" "a735cf88b1d2e6783cf97fae68d62a7fd2b2e0e579c9462914f87c7f508f9a90", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `SampleFormat`, `host_from_id` [INFO] [stderr] --> src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | host_from_id, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 3 | traits::{DeviceTrait, HostTrait, StreamTrait}, [INFO] [stderr] 4 | SampleFormat, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::net::UdpSocket` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::net::UdpSocket; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `net::SocketAddr` [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | net::SocketAddr, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `info` [INFO] [stderr] --> src/main.rs:42:33 [INFO] [stderr] | [INFO] [stderr] 42 | move |data: &[f32], info| { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `info` [INFO] [stderr] --> src/main.rs:60:37 [INFO] [stderr] | [INFO] [stderr] 60 | move |data: &mut [f32], info| { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `info` [INFO] [stderr] --> src/main.rs:100:33 [INFO] [stderr] | [INFO] [stderr] 100 | move |data: &[f32], info| { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `info` [INFO] [stderr] --> src/main.rs:124:37 [INFO] [stderr] | [INFO] [stderr] 124 | move |data: &mut [f32], info| { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `warning` [INFO] [stderr] --> src/control.rs:54:19 [INFO] [stderr] | [INFO] [stderr] 54 | fn handle_warning(warning: ControlWarningKind) {} [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_warning` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ep` [INFO] [stderr] --> src/control.rs:67:22 [INFO] [stderr] | [INFO] [stderr] 67 | let (amount, ep) = sock [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_ep` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `request_code` [INFO] [stderr] --> src/control.rs:73:13 [INFO] [stderr] | [INFO] [stderr] 73 | let request_code = match InitialRequestCode::try_from(buffer[0]) { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_code` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `main_channels` [INFO] [stderr] --> src/main.rs:26:4 [INFO] [stderr] | [INFO] [stderr] 26 | fn main_channels() { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `main_mutex` [INFO] [stderr] --> src/main.rs:81:4 [INFO] [stderr] | [INFO] [stderr] 81 | fn main_mutex() { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `CONTROL_PORT` [INFO] [stderr] --> src/control.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | pub const CONTROL_PORT: u16 = 4741; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `ControlWarningKind` [INFO] [stderr] --> src/control.rs:7:6 [INFO] [stderr] | [INFO] [stderr] 7 | enum ControlWarningKind { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `BindControlSocket` [INFO] [stderr] --> src/control.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | BindControlSocket, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ControlErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/control.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Receive` [INFO] [stderr] --> src/control.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | Receive, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ControlErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/control.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `SetNonBlocking` [INFO] [stderr] --> src/control.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | SetNonBlocking, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ControlErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/control.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `kind` [INFO] [stderr] --> src/control.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | kind: ControlErrorKind, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ControlError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/control.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `inner` [INFO] [stderr] --> src/control.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | inner: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ControlError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/control.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `handle_warning` [INFO] [stderr] --> src/control.rs:54:4 [INFO] [stderr] | [INFO] [stderr] 54 | fn handle_warning(warning: ControlWarningKind) {} [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `control_thread` [INFO] [stderr] --> src/control.rs:55:8 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn control_thread() { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `start_control_thread` [INFO] [stderr] --> src/control.rs:58:4 [INFO] [stderr] | [INFO] [stderr] 58 | fn start_control_thread() -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `wait_for_conversation` [INFO] [stderr] --> src/control.rs:64:4 [INFO] [stderr] | [INFO] [stderr] 64 | fn wait_for_conversation(sock: UdpSocket) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/main.rs:44:17 [INFO] [stderr] | [INFO] [stderr] 44 | sender.send(Vec::from(data)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `voice_chat_v1` (bin "voice_chat_v1" test) generated 24 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/voice_chat_v1-42a25a37c43c3ee2) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a735cf88b1d2e6783cf97fae68d62a7fd2b2e0e579c9462914f87c7f508f9a90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a735cf88b1d2e6783cf97fae68d62a7fd2b2e0e579c9462914f87c7f508f9a90", kill_on_drop: false }` [INFO] [stdout] a735cf88b1d2e6783cf97fae68d62a7fd2b2e0e579c9462914f87c7f508f9a90