[INFO] cloning repository https://github.com/dritory/synthseq [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dritory/synthseq" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdritory%2Fsynthseq", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdritory%2Fsynthseq'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dd178af477d0d21310c99840299ffe33a55dfd33 [INFO] checking dritory/synthseq against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdritory%2Fsynthseq" "/workspace/builds/worker-37/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-37/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dritory/synthseq on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dritory/synthseq [INFO] finished tweaking git repo https://github.com/dritory/synthseq [INFO] tweaked toml for git repo https://github.com/dritory/synthseq written to /workspace/builds/worker-37/source/Cargo.toml [INFO] crate git repo https://github.com/dritory/synthseq already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b60c6647759640d0af4e49588f3bd9ee6fcd0a9305530689bd23b4ea9b06c32e [INFO] running `Command { std: "docker" "start" "-a" "b60c6647759640d0af4e49588f3bd9ee6fcd0a9305530689bd23b4ea9b06c32e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b60c6647759640d0af4e49588f3bd9ee6fcd0a9305530689bd23b4ea9b06c32e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b60c6647759640d0af4e49588f3bd9ee6fcd0a9305530689bd23b4ea9b06c32e", kill_on_drop: false }` [INFO] [stdout] b60c6647759640d0af4e49588f3bd9ee6fcd0a9305530689bd23b4ea9b06c32e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 697dae97493ad1859ba2fa89a15d3f9b4d5e3d52ce2d89b9e9ca2a519ef60155 [INFO] running `Command { std: "docker" "start" "-a" "697dae97493ad1859ba2fa89a15d3f9b4d5e3d52ce2d89b9e9ca2a519ef60155", kill_on_drop: false }` [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking dasp_ring_buffer v0.11.0 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling cpal v0.13.3 [INFO] [stderr] Checking memalloc v0.1.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking dasp_frame v0.11.0 [INFO] [stderr] Checking dasp_window v0.11.1 [INFO] [stderr] Checking synthesizer-io-core v0.1.0 (https://github.com/raphlinus/synthesizer-io#a957c782) [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking dasp_peak v0.11.0 [INFO] [stderr] Checking dasp_rms v0.11.0 [INFO] [stderr] Checking dasp_interpolate v0.11.0 [INFO] [stderr] Checking dasp_slice v0.11.0 [INFO] [stderr] Checking num-iter v0.1.42 [INFO] [stderr] Checking dasp_envelope v0.11.0 [INFO] [stderr] Checking dasp_signal v0.11.0 [INFO] [stderr] Checking dasp v0.11.0 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking alsa v0.4.3 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking alsa v0.5.0 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking pitch_calc v0.12.0 [INFO] [stderr] Checking midir v0.7.0 [INFO] [stderr] Checking rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `time` [INFO] [stdout] --> src/engine.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use time; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Note`, `SetParam` [INFO] [stdout] --> src/engine.rs:19:65 [INFO] [stdout] | [INFO] [stdout] 19 | use synthesizer_io_core::graph::{IntoBoxedSlice, Message, Node, Note, SetParam}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ControlMap` [INFO] [stdout] --> src/note.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::engine::{ControlMap, Engine}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntoBoxedSlice`, `Node`, `SetParam` [INFO] [stdout] --> src/note.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use synthesizer_io_core::graph::{IntoBoxedSlice, Message, Node, Note, SetParam}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `synthesizer_io_core::modules` [INFO] [stdout] --> src/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use synthesizer_io_core::modules; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntoBoxedSlice`, `Message`, `Node`, `Note`, `SetParam` [INFO] [stdout] --> src/main.rs:44:34 [INFO] [stdout] | [INFO] [stdout] 44 | use synthesizer_io_core::graph::{IntoBoxedSlice, Message, Node, Note, SetParam}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^ ^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Module` [INFO] [stdout] --> src/main.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | use synthesizer_io_core::module::{Module, N_SAMPLES_PER_CHUNK}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `synthesizer_io_core::queue::Sender` [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | use synthesizer_io_core::queue::Sender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time` [INFO] [stdout] --> src/engine.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use time; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Note`, `SetParam` [INFO] [stdout] --> src/engine.rs:19:65 [INFO] [stdout] | [INFO] [stdout] 19 | use synthesizer_io_core::graph::{IntoBoxedSlice, Message, Node, Note, SetParam}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ControlMap` [INFO] [stdout] --> src/note.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::engine::{ControlMap, Engine}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntoBoxedSlice`, `Node`, `SetParam` [INFO] [stdout] --> src/note.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use synthesizer_io_core::graph::{IntoBoxedSlice, Message, Node, Note, SetParam}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `synthesizer_io_core::modules` [INFO] [stdout] --> src/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use synthesizer_io_core::modules; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntoBoxedSlice`, `Message`, `Node`, `Note`, `SetParam` [INFO] [stdout] --> src/main.rs:44:34 [INFO] [stdout] | [INFO] [stdout] 44 | use synthesizer_io_core::graph::{IntoBoxedSlice, Message, Node, Note, SetParam}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^ ^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Module` [INFO] [stdout] --> src/main.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | use synthesizer_io_core::module::{Module, N_SAMPLES_PER_CHUNK}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `synthesizer_io_core::queue::Sender` [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | use synthesizer_io_core::queue::Sender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/main.rs:150:33 [INFO] [stdout] | [INFO] [stdout] 150 | move |data: &mut [f32], info: &cpal::OutputCallbackInfo| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:171:15 [INFO] [stdout] | [INFO] [stdout] 171 | move |err| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/engine.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | for c in 0..channel_count{ [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/engine.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | for c in 0..channel_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let mut note_module = NoteModule::new(VOICE_COUNT); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | let mut buf_slice = data; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | let mut control_map = self.core.init_controls(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `NodeId` [INFO] [stdout] --> src/engine.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub type NodeId = usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ModuleType` [INFO] [stdout] --> src/engine.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum ModuleType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rx` [INFO] [stdout] --> src/engine.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | rx: Receiver, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rx` [INFO] [stdout] --> src/engine.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | rx: Receiver>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tx` [INFO] [stdout] --> src/engine.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | tx: Sender>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `init_monosynth` [INFO] [stdout] --> src/engine.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn init_monosynth(&mut self, channel_count: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `poll_rx` [INFO] [stdout] --> src/engine.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn poll_rx(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `poll_monitor` [INFO] [stdout] --> src/engine.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn poll_monitor(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `instantiate_module` [INFO] [stdout] --> src/engine.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn instantiate_module(&mut self, node_id: NodeId, ty: ModuleType) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_outputs` [INFO] [stdout] --> src/engine.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn set_outputs(&mut self, outputs: &[usize]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `poll_rx` [INFO] [stdout] --> src/engine.rs:267:8 [INFO] [stdout] | [INFO] [stdout] 267 | fn poll_rx(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `poll_monitor` [INFO] [stdout] --> src/engine.rs:271:8 [INFO] [stdout] | [INFO] [stdout] 271 | fn poll_monitor(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `instantiate_module` [INFO] [stdout] --> src/engine.rs:289:8 [INFO] [stdout] | [INFO] [stdout] 289 | fn instantiate_module(&mut self, _node_id: NodeId, ty: ModuleType) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_NODES` [INFO] [stdout] --> src/main.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | const MAX_NODES : usize = 255; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CHANNELS` [INFO] [stdout] --> src/main.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | const CHANNELS: i32 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/main.rs:150:33 [INFO] [stdout] | [INFO] [stdout] 150 | move |data: &mut [f32], info: &cpal::OutputCallbackInfo| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:171:15 [INFO] [stdout] | [INFO] [stdout] 171 | move |err| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/engine.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | for c in 0..channel_count{ [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/engine.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | for c in 0..channel_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let mut note_module = NoteModule::new(VOICE_COUNT); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | let mut buf_slice = data; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | let mut control_map = self.core.init_controls(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `NodeId` [INFO] [stdout] --> src/engine.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub type NodeId = usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ModuleType` [INFO] [stdout] --> src/engine.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum ModuleType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rx` [INFO] [stdout] --> src/engine.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | rx: Receiver, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rx` [INFO] [stdout] --> src/engine.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | rx: Receiver>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tx` [INFO] [stdout] --> src/engine.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | tx: Sender>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `init_monosynth` [INFO] [stdout] --> src/engine.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn init_monosynth(&mut self, channel_count: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `poll_rx` [INFO] [stdout] --> src/engine.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn poll_rx(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `poll_monitor` [INFO] [stdout] --> src/engine.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn poll_monitor(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `instantiate_module` [INFO] [stdout] --> src/engine.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn instantiate_module(&mut self, node_id: NodeId, ty: ModuleType) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_outputs` [INFO] [stdout] --> src/engine.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn set_outputs(&mut self, outputs: &[usize]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `poll_rx` [INFO] [stdout] --> src/engine.rs:267:8 [INFO] [stdout] | [INFO] [stdout] 267 | fn poll_rx(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `poll_monitor` [INFO] [stdout] --> src/engine.rs:271:8 [INFO] [stdout] | [INFO] [stdout] 271 | fn poll_monitor(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `instantiate_module` [INFO] [stdout] --> src/engine.rs:289:8 [INFO] [stdout] | [INFO] [stdout] 289 | fn instantiate_module(&mut self, _node_id: NodeId, ty: ModuleType) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_NODES` [INFO] [stdout] --> src/main.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | const MAX_NODES : usize = 255; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CHANNELS` [INFO] [stdout] --> src/main.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | const CHANNELS: i32 = 2; [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 16.89s [INFO] running `Command { std: "docker" "inspect" "697dae97493ad1859ba2fa89a15d3f9b4d5e3d52ce2d89b9e9ca2a519ef60155", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "697dae97493ad1859ba2fa89a15d3f9b4d5e3d52ce2d89b9e9ca2a519ef60155", kill_on_drop: false }` [INFO] [stdout] 697dae97493ad1859ba2fa89a15d3f9b4d5e3d52ce2d89b9e9ca2a519ef60155