[INFO] cloning repository https://github.com/TheOnlyMrCat/Loud [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TheOnlyMrCat/Loud" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheOnlyMrCat%2FLoud", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheOnlyMrCat%2FLoud'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b7bfb051182fdbde21354326140f37693b7ab890 [INFO] checking TheOnlyMrCat/Loud against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheOnlyMrCat%2FLoud" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TheOnlyMrCat/Loud on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TheOnlyMrCat/Loud [INFO] finished tweaking git repo https://github.com/TheOnlyMrCat/Loud [INFO] tweaked toml for git repo https://github.com/TheOnlyMrCat/Loud written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/TheOnlyMrCat/Loud already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ringbuf v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e97b0c954d4c7214933ae96624f4c1d538c30c8a649bdcbbd25a5a1eb77df48e [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" "e97b0c954d4c7214933ae96624f4c1d538c30c8a649bdcbbd25a5a1eb77df48e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e97b0c954d4c7214933ae96624f4c1d538c30c8a649bdcbbd25a5a1eb77df48e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e97b0c954d4c7214933ae96624f4c1d538c30c8a649bdcbbd25a5a1eb77df48e", kill_on_drop: false }` [INFO] [stdout] e97b0c954d4c7214933ae96624f4c1d538c30c8a649bdcbbd25a5a1eb77df48e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 453f11ec57bff56249721763a47b55f8918c8af6ff6274740c55a05d2ac94f2f [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" "453f11ec57bff56249721763a47b55f8918c8af6ff6274740c55a05d2ac94f2f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling sdl2 v0.34.3 [INFO] [stderr] Checking ringbuf v0.2.2 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling sdl2-sys v0.34.3 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking alsa v0.4.3 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking cpal v0.13.1 [INFO] [stderr] Checking xp-audio v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `cpal::traits::*` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cpal::traits::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpal::traits::*` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cpal::traits::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_index` [INFO] [stdout] --> src/node.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | fn poll(&self, output_index: usize) -> Box<[f32; TICK_SIZE]> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parents` [INFO] [stdout] --> src/node/input.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | fn tick(&mut self, parents: &[NodeConnection], tick: u32, node_list: &[WorkbenchNode]) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parents` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_list` [INFO] [stdout] --> src/node/input.rs:30:60 [INFO] [stdout] | [INFO] [stdout] 30 | fn tick(&mut self, parents: &[NodeConnection], tick: u32, node_list: &[WorkbenchNode]) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_index` [INFO] [stdout] --> src/node/input.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | fn poll(&self, output_index: usize) -> Box<[f32; TICK_SIZE]> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_index` [INFO] [stdout] --> src/node/basic_mod.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | fn poll(&self, output_index: usize) -> Box<[f32; TICK_SIZE]> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/graphics.rs:114:3 [INFO] [stdout] | [INFO] [stdout] 113 | let texture = self.sprite_cache.get(&image.render()).unwrap(); [INFO] [stdout] | ----------------- immutable borrow occurs here [INFO] [stdout] 114 | self.render_scaled(image, Self::get_bounds(texture, pos)) [INFO] [stdout] | ^^^^ mutable borrow occurs here ------- immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_index` [INFO] [stdout] --> src/node.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | fn poll(&self, output_index: usize) -> Box<[f32; TICK_SIZE]> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parents` [INFO] [stdout] --> src/node/input.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | fn tick(&mut self, parents: &[NodeConnection], tick: u32, node_list: &[WorkbenchNode]) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parents` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_list` [INFO] [stdout] --> src/node/input.rs:30:60 [INFO] [stdout] | [INFO] [stdout] 30 | fn tick(&mut self, parents: &[NodeConnection], tick: u32, node_list: &[WorkbenchNode]) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_index` [INFO] [stdout] --> src/node/input.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | fn poll(&self, output_index: usize) -> Box<[f32; TICK_SIZE]> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_index` [INFO] [stdout] --> src/node/basic_mod.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | fn poll(&self, output_index: usize) -> Box<[f32; TICK_SIZE]> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DEFAULT_SAMPLE_RATE` [INFO] [stdout] --> src/audio.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const DEFAULT_SAMPLE_RATE: cpal::SampleRate = cpal::SampleRate(44100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `AudioStream` [INFO] [stdout] --> src/audio.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AudioStream { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnsupportedDevice` [INFO] [stdout] --> src/audio.rs:13:2 [INFO] [stdout] | [INFO] [stdout] 13 | UnsupportedDevice, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StreamConfigsError` [INFO] [stdout] --> src/audio.rs:14:2 [INFO] [stdout] | [INFO] [stdout] 14 | StreamConfigsError(cpal::SupportedStreamConfigsError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BuildStreamError` [INFO] [stdout] --> src/audio.rs:15:2 [INFO] [stdout] | [INFO] [stdout] 15 | BuildStreamError(cpal::BuildStreamError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_device` [INFO] [stdout] --> src/audio.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn with_device(device: D) -> Result, BuildAudioStreamError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `play` [INFO] [stdout] --> src/audio.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn play(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_audio` [INFO] [stdout] --> src/audio.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn push_audio(&mut self, data: &[f32]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `buffer_remaining` [INFO] [stdout] --> src/audio.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn buffer_remaining(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `buffer_full` [INFO] [stdout] --> src/audio.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn buffer_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `WaveGenerator` [INFO] [stdout] --> src/audio.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct WaveGenerator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `play_sine_freq_to` [INFO] [stdout] --> src/audio.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn play_sine_freq_to(&self, frequency: f64, audio_stream: &mut AudioStream) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `play_tri_freq_to` [INFO] [stdout] --> src/audio.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn play_tri_freq_to(&self, frequency: f64, audio_stream: &mut AudioStream) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `play_saw_freq_to` [INFO] [stdout] --> src/audio.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn play_saw_freq_to(&self, frequency: f64, audio_stream: &mut AudioStream) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `play_square_freq_to` [INFO] [stdout] --> src/audio.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn play_square_freq_to(&self, frequency: f64, audio_stream: &mut AudioStream) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `semitone_to_frequency` [INFO] [stdout] --> src/audio.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn semitone_to_frequency(semitone: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render` [INFO] [stdout] --> src/graphics.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn render(&mut self, image: &Image, pos: Vector2) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `None` [INFO] [stdout] --> src/graphics.rs:142:2 [INFO] [stdout] | [INFO] [stdout] 142 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clicked_in_bounds` [INFO] [stdout] --> src/input.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn clicked_in_bounds(&self, bounds: Rect) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `phase` [INFO] [stdout] --> src/node/input.rs:6:2 [INFO] [stdout] | [INFO] [stdout] 6 | phase: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Sine` [INFO] [stdout] --> src/node/input.rs:11:2 [INFO] [stdout] | [INFO] [stdout] 11 | Sine, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Tri` [INFO] [stdout] --> src/node/input.rs:12:2 [INFO] [stdout] | [INFO] [stdout] 12 | Tri, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Saw` [INFO] [stdout] --> src/node/input.rs:13:2 [INFO] [stdout] | [INFO] [stdout] 13 | Saw, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Square` [INFO] [stdout] --> src/node/input.rs:14:2 [INFO] [stdout] | [INFO] [stdout] 14 | Square, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/graphics.rs:114:3 [INFO] [stdout] | [INFO] [stdout] 113 | let texture = self.sprite_cache.get(&image.render()).unwrap(); [INFO] [stdout] | ----------------- immutable borrow occurs here [INFO] [stdout] 114 | self.render_scaled(image, Self::get_bounds(texture, pos)) [INFO] [stdout] | ^^^^ mutable borrow occurs here ------- immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DEFAULT_SAMPLE_RATE` [INFO] [stdout] --> src/audio.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const DEFAULT_SAMPLE_RATE: cpal::SampleRate = cpal::SampleRate(44100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `AudioStream` [INFO] [stdout] --> src/audio.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AudioStream { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnsupportedDevice` [INFO] [stdout] --> src/audio.rs:13:2 [INFO] [stdout] | [INFO] [stdout] 13 | UnsupportedDevice, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StreamConfigsError` [INFO] [stdout] --> src/audio.rs:14:2 [INFO] [stdout] | [INFO] [stdout] 14 | StreamConfigsError(cpal::SupportedStreamConfigsError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BuildStreamError` [INFO] [stdout] --> src/audio.rs:15:2 [INFO] [stdout] | [INFO] [stdout] 15 | BuildStreamError(cpal::BuildStreamError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_device` [INFO] [stdout] --> src/audio.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn with_device(device: D) -> Result, BuildAudioStreamError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `play` [INFO] [stdout] --> src/audio.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn play(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_audio` [INFO] [stdout] --> src/audio.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn push_audio(&mut self, data: &[f32]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `buffer_remaining` [INFO] [stdout] --> src/audio.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn buffer_remaining(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `buffer_full` [INFO] [stdout] --> src/audio.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn buffer_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `WaveGenerator` [INFO] [stdout] --> src/audio.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct WaveGenerator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `play_sine_freq_to` [INFO] [stdout] --> src/audio.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn play_sine_freq_to(&self, frequency: f64, audio_stream: &mut AudioStream) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `play_tri_freq_to` [INFO] [stdout] --> src/audio.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn play_tri_freq_to(&self, frequency: f64, audio_stream: &mut AudioStream) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `play_saw_freq_to` [INFO] [stdout] --> src/audio.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn play_saw_freq_to(&self, frequency: f64, audio_stream: &mut AudioStream) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `play_square_freq_to` [INFO] [stdout] --> src/audio.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn play_square_freq_to(&self, frequency: f64, audio_stream: &mut AudioStream) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `semitone_to_frequency` [INFO] [stdout] --> src/audio.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn semitone_to_frequency(semitone: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render` [INFO] [stdout] --> src/graphics.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn render(&mut self, image: &Image, pos: Vector2) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `None` [INFO] [stdout] --> src/graphics.rs:142:2 [INFO] [stdout] | [INFO] [stdout] 142 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clicked_in_bounds` [INFO] [stdout] --> src/input.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn clicked_in_bounds(&self, bounds: Rect) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `phase` [INFO] [stdout] --> src/node/input.rs:6:2 [INFO] [stdout] | [INFO] [stdout] 6 | phase: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Sine` [INFO] [stdout] --> src/node/input.rs:11:2 [INFO] [stdout] | [INFO] [stdout] 11 | Sine, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Tri` [INFO] [stdout] --> src/node/input.rs:12:2 [INFO] [stdout] | [INFO] [stdout] 12 | Tri, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Saw` [INFO] [stdout] --> src/node/input.rs:13:2 [INFO] [stdout] | [INFO] [stdout] 13 | Saw, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Square` [INFO] [stdout] --> src/node/input.rs:14:2 [INFO] [stdout] | [INFO] [stdout] 14 | Square, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 37.84s [INFO] running `Command { std: "docker" "inspect" "453f11ec57bff56249721763a47b55f8918c8af6ff6274740c55a05d2ac94f2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "453f11ec57bff56249721763a47b55f8918c8af6ff6274740c55a05d2ac94f2f", kill_on_drop: false }` [INFO] [stdout] 453f11ec57bff56249721763a47b55f8918c8af6ff6274740c55a05d2ac94f2f