[INFO] cloning repository https://github.com/Ocrap7/synth [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ocrap7/synth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOcrap7%2Fsynth", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOcrap7%2Fsynth'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a3e230ec1d30704830326496873edc0b0ba3ccac [INFO] testing Ocrap7/synth against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOcrap7%2Fsynth" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ocrap7/synth on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Ocrap7/synth [INFO] finished tweaking git repo https://github.com/Ocrap7/synth [INFO] tweaked toml for git repo https://github.com/Ocrap7/synth written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/Ocrap7/synth already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded primal-check v0.3.1 [INFO] [stderr] Downloaded strength_reduce v0.2.3 [INFO] [stderr] Downloaded clang-sys v1.0.1 [INFO] [stderr] Downloaded transpose v0.2.1 [INFO] [stderr] Downloaded coremidi v0.4.0 [INFO] [stderr] Downloaded rustfft v6.0.1 [INFO] [stderr] Downloaded alsa v0.4.3 [INFO] [stderr] Downloaded rsor v0.1.3 [INFO] [stderr] Downloaded fundsp v0.3.1 [INFO] [stderr] Downloaded numeric-array v0.5.2 [INFO] [stderr] Downloaded midi-control v0.2.0 [INFO] [stderr] Downloaded memalloc v0.1.0 [INFO] [stderr] Downloaded coremidi-sys v2.0.2 [INFO] [stderr] Downloaded midir v0.7.0 [INFO] [stderr] Downloaded modulator v0.1.0 [INFO] [stderr] Downloaded audio-core v0.2.0-alpha.3 [INFO] [stderr] Downloaded audio v0.2.0-alpha.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d1a166a9eeeebcd2586410c73f9516e454b381a423e751677cc61ac15a7a19a [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" "5d1a166a9eeeebcd2586410c73f9516e454b381a423e751677cc61ac15a7a19a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d1a166a9eeeebcd2586410c73f9516e454b381a423e751677cc61ac15a7a19a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d1a166a9eeeebcd2586410c73f9516e454b381a423e751677cc61ac15a7a19a", kill_on_drop: false }` [INFO] [stdout] 5d1a166a9eeeebcd2586410c73f9516e454b381a423e751677cc61ac15a7a19a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28d7bcefff5ba9e8197046649678d84e0347fe83fdf790bbd1bdd20fbecef94f [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" "28d7bcefff5ba9e8197046649678d84e0347fe83fdf790bbd1bdd20fbecef94f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling strength_reduce v0.2.3 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling cpal v0.13.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling memalloc v0.1.0 [INFO] [stderr] Compiling audio-core v0.2.0-alpha.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rsor v0.1.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling audio v0.2.0-alpha.3 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling numeric-array v0.5.2 [INFO] [stderr] Compiling nix v0.23.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling primal-check v0.3.1 [INFO] [stderr] Compiling transpose v0.2.1 [INFO] [stderr] Compiling rustfft v6.0.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling modulator v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling alsa v0.4.3 [INFO] [stderr] Compiling alsa v0.6.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling midir v0.7.0 [INFO] [stderr] Compiling midi-control v0.2.0 [INFO] [stderr] Compiling fundsp v0.3.1 [INFO] [stderr] Compiling synth v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `fs::OpenOptions` [INFO] [stdout] --> src/oscillator.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | fs::OpenOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Newtonian`, `ScalarGoalFollower`, `ScalarSpring`, `ShiftRegisterInterp`, `ShiftRegister`, `Wave` [INFO] [stdout] --> src/oscillator.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Newtonian, ScalarGoalFollower, ScalarSpring, ShiftRegister, ShiftRegisterInterp, Wave, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ModulatorEnv`, `Modulator` [INFO] [stdout] --> src/oscillator.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use modulator::{Modulator, ModulatorEnv}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SampleFormat`, `StreamTrait` [INFO] [stdout] --> src/oscillator.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | traits::{DeviceTrait, StreamTrait}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | Sample, SampleFormat, Stream, StreamConfig, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamTrait` [INFO] [stdout] --> src/synth.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | traits::{DeviceTrait, StreamTrait}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/main.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 123 | loop {} [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 126 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 215 | loop {} [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 216 | [INFO] [stdout] 217 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `midir::MidiIO` [INFO] [stdout] --> src/main.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | use midir::MidiIO; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/oscillator.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | _ => 0.0, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channels` [INFO] [stdout] --> src/main.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | let channels = config.channels as usize; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channels` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/synth.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 74 | MidiMessage::NoteOn(c, k) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/synth.rs:87:42 [INFO] [stdout] | [INFO] [stdout] 87 | MidiMessage::NoteOff(c, k) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_data` [INFO] [stdout] --> src/main.rs:234:4 [INFO] [stdout] | [INFO] [stdout] 234 | fn write_data(output: &mut [T], channels: usize, next_sample: &mut dyn FnMut() -> (f64, f64)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Sine` [INFO] [stdout] --> src/oscillator.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | Sine, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Triangle` [INFO] [stdout] --> src/oscillator.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Triangle, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Sawtooth` [INFO] [stdout] --> src/oscillator.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Sawtooth, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Square` [INFO] [stdout] --> src/oscillator.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Square, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `offset` [INFO] [stdout] --> src/oscillator.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | offset: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `time` [INFO] [stdout] --> src/oscillator.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | time: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/oscillator.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(config: StreamConfig, shape: OscillatorShape, frequency: f32) -> Oscillator { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `output` [INFO] [stdout] --> src/oscillator.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn output(ss: Arc>>, device: &cpal::Device) -> Stream [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `use_freq_mod` [INFO] [stdout] --> src/oscillator.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn use_freq_mod(&mut self, osc: Arc>>) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_volume` [INFO] [stdout] --> src/oscillator.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn set_volume(&mut self, volume: f32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_data` [INFO] [stdout] --> src/oscillator.rs:167:4 [INFO] [stdout] | [INFO] [stdout] 167 | fn write_data(output: &mut [T], channels: usize, sw: Arc>>) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sample_rate` [INFO] [stdout] --> src/synth.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | sample_rate: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sample_rate` [INFO] [stdout] --> src/synth.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | sample_rate: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(type_name_of_val)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | sender.send(message); [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] error: aborting due to previous error; 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `synth` due to 2 previous errors; 28 warnings emitted [INFO] running `Command { std: "docker" "inspect" "28d7bcefff5ba9e8197046649678d84e0347fe83fdf790bbd1bdd20fbecef94f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28d7bcefff5ba9e8197046649678d84e0347fe83fdf790bbd1bdd20fbecef94f", kill_on_drop: false }` [INFO] [stdout] 28d7bcefff5ba9e8197046649678d84e0347fe83fdf790bbd1bdd20fbecef94f