[INFO] cloning repository https://github.com/gabriel-nadalin/obs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gabriel-nadalin/obs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabriel-nadalin%2Fobs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabriel-nadalin%2Fobs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fa5880e4df70019fe067cc6bd855ca0adebddeee
[INFO] checking gabriel-nadalin/obs/fa5880e4df70019fe067cc6bd855ca0adebddeee against try#264a7c4a1c917c83d13895a31231f9d93c7b67e1 for pr-132289
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabriel-nadalin%2Fobs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/gabriel-nadalin/obs on toolchain 264a7c4a1c917c83d13895a31231f9d93c7b67e1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/gabriel-nadalin/obs
[INFO] finished tweaking git repo https://github.com/gabriel-nadalin/obs
[INFO] tweaked toml for git repo https://github.com/gabriel-nadalin/obs written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/gabriel-nadalin/obs 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" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "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
[ERROR] error running command: no output for 300 seconds
[INFO] checking gabriel-nadalin/obs/fa5880e4df70019fe067cc6bd855ca0adebddeee against try#264a7c4a1c917c83d13895a31231f9d93c7b67e1 for pr-132289
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabriel-nadalin%2Fobs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/gabriel-nadalin/obs on toolchain 264a7c4a1c917c83d13895a31231f9d93c7b67e1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/gabriel-nadalin/obs
[INFO] finished tweaking git repo https://github.com/gabriel-nadalin/obs
[INFO] tweaked toml for git repo https://github.com/gabriel-nadalin/obs written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/gabriel-nadalin/obs 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" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "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 termion v4.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3a758792e9233f451ffcd1d344521b1575072f913f59a1e5817e02a201ebea3b
[INFO] running `Command { std: "docker" "start" "-a" "3a758792e9233f451ffcd1d344521b1575072f913f59a1e5817e02a201ebea3b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3a758792e9233f451ffcd1d344521b1575072f913f59a1e5817e02a201ebea3b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3a758792e9233f451ffcd1d344521b1575072f913f59a1e5817e02a201ebea3b", kill_on_drop: false }`
[INFO] [stdout] 3a758792e9233f451ffcd1d344521b1575072f913f59a1e5817e02a201ebea3b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5a962e78ad7adf57200bbc8ecfd1828c1ab7f146f5ad3e62a10371cf2943b21f
[INFO] running `Command { std: "docker" "start" "-a" "5a962e78ad7adf57200bbc8ecfd1828c1ab7f146f5ad3e62a10371cf2943b21f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.154
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling autocfg v1.2.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]     Checking either v1.11.0
[INFO] [stderr]     Checking numtoa v0.1.0
[INFO] [stderr]     Checking riff v1.0.1
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking unicode-width v0.1.12
[INFO] [stderr]     Checking bitflags v2.5.0
[INFO] [stderr]     Checking wav v1.0.0
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling alsa-sys v0.3.1
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking crossbeam-deque v0.8.5
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking termion v4.0.0
[INFO] [stderr]     Checking console v0.15.8
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking alsa v0.9.0
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking midly v0.5.3
[INFO] [stderr]     Checking obs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: couldn't read `src/io/../../musicas/ice_cap.mid`: No such file or directory (os error 2)
[INFO] [stdout]    --> src/io/midi_reader.rs:275:26
[INFO] [stdout]     |
[INFO] [stdout] 275 |     let smf = Smf::parse(include_bytes!("../../musicas/ice_cap.mid")).unwrap();
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/io/../../musicas/ice_cap.mid`: No such file or directory (os error 2)
[INFO] [stdout]    --> src/io/midi_reader.rs:275:26
[INFO] [stdout]     |
[INFO] [stdout] 275 |     let smf = Smf::parse(include_bytes!("../../musicas/ice_cap.mid")).unwrap();
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/synth/channel.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::BufReader`
[INFO] [stdout]  --> src/synth/channel.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::BufReader;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alsa::pcm::IO`
[INFO] [stdout]  --> src/synth/channel.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use alsa::pcm::IO;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num_traits::pow`
[INFO] [stdout]  --> src/synth/channel.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use num_traits::pow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `read_message` and `write_buffer`
[INFO] [stdout]  --> src/synth/channel.rs:9:31
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::utils::{buffer_or, read_message, write_buffer};
[INFO] [stdout]   |                               ^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::SAMPLE_RATE`
[INFO] [stdout]   --> src/synth/channel.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::SAMPLE_RATE;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::io::wav_reader`
[INFO] [stdout]  --> src/synth/sampler.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::io::wav_reader;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::DUTY_MAX`
[INFO] [stdout]  --> src/synth/sampler.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::DUTY_MAX;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::BUFFER_SIZE`
[INFO] [stdout]  --> src/synth/sampler.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::BUFFER_SIZE;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/synth.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::BufReader`
[INFO] [stdout]  --> src/synth.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::BufReader;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alsa::pcm::IO`
[INFO] [stdout]  --> src/synth.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use alsa::pcm::IO;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num_traits::pow`
[INFO] [stdout]  --> src/synth.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use num_traits::pow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `read_message` and `write_buffer`
[INFO] [stdout]   --> src/synth.rs:12:20
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::utils::{read_message, write_buffer};
[INFO] [stdout]    |                    ^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::SAMPLE_RATE`
[INFO] [stdout]   --> src/synth.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::SAMPLE_RATE;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::synth::channel::Channel`
[INFO] [stdout]  --> src/io/midi_reader.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::synth::channel::Channel;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `io`, `thread`, and `time::Duration`
[INFO] [stdout]  --> src/io/player.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{time::Duration, io, thread};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^  ^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `console::Term`
[INFO] [stdout]  --> src/io/player.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use console::Term;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stdin`
[INFO] [stdout]  --> src/io/player.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::{stdin, stdout, Write};
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AMPLITUDE_MAX` and `SAMPLE_RATE`
[INFO] [stdout]   --> src/io/player.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::{AMPLITUDE_MAX, SAMPLE_RATE};
[INFO] [stdout]    |             ^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Player`
[INFO] [stdout]  --> src/io/wav_reader.rs:4:25
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::io::player::{Player};
[INFO] [stdout]   |                         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IO`
[INFO] [stdout]  --> src/io/audio_out.rs:2:43
[INFO] [stdout]   |
[INFO] [stdout] 2 | use alsa::pcm::{Access, Format, HwParams, IO, PCM};
[INFO] [stdout]   |                                           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AMPLITUDE_MAX` and `AMPLITUDE_MIN`
[INFO] [stdout]  --> src/io/audio_out.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::{AMPLITUDE_MAX, AMPLITUDE_MIN, BUFFER_SIZE, SAMPLE_RATE};
[INFO] [stdout]   |             ^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/synth/channel.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::BufReader`
[INFO] [stdout]  --> src/synth/channel.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::BufReader;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alsa::pcm::IO`
[INFO] [stdout]  --> src/synth/channel.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use alsa::pcm::IO;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num_traits::pow`
[INFO] [stdout]  --> src/synth/channel.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use num_traits::pow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `read_message` and `write_buffer`
[INFO] [stdout]  --> src/synth/channel.rs:9:31
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::utils::{buffer_or, read_message, write_buffer};
[INFO] [stdout]   |                               ^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::SAMPLE_RATE`
[INFO] [stdout]   --> src/synth/channel.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::SAMPLE_RATE;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::io::wav_reader`
[INFO] [stdout]  --> src/synth/sampler.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::io::wav_reader;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::DUTY_MAX`
[INFO] [stdout]  --> src/synth/sampler.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::DUTY_MAX;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::BUFFER_SIZE`
[INFO] [stdout]  --> src/synth/sampler.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::BUFFER_SIZE;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/synth.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::BufReader`
[INFO] [stdout]  --> src/synth.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::BufReader;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alsa::pcm::IO`
[INFO] [stdout]  --> src/synth.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use alsa::pcm::IO;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num_traits::pow`
[INFO] [stdout]  --> src/synth.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use num_traits::pow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `read_message` and `write_buffer`
[INFO] [stdout]   --> src/synth.rs:12:20
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::utils::{read_message, write_buffer};
[INFO] [stdout]    |                    ^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::SAMPLE_RATE`
[INFO] [stdout]   --> src/synth.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::SAMPLE_RATE;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::synth::channel::Channel`
[INFO] [stdout]  --> src/io/midi_reader.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::synth::channel::Channel;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `io`, `thread`, and `time::Duration`
[INFO] [stdout]  --> src/io/player.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{time::Duration, io, thread};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^  ^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `console::Term`
[INFO] [stdout]  --> src/io/player.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use console::Term;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stdin`
[INFO] [stdout]  --> src/io/player.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::{stdin, stdout, Write};
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AMPLITUDE_MAX` and `SAMPLE_RATE`
[INFO] [stdout]   --> src/io/player.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::{AMPLITUDE_MAX, SAMPLE_RATE};
[INFO] [stdout]    |             ^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Player`
[INFO] [stdout]  --> src/io/wav_reader.rs:4:25
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::io::player::{Player};
[INFO] [stdout]   |                         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IO`
[INFO] [stdout]  --> src/io/audio_out.rs:2:43
[INFO] [stdout]   |
[INFO] [stdout] 2 | use alsa::pcm::{Access, Format, HwParams, IO, PCM};
[INFO] [stdout]   |                                           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AMPLITUDE_MAX` and `AMPLITUDE_MIN`
[INFO] [stdout]  --> src/io/audio_out.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::{AMPLITUDE_MAX, AMPLITUDE_MIN, BUFFER_SIZE, SAMPLE_RATE};
[INFO] [stdout]   |             ^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/synth/channel.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let mut b = [0.02109238, 0.07113478, 0.68873558, -0.02813463, -0.02260048];
[INFO] [stdout]    |             ----^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/synth/channel.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let mut a = [1.0, -2.81337002, 2.69422456, -0.89651434, 0.02109238];
[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/synth/channel.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let mut b = [0.02109238, 0.07113478, 0.68873558, -0.02813463, -0.02260048];
[INFO] [stdout]    |             ----^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/synth/channel.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let mut a = [1.0, -2.81337002, 2.69422456, -0.89651434, 0.02109238];
[INFO] [stdout]    |             ----^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/io/midi_reader.rs:105:14
[INFO] [stdout]     |
[INFO] [stdout] 105 |         for (i, track_midly) in smf.tracks.iter().enumerate() {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[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/io/midi_reader.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |             let mut notes = vec![];
[INFO] [stdout]     |                 ----^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/io/midi_reader.rs:249:14
[INFO] [stdout]     |
[INFO] [stdout] 249 |         for (i, event) in self.tracks[track].events.iter().enumerate() {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `event`
[INFO] [stdout]   --> src/io/player.rs:53:33
[INFO] [stdout]    |
[INFO] [stdout] 53 |     fn process_event(&mut self, event: PlayerEvent) {
[INFO] [stdout]    |                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_event`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/io/midi_reader.rs:105:14
[INFO] [stdout]     |
[INFO] [stdout] 105 |         for (i, track_midly) in smf.tracks.iter().enumerate() {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time
[INFO] [stdout]   --> src/io/player.rs:89:17
[INFO] [stdout]    |
[INFO] [stdout] 85 |         let file = &mut self.file;
[INFO] [stdout]    |                    -------------- first mutable borrow occurs here
[INFO] [stdout] 86 |         for i in 0..file.tracks().len() {
[INFO] [stdout] 87 |             let event = file.get_next_event(i);
[INFO] [stdout]    |                         ---- first borrow later used here
[INFO] [stdout] 88 |             while event.delta_tick() == 0 {
[INFO] [stdout] 89 |                 self.process_event(PlayerEvent::MidiMessage(event));
[INFO] [stdout]    |                 ^^^^ second mutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `event`
[INFO] [stdout]   --> src/io/player.rs:94:33
[INFO] [stdout]    |
[INFO] [stdout] 94 |     fn process_event(&mut self, event: PlayerEvent) {
[INFO] [stdout]    |                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_event`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `voice`
[INFO] [stdout]    --> src/io/player.rs:125:17
[INFO] [stdout]     |
[INFO] [stdout] 125 |         let mut voice = Voice::new(440, 0.5);
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_voice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/io/player.rs:125:13
[INFO] [stdout]     |
[INFO] [stdout] 125 |         let mut voice = Voice::new(440, 0.5);
[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/io/midi_reader.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |             let mut notes = vec![];
[INFO] [stdout]     |                 ----^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sample`
[INFO] [stdout]   --> src/io/wav_reader.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |     for sample in buffer {
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/io/midi_reader.rs:249:14
[INFO] [stdout]     |
[INFO] [stdout] 249 |         for (i, event) in self.tracks[track].events.iter().enumerate() {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `event`
[INFO] [stdout]   --> src/io/player.rs:53:33
[INFO] [stdout]    |
[INFO] [stdout] 53 |     fn process_event(&mut self, event: PlayerEvent) {
[INFO] [stdout]    |                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_event`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0499`.
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time
[INFO] [stdout]   --> src/io/player.rs:89:17
[INFO] [stdout]    |
[INFO] [stdout] 85 |         let file = &mut self.file;
[INFO] [stdout]    |                    -------------- first mutable borrow occurs here
[INFO] [stdout] 86 |         for i in 0..file.tracks().len() {
[INFO] [stdout] 87 |             let event = file.get_next_event(i);
[INFO] [stdout]    |                         ---- first borrow later used here
[INFO] [stdout] 88 |             while event.delta_tick() == 0 {
[INFO] [stdout] 89 |                 self.process_event(PlayerEvent::MidiMessage(event));
[INFO] [stdout]    |                 ^^^^ second mutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `event`
[INFO] [stdout]   --> src/io/player.rs:94:33
[INFO] [stdout]    |
[INFO] [stdout] 94 |     fn process_event(&mut self, event: PlayerEvent) {
[INFO] [stdout]    |                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_event`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `voice`
[INFO] [stdout]    --> src/io/player.rs:125:17
[INFO] [stdout]     |
[INFO] [stdout] 125 |         let mut voice = Voice::new(440, 0.5);
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_voice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/io/player.rs:125:13
[INFO] [stdout]     |
[INFO] [stdout] 125 |         let mut voice = Voice::new(440, 0.5);
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sample`
[INFO] [stdout]   --> src/io/wav_reader.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |     for sample in buffer {
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `obs` (lib test) due to 2 previous errors; 33 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0499`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `obs` (lib) due to 2 previous errors; 33 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "5a962e78ad7adf57200bbc8ecfd1828c1ab7f146f5ad3e62a10371cf2943b21f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5a962e78ad7adf57200bbc8ecfd1828c1ab7f146f5ad3e62a10371cf2943b21f", kill_on_drop: false }`
[INFO] [stdout] 5a962e78ad7adf57200bbc8ecfd1828c1ab7f146f5ad3e62a10371cf2943b21f
