[INFO] cloning repository https://github.com/khoidauminh/coffeevis_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/khoidauminh/coffeevis_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkhoidauminh%2Fcoffeevis_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkhoidauminh%2Fcoffeevis_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 745aee349ca3183929616e6e8fb6c21c04c8127e [INFO] checking khoidauminh/coffeevis_rs against master#1204400ab8da9830f6f77a5e40e7ad3ea459676a for pr-94295 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkhoidauminh%2Fcoffeevis_rs" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/khoidauminh/coffeevis_rs on toolchain 1204400ab8da9830f6f77a5e40e7ad3ea459676a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1204400ab8da9830f6f77a5e40e7ad3ea459676a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/khoidauminh/coffeevis_rs [INFO] finished tweaking git repo https://github.com/khoidauminh/coffeevis_rs [INFO] tweaked toml for git repo https://github.com/khoidauminh/coffeevis_rs written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/khoidauminh/coffeevis_rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1204400ab8da9830f6f77a5e40e7ad3ea459676a" "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 xkbcommon-sys v0.7.5 [INFO] [stderr] Downloaded xkb v0.2.1 [INFO] [stderr] Downloaded clang-sys v1.2.2 [INFO] [stderr] Downloaded oboe v0.4.4 [INFO] [stderr] Downloaded oboe-sys v0.4.4 [INFO] [stderr] Downloaded num_enum v0.5.4 [INFO] [stderr] Downloaded num_enum_derive v0.5.4 [INFO] [stderr] Downloaded ndk v0.4.0 [INFO] [stderr] Downloaded alsa v0.5.0 [INFO] [stderr] Downloaded coreaudio-sys v0.2.8 [INFO] [stderr] Downloaded cmake v0.1.46 [INFO] [stderr] Downloaded libloading v0.7.1 [INFO] [stderr] Downloaded pkg-config v0.3.20 [INFO] [stderr] Downloaded combine v4.6.1 [INFO] [stderr] Downloaded cpal v0.13.4 [INFO] [stderr] Downloaded minifb v0.19.3 [INFO] [stderr] Downloaded ndk-glue v0.4.0 [INFO] [stderr] Downloaded orbclient v0.3.31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1204400ab8da9830f6f77a5e40e7ad3ea459676a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f9fac976ba3a064104c5fdec7f221e43b28e35b41dd8bf7a5995844629b36a9 [INFO] running `Command { std: "docker" "start" "-a" "5f9fac976ba3a064104c5fdec7f221e43b28e35b41dd8bf7a5995844629b36a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f9fac976ba3a064104c5fdec7f221e43b28e35b41dd8bf7a5995844629b36a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f9fac976ba3a064104c5fdec7f221e43b28e35b41dd8bf7a5995844629b36a9", kill_on_drop: false }` [INFO] [stdout] 5f9fac976ba3a064104c5fdec7f221e43b28e35b41dd8bf7a5995844629b36a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1204400ab8da9830f6f77a5e40e7ad3ea459676a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87719d3c1c04213eecd9b8e50b70455aca69f5b5a9e80e7e5f4af68b32bd8447 [INFO] running `Command { std: "docker" "start" "-a" "87719d3c1c04213eecd9b8e50b70455aca69f5b5a9e80e7e5f4af68b32bd8447", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.104 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Checking minimal-lexical v0.1.4 [INFO] [stderr] Compiling cpal v0.13.4 [INFO] [stderr] Compiling clang-sys v1.2.2 [INFO] [stderr] Compiling libloading v0.7.1 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Checking memchr v2.4.1 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking alsa v0.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling minifb v0.19.3 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Compiling xkbcommon-sys v0.7.5 [INFO] [stderr] Checking xkb v0.2.1 [INFO] [stderr] Checking coffeevis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Data` [INFO] [stdout] --> src/audio_input/input_stream.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use cpal::{Data, Sample, SampleFormat}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamTrait` [INFO] [stdout] --> src/audio_input/input_stream.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 2 | use cpal::traits::{DeviceTrait, HostTrait, StreamTrait}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FFT_SIZE`, `POWER` [INFO] [stdout] --> src/math/mod.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::constants::{FFT_SIZE, POWER, pi2, pif32, pih}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/math/mod.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | if (x < 2) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 77 - if (x < 2) { [INFO] [stdout] 77 + if x < 2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/math/mod.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 209 | if (n < 2) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 209 - if (n < 2) { [INFO] [stdout] 209 + if n < 2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PHASE_OFFSET`, `VOL_SCL`, `WAV_WIN`, `console_clear` [INFO] [stdout] --> src/graphics/visualizers/dash_line.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::constants::{PHASE_OFFSET, INCREMENT, VOL_SCL, WAV_WIN, console_clear, WIN_W, WIN_H}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `P2`, `coord_to_1d`, `draw_line`, `p2_add`, `rgb_to_u32`, `win_clear_alpha`, `win_clear` [INFO] [stdout] --> src/graphics/visualizers/dash_line.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::graphics::graphical_fn::{rgb_to_u32, coord_to_1d, win_clear, win_clear_alpha, draw_line, P2, p2_add}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/graphics/visualizers/dash_line.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | if (horizontal) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12 - if (horizontal) { [INFO] [stdout] 12 + if horizontal { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SMOOTHING`, `console_clear` [INFO] [stdout] --> src/graphics/visualizers/oscilloscope.rs:1:67 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::constants::{PHASE_OFFSET, INCREMENT, VOL_SCL, WAV_WIN, console_clear, WIN_W, WIN_H, SMOOTHING}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `P2`, `draw_line`, `p2_add`, `win_clear_alpha` [INFO] [stdout] --> src/graphics/visualizers/oscilloscope.rs:3:73 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::graphics::graphical_fn::{rgb_to_u32, coord_to_1d, win_clear, win_clear_alpha, draw_line, P2, p2_add, draw_rect}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/graphics/visualizers/oscilloscope.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | i = (i+INCREMENT+1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - i = (i+INCREMENT+1); [INFO] [stdout] 43 + i = i+INCREMENT+1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/graphics/visualizers/oscilloscope.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | i = (i+INCREMENT+1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 82 - i = (i+INCREMENT+1); [INFO] [stdout] 82 + i = i+INCREMENT+1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/graphics/visualizers/spectrum.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpal::Sample` [INFO] [stdout] --> src/graphics/visualizers/spectrum.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use cpal::Sample; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `linear`, `shrink_stream_i16` [INFO] [stdout] --> src/graphics/visualizers/spectrum.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::audio_input::input_stream::{linear, shrink_stream_i16}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `pi2`, `pih` [INFO] [stdout] --> src/graphics/visualizers/spectrum.rs:8:79 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::constants::{VOL_SCL, FFT_SIZE, SMOOTHING, WIN_H, WIN_W, INCREMENT, pi2, pih}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/graphics/visualizers/spectrum.rs:68:28 [INFO] [stdout] | [INFO] [stdout] 68 | let bar_height1 = ((math::interpolate::lineari(data_f1[idx].0, data_f1[idx_next].0, t)*scaling) as usize / 12); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 68 - let bar_height1 = ((math::interpolate::lineari(data_f1[idx].0, data_f1[idx_next].0, t)*scaling) as usize / 12); [INFO] [stdout] 68 + let bar_height1 = (math::interpolate::lineari(data_f1[idx].0, data_f1[idx_next].0, t)*scaling) as usize / 12; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/graphics/visualizers/spectrum.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | let bar_height2 = ((math::interpolate::lineari(data_f1[idx].1, data_f1[idx_next].1, t)*scaling) as usize / 12); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 69 - let bar_height2 = ((math::interpolate::lineari(data_f1[idx].1, data_f1[idx_next].1, t)*scaling) as usize / 12); [INFO] [stdout] 69 + let bar_height2 = (math::interpolate::lineari(data_f1[idx].1, data_f1[idx_next].1, t)*scaling) as usize / 12; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `draw_rect`, `linear_interp`, `win_clear` [INFO] [stdout] --> src/graphics/visualizers/lazer.rs:1:62 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::graphical_fn::{rgb_to_u32, coord_to_1d, win_clear, win_clear_alpha, draw_rect, P2, linear_interp, draw_line_direct}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PHASE_OFFSET`, `WAV_WIN`, `console_clear` [INFO] [stdout] --> src/graphics/visualizers/lazer.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::constants::{PHASE_OFFSET, INCREMENT, VOL_SCL, WAV_WIN, console_clear, WIN_W, WIN_H}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/graphics/visualizers/lazer.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | if (p1.0 == pos.0 && p1.1 == pos.1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 - if (p1.0 == pos.0 && p1.1 == pos.1) { [INFO] [stdout] 65 + if p1.0 == pos.0 && p1.1 == pos.1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/graphics/visualizers/shaky_coffee.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/graphics/visualizers/shaky_coffee.rs:153:23 [INFO] [stdout] | [INFO] [stdout] 153 | data_f[i].0 = (stream[i.min(stream.len())].0*VOL_SCL); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 153 - data_f[i].0 = (stream[i.min(stream.len())].0*VOL_SCL); [INFO] [stdout] 153 + data_f[i].0 = stream[i.min(stream.len())].0*VOL_SCL; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `INCREMENT`, `PHASE_OFFSET`, `WAV_WIN`, `console_clear` [INFO] [stdout] --> src/graphics/visualizers/vol_sweeper.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::constants::{PHASE_OFFSET, INCREMENT, VOL_SCL, WAV_WIN, console_clear, WIN_W, WIN_H}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `P2`, `coord_to_1d`, `draw_line`, `p2_add`, `win_clear` [INFO] [stdout] --> src/graphics/visualizers/vol_sweeper.rs:2:49 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::graphics::graphical_fn::{rgb_to_u32, coord_to_1d, win_clear, win_clear_alpha, draw_line, P2, p2_add}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/graphics/visualizers/vol_sweeper.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | if (_sweep & 1 == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - if (_sweep & 1 == 0) { [INFO] [stdout] 17 + if _sweep & 1 == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `P2`, `draw_line`, `p2_add`, `win_clear_alpha` [INFO] [stdout] --> src/graphics/visualizers/ring.rs:2:73 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::graphics::graphical_fn::{rgb_to_u32, coord_to_1d, win_clear, win_clear_alpha, draw_line, P2, p2_add}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/graphics/visualizers/ring.rs:31:114 [INFO] [stdout] | [INFO] [stdout] 31 | let p = crate::math::euler(complex_add(complex_mul(stream[_i % stream.len()], (0.35, 0.0)), (0.5, 0.0)), (di as f32 * rate)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 31 - let p = crate::math::euler(complex_add(complex_mul(stream[_i % stream.len()], (0.35, 0.0)), (0.5, 0.0)), (di as f32 * rate)); [INFO] [stdout] 31 + let p = crate::math::euler(complex_add(complex_mul(stream[_i % stream.len()], (0.35, 0.0)), (0.5, 0.0)), di as f32 * rate); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `pi2`, `pih` [INFO] [stdout] --> src/graphics/visualizers/bars.rs:1:79 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::constants::{VOL_SCL, FFT_SIZE, SMOOTHING, WIN_H, WIN_W, INCREMENT, pi2, pih}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pi2` [INFO] [stdout] --> src/graphics/graphical_fn.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::constants::{WIN_H, WIN_W, pi2, pih}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/graphics/graphical_fn.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 205 | if (d <= thickness) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 205 - if (d <= thickness) { [INFO] [stdout] 205 + if d <= thickness { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/graphics/graphical_fn.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | (a + (b-a)*lerp) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 221 - (a + (b-a)*lerp) [INFO] [stdout] 221 + a + (b-a)*lerp [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/graphics/graphical_fn.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | (a + (b-a)*t) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 232 - (a + (b-a)*t) [INFO] [stdout] 232 + a + (b-a)*t [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 72 | if (VIS_IDX != SWITCH) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 72 - if (VIS_IDX != SWITCH) { [INFO] [stdout] 72 + if VIS_IDX != SWITCH { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Data` [INFO] [stdout] --> src/audio_input/input_stream.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use cpal::{Data, Sample, SampleFormat}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamTrait` [INFO] [stdout] --> src/audio_input/input_stream.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 2 | use cpal::traits::{DeviceTrait, HostTrait, StreamTrait}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FFT_SIZE`, `POWER` [INFO] [stdout] --> src/math/mod.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::constants::{FFT_SIZE, POWER, pi2, pif32, pih}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/math/mod.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | if (x < 2) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 77 - if (x < 2) { [INFO] [stdout] 77 + if x < 2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/math/mod.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 209 | if (n < 2) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 209 - if (n < 2) { [INFO] [stdout] 209 + if n < 2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PHASE_OFFSET`, `VOL_SCL`, `WAV_WIN`, `console_clear` [INFO] [stdout] --> src/graphics/visualizers/dash_line.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::constants::{PHASE_OFFSET, INCREMENT, VOL_SCL, WAV_WIN, console_clear, WIN_W, WIN_H}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `P2`, `coord_to_1d`, `draw_line`, `p2_add`, `rgb_to_u32`, `win_clear_alpha`, `win_clear` [INFO] [stdout] --> src/graphics/visualizers/dash_line.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::graphics::graphical_fn::{rgb_to_u32, coord_to_1d, win_clear, win_clear_alpha, draw_line, P2, p2_add}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/graphics/visualizers/dash_line.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | if (horizontal) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12 - if (horizontal) { [INFO] [stdout] 12 + if horizontal { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SMOOTHING`, `console_clear` [INFO] [stdout] --> src/graphics/visualizers/oscilloscope.rs:1:67 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::constants::{PHASE_OFFSET, INCREMENT, VOL_SCL, WAV_WIN, console_clear, WIN_W, WIN_H, SMOOTHING}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `P2`, `draw_line`, `p2_add`, `win_clear_alpha` [INFO] [stdout] --> src/graphics/visualizers/oscilloscope.rs:3:73 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::graphics::graphical_fn::{rgb_to_u32, coord_to_1d, win_clear, win_clear_alpha, draw_line, P2, p2_add, draw_rect}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/graphics/visualizers/oscilloscope.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | i = (i+INCREMENT+1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - i = (i+INCREMENT+1); [INFO] [stdout] 43 + i = i+INCREMENT+1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/graphics/visualizers/oscilloscope.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | i = (i+INCREMENT+1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 82 - i = (i+INCREMENT+1); [INFO] [stdout] 82 + i = i+INCREMENT+1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/graphics/visualizers/spectrum.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpal::Sample` [INFO] [stdout] --> src/graphics/visualizers/spectrum.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use cpal::Sample; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `linear`, `shrink_stream_i16` [INFO] [stdout] --> src/graphics/visualizers/spectrum.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::audio_input::input_stream::{linear, shrink_stream_i16}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `pi2`, `pih` [INFO] [stdout] --> src/graphics/visualizers/spectrum.rs:8:79 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::constants::{VOL_SCL, FFT_SIZE, SMOOTHING, WIN_H, WIN_W, INCREMENT, pi2, pih}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/graphics/visualizers/spectrum.rs:68:28 [INFO] [stdout] | [INFO] [stdout] 68 | let bar_height1 = ((math::interpolate::lineari(data_f1[idx].0, data_f1[idx_next].0, t)*scaling) as usize / 12); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 68 - let bar_height1 = ((math::interpolate::lineari(data_f1[idx].0, data_f1[idx_next].0, t)*scaling) as usize / 12); [INFO] [stdout] 68 + let bar_height1 = (math::interpolate::lineari(data_f1[idx].0, data_f1[idx_next].0, t)*scaling) as usize / 12; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/graphics/visualizers/spectrum.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | let bar_height2 = ((math::interpolate::lineari(data_f1[idx].1, data_f1[idx_next].1, t)*scaling) as usize / 12); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 69 - let bar_height2 = ((math::interpolate::lineari(data_f1[idx].1, data_f1[idx_next].1, t)*scaling) as usize / 12); [INFO] [stdout] 69 + let bar_height2 = (math::interpolate::lineari(data_f1[idx].1, data_f1[idx_next].1, t)*scaling) as usize / 12; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `draw_rect`, `linear_interp`, `win_clear` [INFO] [stdout] --> src/graphics/visualizers/lazer.rs:1:62 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::graphical_fn::{rgb_to_u32, coord_to_1d, win_clear, win_clear_alpha, draw_rect, P2, linear_interp, draw_line_direct}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PHASE_OFFSET`, `WAV_WIN`, `console_clear` [INFO] [stdout] --> src/graphics/visualizers/lazer.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::constants::{PHASE_OFFSET, INCREMENT, VOL_SCL, WAV_WIN, console_clear, WIN_W, WIN_H}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/graphics/visualizers/lazer.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | if (p1.0 == pos.0 && p1.1 == pos.1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 - if (p1.0 == pos.0 && p1.1 == pos.1) { [INFO] [stdout] 65 + if p1.0 == pos.0 && p1.1 == pos.1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/graphics/visualizers/shaky_coffee.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/graphics/visualizers/shaky_coffee.rs:153:23 [INFO] [stdout] | [INFO] [stdout] 153 | data_f[i].0 = (stream[i.min(stream.len())].0*VOL_SCL); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 153 - data_f[i].0 = (stream[i.min(stream.len())].0*VOL_SCL); [INFO] [stdout] 153 + data_f[i].0 = stream[i.min(stream.len())].0*VOL_SCL; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `INCREMENT`, `PHASE_OFFSET`, `WAV_WIN`, `console_clear` [INFO] [stdout] --> src/graphics/visualizers/vol_sweeper.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::constants::{PHASE_OFFSET, INCREMENT, VOL_SCL, WAV_WIN, console_clear, WIN_W, WIN_H}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `P2`, `coord_to_1d`, `draw_line`, `p2_add`, `win_clear` [INFO] [stdout] --> src/graphics/visualizers/vol_sweeper.rs:2:49 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::graphics::graphical_fn::{rgb_to_u32, coord_to_1d, win_clear, win_clear_alpha, draw_line, P2, p2_add}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/graphics/visualizers/vol_sweeper.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | if (_sweep & 1 == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - if (_sweep & 1 == 0) { [INFO] [stdout] 17 + if _sweep & 1 == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `P2`, `draw_line`, `p2_add`, `win_clear_alpha` [INFO] [stdout] --> src/graphics/visualizers/ring.rs:2:73 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::graphics::graphical_fn::{rgb_to_u32, coord_to_1d, win_clear, win_clear_alpha, draw_line, P2, p2_add}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/graphics/visualizers/ring.rs:31:114 [INFO] [stdout] | [INFO] [stdout] 31 | let p = crate::math::euler(complex_add(complex_mul(stream[_i % stream.len()], (0.35, 0.0)), (0.5, 0.0)), (di as f32 * rate)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 31 - let p = crate::math::euler(complex_add(complex_mul(stream[_i % stream.len()], (0.35, 0.0)), (0.5, 0.0)), (di as f32 * rate)); [INFO] [stdout] 31 + let p = crate::math::euler(complex_add(complex_mul(stream[_i % stream.len()], (0.35, 0.0)), (0.5, 0.0)), di as f32 * rate); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `pi2`, `pih` [INFO] [stdout] --> src/graphics/visualizers/bars.rs:1:79 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::constants::{VOL_SCL, FFT_SIZE, SMOOTHING, WIN_H, WIN_W, INCREMENT, pi2, pih}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pi2` [INFO] [stdout] --> src/graphics/graphical_fn.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::constants::{WIN_H, WIN_W, pi2, pih}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/graphics/graphical_fn.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 205 | if (d <= thickness) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 205 - if (d <= thickness) { [INFO] [stdout] 205 + if d <= thickness { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/graphics/graphical_fn.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | (a + (b-a)*lerp) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 221 - (a + (b-a)*lerp) [INFO] [stdout] 221 + a + (b-a)*lerp [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/graphics/graphical_fn.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | (a + (b-a)*t) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 232 - (a + (b-a)*t) [INFO] [stdout] 232 + a + (b-a)*t [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 72 | if (VIS_IDX != SWITCH) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 72 - if (VIS_IDX != SWITCH) { [INFO] [stdout] 72 + if VIS_IDX != SWITCH { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/main.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let status = stream.play(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width_top_h` [INFO] [stdout] --> src/graphics/visualizers/oscilloscope.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let width_top_h = (width >> 1) + 1; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_width_top_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scale` [INFO] [stdout] --> src/graphics/visualizers/spectrum.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let scale = FFT_SIZE as f32 * WIN_H as f32 * 0.0625; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wf` [INFO] [stdout] --> src/graphics/visualizers/spectrum.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let wf = WIN_W as f32; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hf` [INFO] [stdout] --> src/graphics/visualizers/spectrum.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | let hf = WIN_H as f32; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idxf` [INFO] [stdout] --> src/graphics/visualizers/spectrum.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let idxf = index_vec[i].0; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_idxf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/graphics/visualizers/shaky_coffee.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let mut i = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/graphics/visualizers/shaky_coffee.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | let mut i = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scale` [INFO] [stdout] --> src/graphics/visualizers/bars.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let scale = FFT_SIZE as f32 * WIN_H as f32 * 0.0625; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `winhh` [INFO] [stdout] --> src/graphics/visualizers/bars.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let winhh = WIN_H >> 1; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_winhh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wf` [INFO] [stdout] --> src/graphics/visualizers/bars.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let wf = WIN_W as f32; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hf` [INFO] [stdout] --> src/graphics/visualizers/bars.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | let hf = WIN_H as f32; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `smoothi` [INFO] [stdout] --> src/graphics/visualizers/bars.rs:43:6 [INFO] [stdout] | [INFO] [stdout] 43 | let smoothi = (SMOOTHING*255.9) as i32; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_smoothi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idxf` [INFO] [stdout] --> src/graphics/visualizers/bars.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let idxf = idx_table[i].0; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_idxf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/math/mod.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | fn bit_reverse(mut k : usize, s : usize) -> usize { [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/graphics/visualizers/lazer.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut ax = { [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/graphics/visualizers/lazer.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut ay = { [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/graphics/visualizers/shaky_coffee.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut f = File::open( [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/graphics/visualizers/shaky_coffee.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let mut i = 0; [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/graphics/visualizers/shaky_coffee.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let mut i = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/main.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let status = stream.play(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width_top_h` [INFO] [stdout] --> src/graphics/visualizers/oscilloscope.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let width_top_h = (width >> 1) + 1; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_width_top_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scale` [INFO] [stdout] --> src/graphics/visualizers/spectrum.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let scale = FFT_SIZE as f32 * WIN_H as f32 * 0.0625; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wf` [INFO] [stdout] --> src/graphics/visualizers/spectrum.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let wf = WIN_W as f32; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hf` [INFO] [stdout] --> src/graphics/visualizers/spectrum.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | let hf = WIN_H as f32; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idxf` [INFO] [stdout] --> src/graphics/visualizers/spectrum.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let idxf = index_vec[i].0; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_idxf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/graphics/visualizers/shaky_coffee.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let mut i = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/graphics/visualizers/shaky_coffee.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | let mut i = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scale` [INFO] [stdout] --> src/graphics/visualizers/bars.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let scale = FFT_SIZE as f32 * WIN_H as f32 * 0.0625; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `winhh` [INFO] [stdout] --> src/graphics/visualizers/bars.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let winhh = WIN_H >> 1; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_winhh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wf` [INFO] [stdout] --> src/graphics/visualizers/bars.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let wf = WIN_W as f32; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hf` [INFO] [stdout] --> src/graphics/visualizers/bars.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | let hf = WIN_H as f32; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `smoothi` [INFO] [stdout] --> src/graphics/visualizers/bars.rs:43:6 [INFO] [stdout] | [INFO] [stdout] 43 | let smoothi = (SMOOTHING*255.9) as i32; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_smoothi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idxf` [INFO] [stdout] --> src/graphics/visualizers/bars.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let idxf = idx_table[i].0; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_idxf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let mut stream; [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/math/mod.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | fn bit_reverse(mut k : usize, s : usize) -> usize { [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: static is never used: `i` [INFO] [stdout] --> src/main.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | static mut i : usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CTRL_ITVL` [INFO] [stdout] --> src/constants.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub const CTRL_ITVL : u64 = FPS << 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `EXIT` [INFO] [stdout] --> src/constants.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub static mut EXIT : bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `MESSAGE` [INFO] [stdout] --> src/constants.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub static mut MESSAGE : String = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `MESSAGE_TIMEOUT` [INFO] [stdout] --> src/constants.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub static mut MESSAGE_TIMEOUT : u64 = 0; // timeout is FPS. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `console_clear` [INFO] [stdout] --> src/constants.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn console_clear() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fast_isqrt` [INFO] [stdout] --> src/math/mod.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn fast_isqrt(x : usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bit_reverse` [INFO] [stdout] --> src/math/mod.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn bit_reverse(mut k : usize, s : usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dft` [INFO] [stdout] --> src/math/mod.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn dft(a : &mut Vec<(f32, f32)>) -> Vec<(f32, f32)> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lowpass_array` [INFO] [stdout] --> src/math/mod.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn lowpass_array(data : &mut [(f32, f32)], a : f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lowpass_bi_array` [INFO] [stdout] --> src/math/mod.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn lowpass_bi_array(data : &mut [(f32, f32)], a : f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `a_` [INFO] [stdout] --> src/math/mod.rs:168:1 [INFO] [stdout] | [INFO] [stdout] 168 | const a_ : [f32; 4] = [0.35875, 0.48829, 0.14128, 0.01168]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `blackman_harris` [INFO] [stdout] --> src/math/mod.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn blackman_harris(data : &mut Vec<(f32, f32)>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `triangular` [INFO] [stdout] --> src/math/mod.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn triangular(data : &mut Vec<(f32, f32)>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_average_lr` [INFO] [stdout] --> src/math/mod.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn get_average_lr(data : &Vec<(f32, f32)>) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `shrink_stream_i16` [INFO] [stdout] --> src/audio_input/input_stream.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn shrink_stream_i16(stream : &Vec, new_size : usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `linear` [INFO] [stdout] --> src/audio_input/input_stream.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn linear(x1 : f32, x2 : f32, t : f32) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rgba_to_u32` [INFO] [stdout] --> src/graphics/graphical_fn.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn rgba_to_u32(r: u8, g: u8, b: u8, a : u8) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `u32_to_rgba` [INFO] [stdout] --> src/graphics/graphical_fn.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn u32_to_rgba(p : u32) -> (u8, u8, u8, u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw_point` [INFO] [stdout] --> src/graphics/graphical_fn.rs:75:15 [INFO] [stdout] | [INFO] [stdout] 75 | pub unsafe fn draw_point(buf : &mut Vec, p1 : P2, color : u32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw_line` [INFO] [stdout] --> src/graphics/graphical_fn.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | pub unsafe fn draw_line(buf : &mut Vec, p1 : P2, p2 : P2, color : u32, thickness : f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `copy_buf` [INFO] [stdout] --> src/graphics/graphical_fn.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn copy_buf(buf : Vec, new_buf : &mut Vec) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p2_add` [INFO] [stdout] --> src/graphics/graphical_fn.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn p2_add(p1 : P2, p2 : P2) -> P2 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p2_sub` [INFO] [stdout] --> src/graphics/graphical_fn.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn p2_sub(p1 : P2, p2 : P2) -> P2 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p2_mul_num` [INFO] [stdout] --> src/graphics/graphical_fn.rs:145:4 [INFO] [stdout] | [INFO] [stdout] 145 | fn p2_mul_num(p : P2, n : f32) -> P2 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `quad_bezier` [INFO] [stdout] --> src/graphics/graphical_fn.rs:149:15 [INFO] [stdout] | [INFO] [stdout] 149 | pub unsafe fn quad_bezier(buf: &mut Vec, p1 : P2, p2 : P2, p3 : P2, color : u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `quad_interp_` [INFO] [stdout] --> src/graphics/graphical_fn.rs:162:4 [INFO] [stdout] | [INFO] [stdout] 162 | fn quad_interp_(p1: P2, p2: P2, p3: P2, t : f32) -> P2 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `quad_interp` [INFO] [stdout] --> src/graphics/graphical_fn.rs:170:4 [INFO] [stdout] | [INFO] [stdout] 170 | fn quad_interp(p1: P2, p2: P2, p3: P2, t : f32) -> P2 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `linear_func` [INFO] [stdout] --> src/graphics/graphical_fn.rs:196:4 [INFO] [stdout] | [INFO] [stdout] 196 | fn linear_func(p1 : P2, p2 : P2, p : P2, thickness : f32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sine_interpolation` [INFO] [stdout] --> src/graphics/graphical_fn.rs:219:4 [INFO] [stdout] | [INFO] [stdout] 219 | fn sine_interpolation(a : f32, b : f32, t : f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_bounding_box3` [INFO] [stdout] --> src/graphics/graphical_fn.rs:224:4 [INFO] [stdout] | [INFO] [stdout] 224 | fn get_bounding_box3(p1 : P2, p2 : P2, p3 : P2) -> (P2, P2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `p2` [INFO] [stdout] --> src/graphics/visualizers/lazer.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | static mut p2 : P2 = P2(72, 72); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `swap` [INFO] [stdout] --> src/graphics/visualizers/lazer.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | static mut swap : bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `img` [INFO] [stdout] --> src/graphics/visualizers/shaky_coffee.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | const img : &str = "coffee_pixart_2x.ppm"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `prepare_img` [INFO] [stdout] --> src/graphics/visualizers/shaky_coffee.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | pub unsafe fn prepare_img() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `c` [INFO] [stdout] --> src/graphics/visualizers/vol_sweeper.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const c : u32 = 16720064; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `wrap_rate_incremeter` [INFO] [stdout] --> src/graphics/visualizers/ring.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | static mut wrap_rate_incremeter : f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mix` [INFO] [stdout] --> src/graphics/graphical_fn.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn mix(c1 : u32, c2 : u32) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_alpha` [INFO] [stdout] --> src/graphics/graphical_fn.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn set_alpha(c : u32, a : u8) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mul_alpha` [INFO] [stdout] --> src/graphics/graphical_fn.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn mul_alpha(c : u32, a : u8) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/visualizers/lazer.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut ax = { [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/graphics/visualizers/lazer.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut ay = { [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/graphics/visualizers/shaky_coffee.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut f = File::open( [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/graphics/visualizers/shaky_coffee.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let mut i = 0; [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/graphics/visualizers/shaky_coffee.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let mut i = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | win.update_with_buffer(&pix_buf, WIN_W, WIN_H); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | stream.pause(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 98 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let mut stream; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `i` [INFO] [stdout] --> src/main.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | static mut i : usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CTRL_ITVL` [INFO] [stdout] --> src/constants.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub const CTRL_ITVL : u64 = FPS << 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `EXIT` [INFO] [stdout] --> src/constants.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub static mut EXIT : bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `MESSAGE` [INFO] [stdout] --> src/constants.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub static mut MESSAGE : String = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `MESSAGE_TIMEOUT` [INFO] [stdout] --> src/constants.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub static mut MESSAGE_TIMEOUT : u64 = 0; // timeout is FPS. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `console_clear` [INFO] [stdout] --> src/constants.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn console_clear() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fast_isqrt` [INFO] [stdout] --> src/math/mod.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn fast_isqrt(x : usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bit_reverse` [INFO] [stdout] --> src/math/mod.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn bit_reverse(mut k : usize, s : usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dft` [INFO] [stdout] --> src/math/mod.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn dft(a : &mut Vec<(f32, f32)>) -> Vec<(f32, f32)> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lowpass_array` [INFO] [stdout] --> src/math/mod.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn lowpass_array(data : &mut [(f32, f32)], a : f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lowpass_bi_array` [INFO] [stdout] --> src/math/mod.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn lowpass_bi_array(data : &mut [(f32, f32)], a : f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `a_` [INFO] [stdout] --> src/math/mod.rs:168:1 [INFO] [stdout] | [INFO] [stdout] 168 | const a_ : [f32; 4] = [0.35875, 0.48829, 0.14128, 0.01168]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `blackman_harris` [INFO] [stdout] --> src/math/mod.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn blackman_harris(data : &mut Vec<(f32, f32)>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `triangular` [INFO] [stdout] --> src/math/mod.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn triangular(data : &mut Vec<(f32, f32)>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_average_lr` [INFO] [stdout] --> src/math/mod.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn get_average_lr(data : &Vec<(f32, f32)>) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `shrink_stream_i16` [INFO] [stdout] --> src/audio_input/input_stream.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn shrink_stream_i16(stream : &Vec, new_size : usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `linear` [INFO] [stdout] --> src/audio_input/input_stream.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn linear(x1 : f32, x2 : f32, t : f32) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rgba_to_u32` [INFO] [stdout] --> src/graphics/graphical_fn.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn rgba_to_u32(r: u8, g: u8, b: u8, a : u8) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `u32_to_rgba` [INFO] [stdout] --> src/graphics/graphical_fn.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn u32_to_rgba(p : u32) -> (u8, u8, u8, u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw_point` [INFO] [stdout] --> src/graphics/graphical_fn.rs:75:15 [INFO] [stdout] | [INFO] [stdout] 75 | pub unsafe fn draw_point(buf : &mut Vec, p1 : P2, color : u32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw_line` [INFO] [stdout] --> src/graphics/graphical_fn.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | pub unsafe fn draw_line(buf : &mut Vec, p1 : P2, p2 : P2, color : u32, thickness : f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `copy_buf` [INFO] [stdout] --> src/graphics/graphical_fn.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn copy_buf(buf : Vec, new_buf : &mut Vec) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p2_add` [INFO] [stdout] --> src/graphics/graphical_fn.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn p2_add(p1 : P2, p2 : P2) -> P2 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p2_sub` [INFO] [stdout] --> src/graphics/graphical_fn.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn p2_sub(p1 : P2, p2 : P2) -> P2 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p2_mul_num` [INFO] [stdout] --> src/graphics/graphical_fn.rs:145:4 [INFO] [stdout] | [INFO] [stdout] 145 | fn p2_mul_num(p : P2, n : f32) -> P2 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `quad_bezier` [INFO] [stdout] --> src/graphics/graphical_fn.rs:149:15 [INFO] [stdout] | [INFO] [stdout] 149 | pub unsafe fn quad_bezier(buf: &mut Vec, p1 : P2, p2 : P2, p3 : P2, color : u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `quad_interp_` [INFO] [stdout] --> src/graphics/graphical_fn.rs:162:4 [INFO] [stdout] | [INFO] [stdout] 162 | fn quad_interp_(p1: P2, p2: P2, p3: P2, t : f32) -> P2 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `quad_interp` [INFO] [stdout] --> src/graphics/graphical_fn.rs:170:4 [INFO] [stdout] | [INFO] [stdout] 170 | fn quad_interp(p1: P2, p2: P2, p3: P2, t : f32) -> P2 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `linear_func` [INFO] [stdout] --> src/graphics/graphical_fn.rs:196:4 [INFO] [stdout] | [INFO] [stdout] 196 | fn linear_func(p1 : P2, p2 : P2, p : P2, thickness : f32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sine_interpolation` [INFO] [stdout] --> src/graphics/graphical_fn.rs:219:4 [INFO] [stdout] | [INFO] [stdout] 219 | fn sine_interpolation(a : f32, b : f32, t : f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_bounding_box3` [INFO] [stdout] --> src/graphics/graphical_fn.rs:224:4 [INFO] [stdout] | [INFO] [stdout] 224 | fn get_bounding_box3(p1 : P2, p2 : P2, p3 : P2) -> (P2, P2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `p2` [INFO] [stdout] --> src/graphics/visualizers/lazer.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | static mut p2 : P2 = P2(72, 72); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `swap` [INFO] [stdout] --> src/graphics/visualizers/lazer.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | static mut swap : bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `img` [INFO] [stdout] --> src/graphics/visualizers/shaky_coffee.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | const img : &str = "coffee_pixart_2x.ppm"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `prepare_img` [INFO] [stdout] --> src/graphics/visualizers/shaky_coffee.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | pub unsafe fn prepare_img() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `c` [INFO] [stdout] --> src/graphics/visualizers/vol_sweeper.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const c : u32 = 16720064; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `wrap_rate_incremeter` [INFO] [stdout] --> src/graphics/visualizers/ring.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | static mut wrap_rate_incremeter : f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mix` [INFO] [stdout] --> src/graphics/graphical_fn.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn mix(c1 : u32, c2 : u32) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_alpha` [INFO] [stdout] --> src/graphics/graphical_fn.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn set_alpha(c : u32, a : u8) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mul_alpha` [INFO] [stdout] --> src/graphics/graphical_fn.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn mul_alpha(c : u32, a : u8) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | win.update_with_buffer(&pix_buf, WIN_W, WIN_H); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | stream.pause(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 98 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 36s [INFO] running `Command { std: "docker" "inspect" "87719d3c1c04213eecd9b8e50b70455aca69f5b5a9e80e7e5f4af68b32bd8447", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87719d3c1c04213eecd9b8e50b70455aca69f5b5a9e80e7e5f4af68b32bd8447", kill_on_drop: false }` [INFO] [stdout] 87719d3c1c04213eecd9b8e50b70455aca69f5b5a9e80e7e5f4af68b32bd8447