[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/b7bfb051182fdbde21354326140f37693b7ab890 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheOnlyMrCat%2FLoud" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TheOnlyMrCat/Loud on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-7-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ringbuf v0.2.2 [INFO] [stderr] Downloaded ureq v1.5.4 [INFO] [stderr] Downloaded libflate_lz77 v1.0.0 [INFO] [stderr] Downloaded fetch_unroll v0.2.2 [INFO] [stderr] Downloaded derivative v2.1.3 [INFO] [stderr] Downloaded libflate v1.0.3 [INFO] [stderr] Downloaded bytes v1.0.0 [INFO] [stderr] Downloaded standback v0.2.14 [INFO] [stderr] Downloaded combine v4.5.1 [INFO] [stderr] Downloaded ring v0.16.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8dd530079c0b01db7a79077652dc8c6a98389f775c7903f813702e7db53e6398 [INFO] running `Command { std: "docker" "start" "-a" "8dd530079c0b01db7a79077652dc8c6a98389f775c7903f813702e7db53e6398", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8dd530079c0b01db7a79077652dc8c6a98389f775c7903f813702e7db53e6398", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dd530079c0b01db7a79077652dc8c6a98389f775c7903f813702e7db53e6398", kill_on_drop: false }` [INFO] [stdout] 8dd530079c0b01db7a79077652dc8c6a98389f775c7903f813702e7db53e6398 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2603b5083fb814a37a89f06ae1883f06d407945550da20d5cd0f3ce8361155e3 [INFO] running `Command { std: "docker" "start" "-a" "2603b5083fb814a37a89f06ae1883f06d407945550da20d5cd0f3ce8361155e3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling sdl2 v0.34.3 [INFO] [stderr] Compiling cpal v0.13.1 [INFO] [stderr] Checking ringbuf v0.2.2 [INFO] [stderr] Compiling sdl2-sys v0.34.3 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Checking alsa v0.4.3 [INFO] [stderr] Checking thiserror v1.0.23 [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: `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] = note: `#[warn(unused_variables)]` on by default [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: 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] [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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_SAMPLE_RATE` is never used [INFO] [stdout] --> src/audio.rs:3:7 [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 `AudioStream` is never constructed [INFO] [stdout] --> src/audio.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AudioStream { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BuildAudioStreamError` is never used [INFO] [stdout] --> src/audio.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum BuildAudioStreamError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BuildAudioStreamError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_device`, `play`, `push_audio`, `buffer_remaining`, and `buffer_full` are never used [INFO] [stdout] --> src/audio.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 18 | / impl AudioStream [INFO] [stdout] 19 | | where [INFO] [stdout] 20 | | D: cpal::traits::DeviceTrait, [INFO] [stdout] | |_________________________________- associated items in this implementation [INFO] [stdout] 21 | { [INFO] [stdout] 22 | pub fn with_device(device: D) -> Result, BuildAudioStreamError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn play(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn push_audio(&mut self, data: &[f32]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn buffer_remaining(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn buffer_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WaveGenerator` is never constructed [INFO] [stdout] --> src/audio.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct WaveGenerator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `play_sine_freq_to`, `play_tri_freq_to`, `play_saw_freq_to`, and `play_square_freq_to` are never used [INFO] [stdout] --> src/audio.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | impl WaveGenerator { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 82 | pub fn play_sine_freq_to(&self, frequency: f64, audio_stream: &mut AudioStream) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn play_tri_freq_to(&self, frequency: f64, audio_stream: &mut AudioStream) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn play_saw_freq_to(&self, frequency: f64, audio_stream: &mut AudioStream) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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 `semitone_to_frequency` is never used [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: method `render` is never used [INFO] [stdout] --> src/graphics.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 98 | impl GraphicsHandler { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn render(&mut self, image: &Image, pos: Vector2) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `None` is never constructed [INFO] [stdout] --> src/graphics.rs:142:2 [INFO] [stdout] | [INFO] [stdout] 141 | pub enum Image { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 142 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clicked_in_bounds` is never used [INFO] [stdout] --> src/input.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 25 | impl InputHandler { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn clicked_in_bounds(&self, bounds: Rect) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parents` is never read [INFO] [stdout] --> src/node.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct WorkbenchNode { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 9 | pub pos: Vector2, [INFO] [stdout] 10 | pub parents: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `inputs`, `outputs`, and `tick` are never used [INFO] [stdout] --> src/node.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait Node { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] 20 | fn title(&self) -> String; [INFO] [stdout] 21 | fn inputs(&self) -> Vec; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | fn outputs(&self) -> Vec; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | [INFO] [stdout] 24 | fn tick(&mut self, parents: &[NodeConnection], tick: u32, node_list: &[WorkbenchNode]); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `form` and `freq` are never read [INFO] [stdout] --> src/node/input.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Wave { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 4 | pub form: Waveform, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | pub freq: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Sine`, `Tri`, `Saw`, and `Square` are never constructed [INFO] [stdout] --> src/node/input.rs:11:2 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Waveform { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 11 | Sine, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | Tri, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | Saw, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | Square, [INFO] [stdout] | ^^^^^^ [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: 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] [INFO] [stdout] warning: constant `DEFAULT_SAMPLE_RATE` is never used [INFO] [stdout] --> src/audio.rs:3:7 [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 `AudioStream` is never constructed [INFO] [stdout] --> src/audio.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AudioStream { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BuildAudioStreamError` is never used [INFO] [stdout] --> src/audio.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum BuildAudioStreamError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BuildAudioStreamError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_device`, `play`, `push_audio`, `buffer_remaining`, and `buffer_full` are never used [INFO] [stdout] --> src/audio.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 18 | / impl AudioStream [INFO] [stdout] 19 | | where [INFO] [stdout] 20 | | D: cpal::traits::DeviceTrait, [INFO] [stdout] | |_________________________________- associated items in this implementation [INFO] [stdout] 21 | { [INFO] [stdout] 22 | pub fn with_device(device: D) -> Result, BuildAudioStreamError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn play(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn push_audio(&mut self, data: &[f32]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn buffer_remaining(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn buffer_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WaveGenerator` is never constructed [INFO] [stdout] --> src/audio.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct WaveGenerator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `play_sine_freq_to`, `play_tri_freq_to`, `play_saw_freq_to`, and `play_square_freq_to` are never used [INFO] [stdout] --> src/audio.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | impl WaveGenerator { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 82 | pub fn play_sine_freq_to(&self, frequency: f64, audio_stream: &mut AudioStream) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn play_tri_freq_to(&self, frequency: f64, audio_stream: &mut AudioStream) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn play_saw_freq_to(&self, frequency: f64, audio_stream: &mut AudioStream) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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 `semitone_to_frequency` is never used [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: method `render` is never used [INFO] [stdout] --> src/graphics.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 98 | impl GraphicsHandler { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn render(&mut self, image: &Image, pos: Vector2) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `None` is never constructed [INFO] [stdout] --> src/graphics.rs:142:2 [INFO] [stdout] | [INFO] [stdout] 141 | pub enum Image { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 142 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clicked_in_bounds` is never used [INFO] [stdout] --> src/input.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 25 | impl InputHandler { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn clicked_in_bounds(&self, bounds: Rect) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parents` is never read [INFO] [stdout] --> src/node.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct WorkbenchNode { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 9 | pub pos: Vector2, [INFO] [stdout] 10 | pub parents: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `inputs`, `outputs`, and `tick` are never used [INFO] [stdout] --> src/node.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait Node { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] 20 | fn title(&self) -> String; [INFO] [stdout] 21 | fn inputs(&self) -> Vec; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | fn outputs(&self) -> Vec; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | [INFO] [stdout] 24 | fn tick(&mut self, parents: &[NodeConnection], tick: u32, node_list: &[WorkbenchNode]); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `form` and `freq` are never read [INFO] [stdout] --> src/node/input.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Wave { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 4 | pub form: Waveform, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | pub freq: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Sine`, `Tri`, `Saw`, and `Square` are never constructed [INFO] [stdout] --> src/node/input.rs:11:2 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Waveform { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 11 | Sine, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | Tri, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | Saw, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | Square, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.76s [INFO] running `Command { std: "docker" "inspect" "2603b5083fb814a37a89f06ae1883f06d407945550da20d5cd0f3ce8361155e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2603b5083fb814a37a89f06ae1883f06d407945550da20d5cd0f3ce8361155e3", kill_on_drop: false }` [INFO] [stdout] 2603b5083fb814a37a89f06ae1883f06d407945550da20d5cd0f3ce8361155e3