[INFO] cloning repository https://github.com/wrbs/software-synth
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wrbs/software-synth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwrbs%2Fsoftware-synth", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwrbs%2Fsoftware-synth'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5f11ea90fc623d6aed31afa4afaac01434b09f3c
[INFO] testing wrbs/software-synth against 1.62.0 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwrbs%2Fsoftware-synth" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/wrbs/software-synth on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/wrbs/software-synth
[INFO] finished tweaking git repo https://github.com/wrbs/software-synth
[INFO] tweaked toml for git repo https://github.com/wrbs/software-synth written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/wrbs/software-synth already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/RustAudio/cpal`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ghakuf v0.5.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 44c117754f98528f46953078148e5f1263c69c3d3a99916ead578ccc99b71cb5
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "44c117754f98528f46953078148e5f1263c69c3d3a99916ead578ccc99b71cb5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "44c117754f98528f46953078148e5f1263c69c3d3a99916ead578ccc99b71cb5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "44c117754f98528f46953078148e5f1263c69c3d3a99916ead578ccc99b71cb5", kill_on_drop: false }`
[INFO] [stdout] 44c117754f98528f46953078148e5f1263c69c3d3a99916ead578ccc99b71cb5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 31e3580465d1052b5d5d9ca0507ca82038dee6915818d936181e70c160a4f485
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "31e3580465d1052b5d5d9ca0507ca82038dee6915818d936181e70c160a4f485", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.10
[INFO] [stderr]    Compiling syn v1.0.17
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling cpal v0.11.0 (https://github.com/RustAudio/cpal#f3e7c462)
[INFO] [stderr]    Compiling sdl2 v0.33.0
[INFO] [stderr]    Compiling numtoa v0.1.0
[INFO] [stderr]    Compiling alsa-sys v0.1.1 (https://github.com/RustAudio/cpal#f3e7c462)
[INFO] [stderr]    Compiling sdl2-sys v0.33.0
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling termion v1.5.5
[INFO] [stderr]    Compiling clap v2.33.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling ghakuf v0.5.4
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]    Compiling syn-mid v0.5.0
[INFO] [stderr]    Compiling proc-macro-error-attr v0.4.12
[INFO] [stderr]    Compiling thiserror-impl v1.0.14
[INFO] [stderr]    Compiling proc-macro-error v0.4.12
[INFO] [stderr]    Compiling structopt-derive v0.4.5
[INFO] [stderr]    Compiling thiserror v1.0.14
[INFO] [stderr]    Compiling structopt v0.3.12
[INFO] [stderr]    Compiling software-synth v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `rand::random`
[INFO] [stdout]  --> src/synth/instrument.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::random;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/synth/mod.rs:117:56
[INFO] [stdout]     |
[INFO] [stdout] 117 |                     self.channel_volumes[c as usize] = (volume as f32 / 127.0)
[INFO] [stdout]     |                                                        ^                     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 117 -                     self.channel_volumes[c as usize] = (volume as f32 / 127.0)
[INFO] [stdout] 117 +                     self.channel_volumes[c as usize] = volume as f32 / 127.0
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashMap`
[INFO] [stdout]  --> src/ui.rs:6:33
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::collections::{HashSet, HashMap};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Sender`, `channel`
[INFO] [stdout]  --> src/midi_file_reader.rs:1:23
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::mpsc::{channel, Sender};
[INFO] [stdout]   |                       ^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path`
[INFO] [stdout]  --> src/midi_file_reader.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::path;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/midi_file_reader.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/midi_file_reader.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Sender`
[INFO] [stdout]  --> src/main.rs:6:32
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::sync::mpsc::{channel, Sender};
[INFO] [stdout]   |                                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ghakuf::messages::*`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use ghakuf::messages::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ghakuf::reader::*`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use ghakuf::reader::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::path;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::thread;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `m`
[INFO] [stdout]   --> src/synth/mod.rs:60:33
[INFO] [stdout]    |
[INFO] [stdout] 60 |                 if let Some((t, m)) = todo_stack.last() {
[INFO] [stdout]    |                                 ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `note`
[INFO] [stdout]   --> src/synth/instrument.rs:27:26
[INFO] [stdout]    |
[INFO] [stdout] 27 |     fn get_sample(&self, note: &Note, time: f32) -> Option<f32> {
[INFO] [stdout]    |                          ^^^^ help: if this is intentional, prefix it with an underscore: `_note`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]   --> src/synth/instrument.rs:27:39
[INFO] [stdout]    |
[INFO] [stdout] 27 |     fn get_sample(&self, note: &Note, time: f32) -> Option<f32> {
[INFO] [stdout]    |                                       ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `freq`
[INFO] [stdout]    --> src/synth/instrument.rs:194:26
[INFO] [stdout]     |
[INFO] [stdout] 194 |     fn get_sample(&self, freq: f32, time: f32) -> f32 {
[INFO] [stdout]     |                          ^^^^ help: if this is intentional, prefix it with an underscore: `_freq`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]    --> src/synth/instrument.rs:194:37
[INFO] [stdout]     |
[INFO] [stdout] 194 |     fn get_sample(&self, freq: f32, time: f32) -> f32 {
[INFO] [stdout]     |                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `lfo`
[INFO] [stdout]  --> src/synth/osc.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn lfo(f: f32, t: f32, val: f32) -> f32 {
[INFO] [stdout]   |        ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 19 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 51.74s
[INFO] running `Command { std: "docker" "inspect" "31e3580465d1052b5d5d9ca0507ca82038dee6915818d936181e70c160a4f485", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31e3580465d1052b5d5d9ca0507ca82038dee6915818d936181e70c160a4f485", kill_on_drop: false }`
[INFO] [stdout] 31e3580465d1052b5d5d9ca0507ca82038dee6915818d936181e70c160a4f485
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] aa00c920dc27e6b5fd0bf5ce8fdd2b705340e01419c99db2c2ef84021e34f819
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "aa00c920dc27e6b5fd0bf5ce8fdd2b705340e01419c99db2c2ef84021e34f819", kill_on_drop: false }`
[INFO] [stderr]    Compiling software-synth v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `rand::random`
[INFO] [stdout]  --> src/synth/instrument.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::random;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/synth/mod.rs:117:56
[INFO] [stdout]     |
[INFO] [stdout] 117 |                     self.channel_volumes[c as usize] = (volume as f32 / 127.0)
[INFO] [stdout]     |                                                        ^                     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 117 -                     self.channel_volumes[c as usize] = (volume as f32 / 127.0)
[INFO] [stdout] 117 +                     self.channel_volumes[c as usize] = volume as f32 / 127.0
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashMap`
[INFO] [stdout]  --> src/ui.rs:6:33
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::collections::{HashSet, HashMap};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Sender`, `channel`
[INFO] [stdout]  --> src/midi_file_reader.rs:1:23
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::mpsc::{channel, Sender};
[INFO] [stdout]   |                       ^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path`
[INFO] [stdout]  --> src/midi_file_reader.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::path;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/midi_file_reader.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/midi_file_reader.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Sender`
[INFO] [stdout]  --> src/main.rs:6:32
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::sync::mpsc::{channel, Sender};
[INFO] [stdout]   |                                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ghakuf::messages::*`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use ghakuf::messages::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ghakuf::reader::*`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use ghakuf::reader::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::path;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::thread;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `m`
[INFO] [stdout]   --> src/synth/mod.rs:60:33
[INFO] [stdout]    |
[INFO] [stdout] 60 |                 if let Some((t, m)) = todo_stack.last() {
[INFO] [stdout]    |                                 ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `note`
[INFO] [stdout]   --> src/synth/instrument.rs:27:26
[INFO] [stdout]    |
[INFO] [stdout] 27 |     fn get_sample(&self, note: &Note, time: f32) -> Option<f32> {
[INFO] [stdout]    |                          ^^^^ help: if this is intentional, prefix it with an underscore: `_note`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]   --> src/synth/instrument.rs:27:39
[INFO] [stdout]    |
[INFO] [stdout] 27 |     fn get_sample(&self, note: &Note, time: f32) -> Option<f32> {
[INFO] [stdout]    |                                       ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `freq`
[INFO] [stdout]    --> src/synth/instrument.rs:194:26
[INFO] [stdout]     |
[INFO] [stdout] 194 |     fn get_sample(&self, freq: f32, time: f32) -> f32 {
[INFO] [stdout]     |                          ^^^^ help: if this is intentional, prefix it with an underscore: `_freq`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]    --> src/synth/instrument.rs:194:37
[INFO] [stdout]     |
[INFO] [stdout] 194 |     fn get_sample(&self, freq: f32, time: f32) -> f32 {
[INFO] [stdout]     |                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `lfo`
[INFO] [stdout]  --> src/synth/osc.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn lfo(f: f32, t: f32, val: f32) -> f32 {
[INFO] [stdout]   |        ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 19 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.31s
[INFO] [stderr]   Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/software_synth-75cf34886809d056)
[INFO] running `Command { std: "docker" "inspect" "aa00c920dc27e6b5fd0bf5ce8fdd2b705340e01419c99db2c2ef84021e34f819", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aa00c920dc27e6b5fd0bf5ce8fdd2b705340e01419c99db2c2ef84021e34f819", kill_on_drop: false }`
[INFO] [stdout] aa00c920dc27e6b5fd0bf5ce8fdd2b705340e01419c99db2c2ef84021e34f819
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 57c30e8ca39474dd7ba0ef83615e63f0cb1de2007fa3c1a149628255c8a93db5
[INFO] running `Command { std: "docker" "start" "-a" "57c30e8ca39474dd7ba0ef83615e63f0cb1de2007fa3c1a149628255c8a93db5", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `rand::random`
[INFO] [stderr]  --> src/synth/instrument.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use rand::random;
[INFO] [stderr]   |     ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]    --> src/synth/mod.rs:117:56
[INFO] [stderr]     |
[INFO] [stderr] 117 |                     self.channel_volumes[c as usize] = (volume as f32 / 127.0)
[INFO] [stderr]     |                                                        ^                     ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 117 -                     self.channel_volumes[c as usize] = (volume as f32 / 127.0)
[INFO] [stderr] 117 +                     self.channel_volumes[c as usize] = volume as f32 / 127.0
[INFO] [stderr]     | 
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `HashMap`
[INFO] [stderr]  --> src/ui.rs:6:33
[INFO] [stderr]   |
[INFO] [stderr] 6 | use std::collections::{HashSet, HashMap};
[INFO] [stderr]   |                                 ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Sender`, `channel`
[INFO] [stderr]  --> src/midi_file_reader.rs:1:23
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::sync::mpsc::{channel, Sender};
[INFO] [stderr]   |                       ^^^^^^^  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::path`
[INFO] [stderr]  --> src/midi_file_reader.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::path;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::thread`
[INFO] [stderr]  --> src/midi_file_reader.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use std::thread;
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::time::Duration`
[INFO] [stderr]  --> src/midi_file_reader.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use std::time::Duration;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Sender`
[INFO] [stderr]  --> src/main.rs:6:32
[INFO] [stderr]   |
[INFO] [stderr] 6 | use std::sync::mpsc::{channel, Sender};
[INFO] [stderr]   |                                ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ghakuf::messages::*`
[INFO] [stderr]  --> src/main.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use ghakuf::messages::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ghakuf::reader::*`
[INFO] [stderr]  --> src/main.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use ghakuf::reader::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::path`
[INFO] [stderr]  --> src/main.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use std::path;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::thread`
[INFO] [stderr]   --> src/main.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use std::thread;
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::time::Duration`
[INFO] [stderr]   --> src/main.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use std::time::Duration;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `m`
[INFO] [stderr]   --> src/synth/mod.rs:60:33
[INFO] [stderr]    |
[INFO] [stderr] 60 |                 if let Some((t, m)) = todo_stack.last() {
[INFO] [stderr]    |                                 ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `note`
[INFO] [stderr]   --> src/synth/instrument.rs:27:26
[INFO] [stderr]    |
[INFO] [stderr] 27 |     fn get_sample(&self, note: &Note, time: f32) -> Option<f32> {
[INFO] [stderr]    |                          ^^^^ help: if this is intentional, prefix it with an underscore: `_note`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `time`
[INFO] [stderr]   --> src/synth/instrument.rs:27:39
[INFO] [stderr]    |
[INFO] [stderr] 27 |     fn get_sample(&self, note: &Note, time: f32) -> Option<f32> {
[INFO] [stderr]    |                                       ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `freq`
[INFO] [stderr]    --> src/synth/instrument.rs:194:26
[INFO] [stderr]     |
[INFO] [stderr] 194 |     fn get_sample(&self, freq: f32, time: f32) -> f32 {
[INFO] [stderr]     |                          ^^^^ help: if this is intentional, prefix it with an underscore: `_freq`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `time`
[INFO] [stderr]    --> src/synth/instrument.rs:194:37
[INFO] [stderr]     |
[INFO] [stderr] 194 |     fn get_sample(&self, freq: f32, time: f32) -> f32 {
[INFO] [stderr]     |                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `lfo`
[INFO] [stderr]  --> src/synth/osc.rs:3:8
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub fn lfo(f: f32, t: f32, val: f32) -> f32 {
[INFO] [stderr]   |        ^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `software-synth` (bin "software-synth" test) generated 19 warnings
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/software_synth-75cf34886809d056)
[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" "57c30e8ca39474dd7ba0ef83615e63f0cb1de2007fa3c1a149628255c8a93db5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "57c30e8ca39474dd7ba0ef83615e63f0cb1de2007fa3c1a149628255c8a93db5", kill_on_drop: false }`
[INFO] [stdout] 57c30e8ca39474dd7ba0ef83615e63f0cb1de2007fa3c1a149628255c8a93db5
