[INFO] cloning repository https://github.com/sout233/audio-vst [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sout233/audio-vst" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsout233%2Faudio-vst", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsout233%2Faudio-vst'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d993ca8f7cad0e62350796031a0318973d684242 [INFO] testing sout233/audio-vst against master#595316b4006932405a63862d8fe65f71a6356293 for pr-128254 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsout233%2Faudio-vst" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sout233/audio-vst on toolchain 595316b4006932405a63862d8fe65f71a6356293 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595316b4006932405a63862d8fe65f71a6356293" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sout233/audio-vst [INFO] finished tweaking git repo https://github.com/sout233/audio-vst [INFO] tweaked toml for git repo https://github.com/sout233/audio-vst written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sout233/audio-vst 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" "+595316b4006932405a63862d8fe65f71a6356293" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] testing sout233/audio-vst against try#5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b for pr-128254 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsout233%2Faudio-vst" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sout233/audio-vst on toolchain 5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sout233/audio-vst [INFO] finished tweaking git repo https://github.com/sout233/audio-vst [INFO] tweaked toml for git repo https://github.com/sout233/audio-vst written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sout233/audio-vst 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" "+5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing sout233/audio-vst against try#5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b for pr-128254 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsout233%2Faudio-vst" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sout233/audio-vst on toolchain 5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sout233/audio-vst [INFO] finished tweaking git repo https://github.com/sout233/audio-vst [INFO] tweaked toml for git repo https://github.com/sout233/audio-vst written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sout233/audio-vst 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" "+5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded raw-window-handle v0.6.1 [INFO] [stderr] Downloaded vst v0.4.0 [INFO] [stderr] Downloaded objc-sys v0.3.3 [INFO] [stderr] Downloaded ab_glyph v0.2.25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c286435b10d9d5f3c875042122e0499d34953e2f7f3b293d4d375b99fd72cb59 [INFO] running `Command { std: "docker" "start" "-a" "c286435b10d9d5f3c875042122e0499d34953e2f7f3b293d4d375b99fd72cb59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c286435b10d9d5f3c875042122e0499d34953e2f7f3b293d4d375b99fd72cb59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c286435b10d9d5f3c875042122e0499d34953e2f7f3b293d4d375b99fd72cb59", kill_on_drop: false }` [INFO] [stdout] c286435b10d9d5f3c875042122e0499d34953e2f7f3b293d4d375b99fd72cb59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7681f694fc5b6ee941c33c5ba710d25b92d80960e48707fbb3bf1fa16cec7b10 [INFO] running `Command { std: "docker" "start" "-a" "7681f694fc5b6ee941c33c5ba710d25b92d80960e48707fbb3bf1fa16cec7b10", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling symphonia-core v0.5.4 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling ttf-parser v0.20.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling xkeysym v0.2.0 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling cursor-icon v1.1.0 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling memmap2 v0.9.4 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling alsa v0.9.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Compiling symphonia-metadata v0.5.4 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Compiling owned_ttf_parser v0.20.0 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling ab_glyph v0.2.25 [INFO] [stderr] Compiling as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling x11rb-protocol v0.13.0 [INFO] [stderr] Compiling symphonia v0.5.4 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling hound v3.5.1 [INFO] [stderr] Compiling smol_str v0.2.1 [INFO] [stderr] Compiling raw-window-handle v0.6.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling rodio v0.17.3 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling minimp3 v0.5.1 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling vst v0.4.0 [INFO] [stderr] Compiling polling v3.7.0 [INFO] [stderr] Compiling calloop v0.12.4 [INFO] [stderr] Compiling wayland-client v0.31.2 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling wayland-protocols v0.31.2 [INFO] [stderr] Compiling wayland-cursor v0.31.1 [INFO] [stderr] Compiling calloop-wayland-source v0.2.0 [INFO] [stderr] Compiling wayland-protocols-wlr v0.2.0 [INFO] [stderr] Compiling wayland-protocols-plasma v0.2.0 [INFO] [stderr] Compiling sctk-adwaita v0.8.1 [INFO] [stderr] Compiling x11rb v0.13.0 [INFO] [stderr] Compiling audio-vst v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/rodio_box.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fs::File, io::BufReader, thread, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Source` and `source::SineWave` [INFO] [stdout] --> src/rodio_box.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use rodio::{source::SineWave, Decoder, OutputStream, Sink, Source}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/vst_box.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::{self, Path}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `raw_window_handle::HasRawWindowHandle`: Use `HasWindowHandle` instead [INFO] [stdout] --> src/vst_box.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use raw_window_handle::{HasRawWindowHandle, RawWindowHandle}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `winit::event_loop::EventLoop::::with_user_event`: Use `EventLoopBuilder::::with_user_event().build()` instead. [INFO] [stdout] --> src/vst_box.rs:102:60 [INFO] [stdout] | [INFO] [stdout] 102 | let event_loop = EventLoop::<(Vec,Vec)>::with_user_event().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `raw_window_handle::HasRawWindowHandle::raw_window_handle`: Use `HasWindowHandle` instead [INFO] [stdout] --> src/vst_box.rs:115:29 [INFO] [stdout] | [INFO] [stdout] 115 | let handle = window.raw_window_handle(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channels` [INFO] [stdout] --> src/cpal_box.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | 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: `next_value` [INFO] [stdout] --> src/cpal_box.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let next_value = move || { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/cpal_box.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | data: Vec, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream_handle` [INFO] [stdout] --> src/rodio_box.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | let (_stream, stream_handle) = OutputStream::try_default().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/vst_box.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | fn begin_edit(&self, index: i32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vst_box.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut plugin = loader.instance().unwrap(); [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: unused variable: `handle` [INFO] [stdout] --> src/vst_box.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | let mut handle = 0x000C068C as *mut c_void; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_sec` [INFO] [stdout] --> src/vst_box.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 141 | let t_sec = (t + i) as f64 / SAMPLE_RATE as f64; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_sec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/vst_box.rs:172:38 [INFO] [stdout] | [INFO] [stdout] 172 | Event::WindowEvent { window_id, event } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/vst_box.rs:172:49 [INFO] [stdout] | [INFO] [stdout] 172 | Event::WindowEvent { window_id, event } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `event: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/vst_box.rs:175:38 [INFO] [stdout] | [INFO] [stdout] 175 | Event::DeviceEvent { device_id, event } => (), [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/vst_box.rs:175:49 [INFO] [stdout] | [INFO] [stdout] 175 | Event::DeviceEvent { device_id, event } => (), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `event: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vst_box.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | let mut handle = 0x000C068C as *mut c_void; [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/vst_box.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | let (mut left_wav_data, mut right_wav_data) = wav_decoder::decoder::get_stereo(); [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/vst_box.rs:129:33 [INFO] [stdout] | [INFO] [stdout] 129 | let (mut left_wav_data, mut right_wav_data) = wav_decoder::decoder::get_stereo(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/wav_decoder.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | for (index, sample) in reader.samples::().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample` [INFO] [stdout] --> src/main.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let sample = cpal_box::play_test(wav_decoder::decoder::to_mono(data)); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_data` is never used [INFO] [stdout] --> src/cpal_box.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn write_data(output: &mut [T], channels: usize, next_sample: &mut dyn FnMut() -> f32) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `play` is never used [INFO] [stdout] --> src/rodio_box.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn play() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `host` and `loader` are never read [INFO] [stdout] --> src/vst_box.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Box { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 34 | host: Arc>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | plugin: PluginInstance, [INFO] [stdout] 36 | loader: PluginLoader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.53s [INFO] running `Command { std: "docker" "inspect" "7681f694fc5b6ee941c33c5ba710d25b92d80960e48707fbb3bf1fa16cec7b10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7681f694fc5b6ee941c33c5ba710d25b92d80960e48707fbb3bf1fa16cec7b10", kill_on_drop: false }` [INFO] [stdout] 7681f694fc5b6ee941c33c5ba710d25b92d80960e48707fbb3bf1fa16cec7b10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d06fd93463c9e244416d6172a40d6f868d090ddb72ef689803b64afb8c920b4 [INFO] running `Command { std: "docker" "start" "-a" "3d06fd93463c9e244416d6172a40d6f868d090ddb72ef689803b64afb8c920b4", kill_on_drop: false }` [INFO] [stderr] Compiling audio-vst v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/rodio_box.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fs::File, io::BufReader, thread, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Source` and `source::SineWave` [INFO] [stdout] --> src/rodio_box.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use rodio::{source::SineWave, Decoder, OutputStream, Sink, Source}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/vst_box.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::{self, Path}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `raw_window_handle::HasRawWindowHandle`: Use `HasWindowHandle` instead [INFO] [stdout] --> src/vst_box.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use raw_window_handle::{HasRawWindowHandle, RawWindowHandle}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `winit::event_loop::EventLoop::::with_user_event`: Use `EventLoopBuilder::::with_user_event().build()` instead. [INFO] [stdout] --> src/vst_box.rs:102:60 [INFO] [stdout] | [INFO] [stdout] 102 | let event_loop = EventLoop::<(Vec,Vec)>::with_user_event().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `raw_window_handle::HasRawWindowHandle::raw_window_handle`: Use `HasWindowHandle` instead [INFO] [stdout] --> src/vst_box.rs:115:29 [INFO] [stdout] | [INFO] [stdout] 115 | let handle = window.raw_window_handle(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channels` [INFO] [stdout] --> src/cpal_box.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | 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: `next_value` [INFO] [stdout] --> src/cpal_box.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let next_value = move || { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/cpal_box.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | data: Vec, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream_handle` [INFO] [stdout] --> src/rodio_box.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | let (_stream, stream_handle) = OutputStream::try_default().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/vst_box.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | fn begin_edit(&self, index: i32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vst_box.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut plugin = loader.instance().unwrap(); [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: unused variable: `handle` [INFO] [stdout] --> src/vst_box.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | let mut handle = 0x000C068C as *mut c_void; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_sec` [INFO] [stdout] --> src/vst_box.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 141 | let t_sec = (t + i) as f64 / SAMPLE_RATE as f64; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_sec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/vst_box.rs:172:38 [INFO] [stdout] | [INFO] [stdout] 172 | Event::WindowEvent { window_id, event } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/vst_box.rs:172:49 [INFO] [stdout] | [INFO] [stdout] 172 | Event::WindowEvent { window_id, event } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `event: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/vst_box.rs:175:38 [INFO] [stdout] | [INFO] [stdout] 175 | Event::DeviceEvent { device_id, event } => (), [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/vst_box.rs:175:49 [INFO] [stdout] | [INFO] [stdout] 175 | Event::DeviceEvent { device_id, event } => (), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `event: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vst_box.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | let mut handle = 0x000C068C as *mut c_void; [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/vst_box.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | let (mut left_wav_data, mut right_wav_data) = wav_decoder::decoder::get_stereo(); [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/vst_box.rs:129:33 [INFO] [stdout] | [INFO] [stdout] 129 | let (mut left_wav_data, mut right_wav_data) = wav_decoder::decoder::get_stereo(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/wav_decoder.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | for (index, sample) in reader.samples::().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample` [INFO] [stdout] --> src/main.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let sample = cpal_box::play_test(wav_decoder::decoder::to_mono(data)); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_data` is never used [INFO] [stdout] --> src/cpal_box.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn write_data(output: &mut [T], channels: usize, next_sample: &mut dyn FnMut() -> f32) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `play` is never used [INFO] [stdout] --> src/rodio_box.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn play() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `host` and `loader` are never read [INFO] [stdout] --> src/vst_box.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Box { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 34 | host: Arc>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | plugin: PluginInstance, [INFO] [stdout] 36 | loader: PluginLoader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.52s [INFO] running `Command { std: "docker" "inspect" "3d06fd93463c9e244416d6172a40d6f868d090ddb72ef689803b64afb8c920b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d06fd93463c9e244416d6172a40d6f868d090ddb72ef689803b64afb8c920b4", kill_on_drop: false }` [INFO] [stdout] 3d06fd93463c9e244416d6172a40d6f868d090ddb72ef689803b64afb8c920b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4f7302bc7ec2b3366a8063c3b237bc6305f1cf5db8f9528a68edf3739888e5c8 [INFO] running `Command { std: "docker" "start" "-a" "4f7302bc7ec2b3366a8063c3b237bc6305f1cf5db8f9528a68edf3739888e5c8", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `time::Duration` [INFO] [stderr] --> src/rodio_box.rs:3:44 [INFO] [stderr] | [INFO] [stderr] 3 | use std::{fs::File, io::BufReader, thread, time::Duration}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Source` and `source::SineWave` [INFO] [stderr] --> src/rodio_box.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use rodio::{source::SineWave, Decoder, OutputStream, Sink, Source}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/vst_box.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | use std::path::{self, Path}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `raw_window_handle::HasRawWindowHandle`: Use `HasWindowHandle` instead [INFO] [stderr] --> src/vst_box.rs:8:25 [INFO] [stderr] | [INFO] [stderr] 8 | use raw_window_handle::{HasRawWindowHandle, RawWindowHandle}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `winit::event_loop::EventLoop::::with_user_event`: Use `EventLoopBuilder::::with_user_event().build()` instead. [INFO] [stderr] --> src/vst_box.rs:102:60 [INFO] [stderr] | [INFO] [stderr] 102 | let event_loop = EventLoop::<(Vec,Vec)>::with_user_event().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `raw_window_handle::HasRawWindowHandle::raw_window_handle`: Use `HasWindowHandle` instead [INFO] [stderr] --> src/vst_box.rs:115:29 [INFO] [stderr] | [INFO] [stderr] 115 | let handle = window.raw_window_handle(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `channels` [INFO] [stderr] --> src/cpal_box.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | let channels = config.channels as usize; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channels` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `next_value` [INFO] [stderr] --> src/cpal_box.rs:54:9 [INFO] [stderr] | [INFO] [stderr] 54 | let next_value = move || { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/cpal_box.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | data: Vec, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stream_handle` [INFO] [stderr] --> src/rodio_box.rs:12:23 [INFO] [stderr] | [INFO] [stderr] 12 | let (_stream, stream_handle) = OutputStream::try_default().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream_handle` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> src/vst_box.rs:28:26 [INFO] [stderr] | [INFO] [stderr] 28 | fn begin_edit(&self, index: i32) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/vst_box.rs:54:13 [INFO] [stderr] | [INFO] [stderr] 54 | let mut plugin = loader.instance().unwrap(); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `handle` [INFO] [stderr] --> src/vst_box.rs:123:21 [INFO] [stderr] | [INFO] [stderr] 123 | let mut handle = 0x000C068C as *mut c_void; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t_sec` [INFO] [stderr] --> src/vst_box.rs:141:25 [INFO] [stderr] | [INFO] [stderr] 141 | let t_sec = (t + i) as f64 / SAMPLE_RATE as f64; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_sec` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `window_id` [INFO] [stderr] --> src/vst_box.rs:172:38 [INFO] [stderr] | [INFO] [stderr] 172 | Event::WindowEvent { window_id, event } => { [INFO] [stderr] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `event` [INFO] [stderr] --> src/vst_box.rs:172:49 [INFO] [stderr] | [INFO] [stderr] 172 | Event::WindowEvent { window_id, event } => { [INFO] [stderr] | ^^^^^ help: try ignoring the field: `event: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `device_id` [INFO] [stderr] --> src/vst_box.rs:175:38 [INFO] [stderr] | [INFO] [stderr] 175 | Event::DeviceEvent { device_id, event } => (), [INFO] [stderr] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `event` [INFO] [stderr] --> src/vst_box.rs:175:49 [INFO] [stderr] | [INFO] [stderr] 175 | Event::DeviceEvent { device_id, event } => (), [INFO] [stderr] | ^^^^^ help: try ignoring the field: `event: _` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/vst_box.rs:123:17 [INFO] [stderr] | [INFO] [stderr] 123 | let mut handle = 0x000C068C as *mut c_void; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/vst_box.rs:129:14 [INFO] [stderr] | [INFO] [stderr] 129 | let (mut left_wav_data, mut right_wav_data) = wav_decoder::decoder::get_stereo(); [INFO] [stderr] | ----^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/vst_box.rs:129:33 [INFO] [stderr] | [INFO] [stderr] 129 | let (mut left_wav_data, mut right_wav_data) = wav_decoder::decoder::get_stereo(); [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> src/wav_decoder.rs:12:14 [INFO] [stderr] | [INFO] [stderr] 12 | for (index, sample) in reader.samples::().enumerate() { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sample` [INFO] [stderr] --> src/main.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | let sample = cpal_box::play_test(wav_decoder::decoder::to_mono(data)); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample` [INFO] [stderr] [INFO] [stderr] warning: function `write_data` is never used [INFO] [stderr] --> src/cpal_box.rs:80:4 [INFO] [stderr] | [INFO] [stderr] 80 | fn write_data(output: &mut [T], channels: usize, next_sample: &mut dyn FnMut() -> f32) [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `play` is never used [INFO] [stderr] --> src/rodio_box.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn play() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `host` and `loader` are never read [INFO] [stderr] --> src/vst_box.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 33 | pub struct Box { [INFO] [stderr] | --- fields in this struct [INFO] [stderr] 34 | host: Arc>, [INFO] [stderr] | ^^^^ [INFO] [stderr] 35 | plugin: PluginInstance, [INFO] [stderr] 36 | loader: PluginLoader, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `audio-vst` (bin "audio-vst" test) generated 26 warnings (run `cargo fix --bin "audio-vst" --tests` to apply 7 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/audio_vst-9f16c22ee5d08f15) [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" "4f7302bc7ec2b3366a8063c3b237bc6305f1cf5db8f9528a68edf3739888e5c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f7302bc7ec2b3366a8063c3b237bc6305f1cf5db8f9528a68edf3739888e5c8", kill_on_drop: false }` [INFO] [stdout] 4f7302bc7ec2b3366a8063c3b237bc6305f1cf5db8f9528a68edf3739888e5c8