[INFO] cloning repository https://github.com/leytonline/rust-guitar [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leytonline/rust-guitar" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleytonline%2Frust-guitar", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleytonline%2Frust-guitar'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e5be8c5a83abf0fe9eec544aa210859938f53ddb [INFO] testing leytonline/rust-guitar against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleytonline%2Frust-guitar" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/leytonline/rust-guitar [INFO] finished tweaking git repo https://github.com/leytonline/rust-guitar [INFO] tweaked toml for git repo https://github.com/leytonline/rust-guitar written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/leytonline/rust-guitar on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/leytonline/rust-guitar 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66bdf9bf569db4e06a3b27ffc0216475182d956ed3128ac47377403b313ba5b1 [INFO] running `Command { std: "docker" "start" "-a" "66bdf9bf569db4e06a3b27ffc0216475182d956ed3128ac47377403b313ba5b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66bdf9bf569db4e06a3b27ffc0216475182d956ed3128ac47377403b313ba5b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66bdf9bf569db4e06a3b27ffc0216475182d956ed3128ac47377403b313ba5b1", kill_on_drop: false }` [INFO] [stdout] 66bdf9bf569db4e06a3b27ffc0216475182d956ed3128ac47377403b313ba5b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a7ab2beef8bfd1d5b2f6afa73fc0f3beb7627bdf87ef56ca2c8fe7520ce4cd9 [INFO] running `Command { std: "docker" "start" "-a" "2a7ab2beef8bfd1d5b2f6afa73fc0f3beb7627bdf87ef56ca2c8fe7520ce4cd9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling endi v1.1.0 [INFO] [stderr] Compiling wayland-sys v0.31.7 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling wayland-client v0.31.11 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling owned_ttf_parser v0.25.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.9 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling ab_glyph v0.2.31 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling cursor-icon v1.2.0 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-broadcast v0.7.2 [INFO] [stderr] Compiling xkeysym v0.2.1 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling xcursor v0.3.10 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling accesskit v0.19.0 [INFO] [stderr] Compiling as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling x11rb-protocol v0.13.1 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling memmap2 v0.9.7 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling accesskit_consumer v0.28.0 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling epaint_default_fonts v0.32.0 [INFO] [stderr] Compiling dpi v0.1.2 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Compiling cpal v0.16.0 [INFO] [stderr] Compiling alsa v0.9.1 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling polling v3.9.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling bytemuck_derive v1.10.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-io v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling async-signal v0.2.12 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-process v2.4.0 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling emath v0.32.0 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling wayland-protocols v0.32.9 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling wayland-cursor v0.31.11 [INFO] [stderr] Compiling ecolor v0.32.0 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling epaint v0.32.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling egui v0.32.0 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling zvariant_utils v3.2.0 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Compiling webbrowser v1.0.5 [INFO] [stderr] Compiling zvariant_derive v5.6.0 [INFO] [stderr] Compiling arboard v3.6.0 [INFO] [stderr] Compiling zvariant v5.6.0 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.9 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.9 [INFO] [stderr] Compiling egui_glow v0.32.0 [INFO] [stderr] Compiling zbus_names v4.2.0 [INFO] [stderr] Compiling zbus_xml v5.0.2 [INFO] [stderr] Compiling zbus_macros v5.9.0 [INFO] [stderr] Compiling zbus-lockstep v0.5.1 [INFO] [stderr] Compiling zbus-lockstep-macros v0.5.1 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling smithay-clipboard v0.7.2 [INFO] [stderr] Compiling zbus v5.9.0 [INFO] [stderr] Compiling atspi-common v0.9.0 [INFO] [stderr] Compiling atspi-proxies v0.9.0 [INFO] [stderr] Compiling accesskit_atspi_common v0.12.0 [INFO] [stderr] Compiling atspi-connection v0.9.0 [INFO] [stderr] Compiling atspi v0.25.0 [INFO] [stderr] Compiling accesskit_unix v0.15.0 [INFO] [stderr] Compiling accesskit_winit v0.27.0 [INFO] [stderr] Compiling egui-winit v0.32.0 [INFO] [stderr] Compiling eframe v0.32.0 [INFO] [stderr] Compiling rustuner v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/audio_stream.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::effects::{self, AtomicEffects}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/audio_stream.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut config = input_config.config(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut streamer = AudioStream::with_effects(effects.clone()); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `host`, `input_stream`, `output_stream`, `input_buffer`, and `effect_handler` are never read [INFO] [stdout] --> src/audio_stream.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct AudioStream { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 9 | host: cpal::Host, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | input_stream: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | output_stream: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | input_buffer: Option>>>, // incredible >>>> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 15 | effect_handler: Arc [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `dispatch`, `select_devices`, `list_input_devices`, and `list_output_devices` are never used [INFO] [stdout] --> src/audio_stream.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl AudioStream { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn dispatch(&mut self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn select_devices(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | fn list_input_devices(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | fn list_output_devices(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `err_fn` is never used [INFO] [stdout] --> src/audio_stream.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn err_fn(err: cpal::StreamError) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `audio_streamer` is never read [INFO] [stdout] --> src/ui.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct MyApp { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | audio_streamer: AudioStream [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_volume` is never used [INFO] [stdout] --> src/effects.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl AtomicEffects { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get_volume(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.19s [INFO] running `Command { std: "docker" "inspect" "2a7ab2beef8bfd1d5b2f6afa73fc0f3beb7627bdf87ef56ca2c8fe7520ce4cd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a7ab2beef8bfd1d5b2f6afa73fc0f3beb7627bdf87ef56ca2c8fe7520ce4cd9", kill_on_drop: false }` [INFO] [stdout] 2a7ab2beef8bfd1d5b2f6afa73fc0f3beb7627bdf87ef56ca2c8fe7520ce4cd9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1aa9a3bc2d3e1c6e2394951b0a60fd2f4c74e4894d7125b7a144f1fdff86018 [INFO] running `Command { std: "docker" "start" "-a" "f1aa9a3bc2d3e1c6e2394951b0a60fd2f4c74e4894d7125b7a144f1fdff86018", kill_on_drop: false }` [INFO] [stderr] Compiling rustuner v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/audio_stream.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::effects::{self, AtomicEffects}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/audio_stream.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut config = input_config.config(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut streamer = AudioStream::with_effects(effects.clone()); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `host`, `input_stream`, `output_stream`, `input_buffer`, and `effect_handler` are never read [INFO] [stdout] --> src/audio_stream.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct AudioStream { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 9 | host: cpal::Host, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | input_stream: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | output_stream: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | input_buffer: Option>>>, // incredible >>>> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 15 | effect_handler: Arc [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `dispatch`, `select_devices`, `list_input_devices`, and `list_output_devices` are never used [INFO] [stdout] --> src/audio_stream.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl AudioStream { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn dispatch(&mut self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn select_devices(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | fn list_input_devices(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | fn list_output_devices(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `err_fn` is never used [INFO] [stdout] --> src/audio_stream.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn err_fn(err: cpal::StreamError) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `audio_streamer` is never read [INFO] [stdout] --> src/ui.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct MyApp { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | audio_streamer: AudioStream [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_volume` is never used [INFO] [stdout] --> src/effects.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl AtomicEffects { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get_volume(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.29s [INFO] running `Command { std: "docker" "inspect" "f1aa9a3bc2d3e1c6e2394951b0a60fd2f4c74e4894d7125b7a144f1fdff86018", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1aa9a3bc2d3e1c6e2394951b0a60fd2f4c74e4894d7125b7a144f1fdff86018", kill_on_drop: false }` [INFO] [stdout] f1aa9a3bc2d3e1c6e2394951b0a60fd2f4c74e4894d7125b7a144f1fdff86018 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b62873935e66694acd35168e37faf65ec044f08c755dd849e53683666faef112 [INFO] running `Command { std: "docker" "start" "-a" "b62873935e66694acd35168e37faf65ec044f08c755dd849e53683666faef112", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/audio_stream.rs:6:22 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::effects::{self, AtomicEffects}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/audio_stream.rs:43:13 [INFO] [stderr] | [INFO] [stderr] 43 | let mut config = input_config.config(); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | let mut streamer = AudioStream::with_effects(effects.clone()); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: fields `host`, `input_stream`, `output_stream`, `input_buffer`, and `effect_handler` are never read [INFO] [stderr] --> src/audio_stream.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct AudioStream { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 9 | host: cpal::Host, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 12 | input_stream: Option, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 13 | output_stream: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 14 | input_buffer: Option>>>, // incredible >>>> [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 15 | effect_handler: Arc [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `dispatch`, `select_devices`, `list_input_devices`, and `list_output_devices` are never used [INFO] [stderr] --> src/audio_stream.rs:31:12 [INFO] [stderr] | [INFO] [stderr] 18 | impl AudioStream { [INFO] [stderr] | ---------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 31 | pub fn dispatch(&mut self) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 96 | pub fn select_devices(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 133 | fn list_input_devices(&self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 139 | fn list_output_devices(&self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `err_fn` is never used [INFO] [stderr] --> src/audio_stream.rs:171:4 [INFO] [stderr] | [INFO] [stderr] 171 | fn err_fn(err: cpal::StreamError) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `audio_streamer` is never read [INFO] [stderr] --> src/ui.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct MyApp { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] ... [INFO] [stderr] 9 | audio_streamer: AudioStream [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_volume` is never used [INFO] [stderr] --> src/effects.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl AtomicEffects { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 23 | pub fn get_volume(&self) -> f32 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rustuner` (bin "rustuner" test) generated 8 warnings (run `cargo fix --bin "rustuner" -p rustuner --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rustuner-6beb0ed3d6ba2612) [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" "b62873935e66694acd35168e37faf65ec044f08c755dd849e53683666faef112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b62873935e66694acd35168e37faf65ec044f08c755dd849e53683666faef112", kill_on_drop: false }` [INFO] [stdout] b62873935e66694acd35168e37faf65ec044f08c755dd849e53683666faef112