[INFO] cloning repository https://github.com/ngynkvn/audio [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ngynkvn/audio" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fngynkvn%2Faudio", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fngynkvn%2Faudio'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] df9deb491c10372952d0f019012d1fd075f42429 [INFO] checking ngynkvn/audio/df9deb491c10372952d0f019012d1fd075f42429 against master#85c39893a761fe4c050523278da4e7e45ab42b6e for pr-134688 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fngynkvn%2Faudio" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ngynkvn/audio on toolchain 85c39893a761fe4c050523278da4e7e45ab42b6e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ngynkvn/audio [INFO] finished tweaking git repo https://github.com/ngynkvn/audio [INFO] tweaked toml for git repo https://github.com/ngynkvn/audio written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ngynkvn/audio 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" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 10 packages to latest compatible versions [INFO] [stderr] Adding atty v0.2.14 [INFO] [stderr] Adding clap v3.2.25 (available: v4.5.23) [INFO] [stderr] Adding clap_lex v0.2.4 [INFO] [stderr] Adding hashbrown v0.12.3 [INFO] [stderr] Adding hermit-abi v0.1.19 [INFO] [stderr] Adding indexmap v1.9.3 [INFO] [stderr] Adding os_str_bytes v6.6.1 [INFO] [stderr] Adding strsim v0.10.0 [INFO] [stderr] Adding termcolor v1.4.1 [INFO] [stderr] Adding textwrap v0.16.1 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded transpose v0.2.1 [INFO] [stderr] Downloaded bitstream-io v0.8.5 [INFO] [stderr] Downloaded retain_mut v0.1.3 [INFO] [stderr] Downloaded strength_reduce v0.2.3 [INFO] [stderr] Downloaded puffin_http v0.3.0 [INFO] [stderr] Downloaded puremp3 v0.1.0 [INFO] [stderr] Downloaded primal-check v0.3.1 [INFO] [stderr] Downloaded rustfft v6.0.1 [INFO] [stderr] Downloaded ordered-float v2.7.0 [INFO] [stderr] Downloaded crossbeam-queue v0.3.2 [INFO] [stderr] Downloaded tracing-error v0.1.2 [INFO] [stderr] Downloaded lazy-bytes-cast v5.0.1 [INFO] [stderr] Downloaded copypasta v0.7.1 [INFO] [stderr] Downloaded owned_ttf_parser v0.12.1 [INFO] [stderr] Downloaded owo-colors v1.3.0 [INFO] [stderr] Downloaded sharded-slab v0.1.3 [INFO] [stderr] Downloaded eyre v0.6.5 [INFO] [stderr] Downloaded js-sys v0.3.52 [INFO] [stderr] Downloaded ndarray v0.15.3 [INFO] [stderr] Downloaded tracing-subscriber v0.2.19 [INFO] [stderr] Downloaded combine v4.6.0 [INFO] [stderr] Downloaded xcb v0.9.0 [INFO] [stderr] Downloaded color-spantrace v0.1.6 [INFO] [stderr] Downloaded cpal v0.13.4 [INFO] [stderr] Downloaded object v0.24.0 [INFO] [stderr] Downloaded egui v0.13.1 [INFO] [stderr] Downloaded smithay-client-toolkit v0.14.0 [INFO] [stderr] Downloaded ttf-parser v0.12.3 [INFO] [stderr] Downloaded winit v0.25.0 [INFO] [stderr] Downloaded egui_glium v0.13.1 [INFO] [stderr] Downloaded clipboard-win v3.1.1 [INFO] [stderr] Downloaded smithay-clipboard v0.6.4 [INFO] [stderr] Downloaded x11-clipboard v0.5.2 [INFO] [stderr] Downloaded emath v0.13.0 [INFO] [stderr] Downloaded epi v0.13.0 [INFO] [stderr] Downloaded addr2line v0.15.2 [INFO] [stderr] Downloaded backtrace v0.3.59 [INFO] [stderr] Downloaded mio-misc v1.2.1 [INFO] [stderr] Downloaded num_enum_derive v0.5.3 [INFO] [stderr] Downloaded jobserver v0.1.23 [INFO] [stderr] Downloaded rustc-demangle v0.1.20 [INFO] [stderr] Downloaded num_enum v0.5.3 [INFO] [stderr] Downloaded proc-macro-crate v1.0.0 [INFO] [stderr] Downloaded glutin v0.27.0 [INFO] [stderr] Downloaded takeable-option v0.5.0 [INFO] [stderr] Downloaded color-eyre v0.5.11 [INFO] [stderr] Downloaded epaint v0.13.0 [INFO] [stderr] Downloaded web-sys v0.3.52 [INFO] [stderr] Downloaded matrixmultiply v0.3.1 [INFO] [stderr] Downloaded gimli v0.24.0 [INFO] [stderr] Downloaded puffin v0.6.0 [INFO] [stderr] Downloaded glium v0.30.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9cbe8f8b38622f2479caebd2f6f1c6505709c24b9dee25c03658f44e1d226661 [INFO] running `Command { std: "docker" "start" "-a" "9cbe8f8b38622f2479caebd2f6f1c6505709c24b9dee25c03658f44e1d226661", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9cbe8f8b38622f2479caebd2f6f1c6505709c24b9dee25c03658f44e1d226661", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cbe8f8b38622f2479caebd2f6f1c6505709c24b9dee25c03658f44e1d226661", kill_on_drop: false }` [INFO] [stdout] 9cbe8f8b38622f2479caebd2f6f1c6505709c24b9dee25c03658f44e1d226661 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b42f2b393c2765bc9ce67be1fe806250f58997213d4e7acff914a0b21390a5dd [INFO] running `Command { std: "docker" "start" "-a" "b42f2b393c2765bc9ce67be1fe806250f58997213d4e7acff914a0b21390a5dd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking ttf-parser v0.12.3 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Checking gimli v0.24.0 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Checking ordered-float v2.7.0 [INFO] [stderr] Checking sharded-slab v0.1.3 [INFO] [stderr] Checking rustc-demangle v0.1.20 [INFO] [stderr] Checking object v0.24.0 [INFO] [stderr] Checking atomic_refcell v0.1.7 [INFO] [stderr] Checking emath v0.13.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glium v0.30.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Compiling jobserver v0.1.23 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Compiling xcb v0.9.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking owned_ttf_parser v0.12.1 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking ab_glyph v0.2.11 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking memmap2 v0.2.3 [INFO] [stderr] Checking epaint v0.13.0 [INFO] [stderr] Checking addr2line v0.15.2 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Checking mio-misc v1.2.1 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking tracing-subscriber v0.2.19 [INFO] [stderr] Compiling eyre v0.6.5 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Checking egui v0.13.1 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Compiling backtrace v0.3.59 [INFO] [stderr] Checking strength_reduce v0.2.3 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking owo-colors v1.3.0 [INFO] [stderr] Compiling cpal v0.13.4 [INFO] [stderr] Checking takeable-option v0.5.0 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking transpose v0.2.1 [INFO] [stderr] Checking matrixmultiply v0.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking primal-check v0.3.1 [INFO] [stderr] Checking bitstream-io v0.8.5 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking retain_mut v0.1.3 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking webbrowser v0.5.5 [INFO] [stderr] Checking rustfft v6.0.1 [INFO] [stderr] Checking ndarray v0.15.3 [INFO] [stderr] Checking puremp3 v0.1.0 [INFO] [stderr] Checking tracing-error v0.1.2 [INFO] [stderr] Checking color-spantrace v0.1.6 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking epi v0.13.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking puffin v0.6.0 [INFO] [stderr] Checking color-eyre v0.5.11 [INFO] [stderr] Checking puffin_http v0.3.0 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking alsa v0.5.0 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Checking wayland-egl v0.28.6 [INFO] [stderr] Checking x11-clipboard v0.5.2 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking smithay-client-toolkit v0.14.0 [INFO] [stderr] Checking smithay-clipboard v0.6.4 [INFO] [stderr] Checking copypasta v0.7.1 [INFO] [stderr] Checking glutin v0.27.0 [INFO] [stderr] Checking egui_glium v0.13.1 [INFO] [stderr] Checking viewer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `clap::Clap` [INFO] [stdout] --> src/main.rs:144:25 [INFO] [stdout] | [INFO] [stdout] 144 | use clap::{AppSettings, Clap}; [INFO] [stdout] | ^^^^ no `Clap` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/main.rs:147:3 [INFO] [stdout] | [INFO] [stdout] 147 | #[clap(version = "1.0", author = "Kevin Nguyen ")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/main.rs:148:3 [INFO] [stdout] | [INFO] [stdout] 148 | #[clap(setting = AppSettings::ColoredHelp)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/input.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `io::Cursor` and `iter` [INFO] [stdout] --> src/main.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{io::Cursor, iter, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `owo_colors::Color` [INFO] [stdout] --> src/main.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use color_eyre::{owo_colors::Color, Result}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StreamConfig` and `SupportedInputConfigs` [INFO] [stdout] --> src/main.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | Device, Host, Stream, StreamConfig, SupportedInputConfigs, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Receiver` [INFO] [stdout] --> src/main.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | use crossbeam::channel::{Receiver, Sender}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `egui::plot::Values` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use egui::plot::Values; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `egui::Stroke` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use egui::Stroke; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `output` and `plot::Value` [INFO] [stdout] --> src/main.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | use egui::{output, plot::Value}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `plot::Line` [INFO] [stdout] --> src/main.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | use egui::{plot::Line, Pos2}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `plot::Plot` [INFO] [stdout] --> src/main.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | use egui::{plot::Plot, Vec2}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Modifiers` and `plot::Points` [INFO] [stdout] --> src/main.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | use egui::{plot::Points, Modifiers}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DrawParameters`, `IndexBuffer`, `ModifiersState`, `NoIndices`, `PrimitiveType`, `Surface`, `draw_parameters`, `self`, and `uniform` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | draw_parameters, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | event::{self, DeviceEvent, ModifiersState, MouseScrollDelta, WindowEvent}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | index::{NoIndices, PrimitiveType}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 31 | uniform, Display, DrawParameters, IndexBuffer, Program, Surface, VertexBuffer, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `puremp3::Mp3Decoder` [INFO] [stdout] --> src/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | use puremp3::Mp3Decoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FftPlanner` [INFO] [stdout] --> src/main.rs:67:39 [INFO] [stdout] | [INFO] [stdout] 67 | use rustfft::{num_complex::Complex32, FftPlanner}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AppSettings` [INFO] [stdout] --> src/main.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | use clap::{AppSettings, Clap}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clap::Clap` [INFO] [stdout] --> src/main.rs:144:25 [INFO] [stdout] | [INFO] [stdout] 144 | use clap::{AppSettings, Clap}; [INFO] [stdout] | ^^^^ no `Clap` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/main.rs:147:3 [INFO] [stdout] | [INFO] [stdout] 147 | #[clap(version = "1.0", author = "Kevin Nguyen ")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/main.rs:148:3 [INFO] [stdout] | [INFO] [stdout] 148 | #[clap(setting = AppSettings::ColoredHelp)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/input.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `io::Cursor` and `iter` [INFO] [stdout] --> src/main.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{io::Cursor, iter, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `owo_colors::Color` [INFO] [stdout] --> src/main.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use color_eyre::{owo_colors::Color, Result}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StreamConfig` and `SupportedInputConfigs` [INFO] [stdout] --> src/main.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | Device, Host, Stream, StreamConfig, SupportedInputConfigs, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Receiver` [INFO] [stdout] --> src/main.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | use crossbeam::channel::{Receiver, Sender}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `egui::plot::Values` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use egui::plot::Values; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `egui::Stroke` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use egui::Stroke; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `output` and `plot::Value` [INFO] [stdout] --> src/main.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | use egui::{output, plot::Value}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `plot::Line` [INFO] [stdout] --> src/main.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | use egui::{plot::Line, Pos2}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `plot::Plot` [INFO] [stdout] --> src/main.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | use egui::{plot::Plot, Vec2}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Modifiers` and `plot::Points` [INFO] [stdout] --> src/main.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | use egui::{plot::Points, Modifiers}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DrawParameters`, `IndexBuffer`, `ModifiersState`, `NoIndices`, `PrimitiveType`, `Surface`, `draw_parameters`, `self`, and `uniform` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | draw_parameters, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | event::{self, DeviceEvent, ModifiersState, MouseScrollDelta, WindowEvent}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | index::{NoIndices, PrimitiveType}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 31 | uniform, Display, DrawParameters, IndexBuffer, Program, Surface, VertexBuffer, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `puremp3::Mp3Decoder` [INFO] [stdout] --> src/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | use puremp3::Mp3Decoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FftPlanner` [INFO] [stdout] --> src/main.rs:67:39 [INFO] [stdout] | [INFO] [stdout] 67 | use rustfft::{num_complex::Complex32, FftPlanner}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AppSettings` [INFO] [stdout] --> src/main.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | use clap::{AppSettings, Clap}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `Args` in the current scope [INFO] [stdout] --> src/main.rs:159:22 [INFO] [stdout] | [INFO] [stdout] 149 | struct Args { [INFO] [stdout] | ----------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 159 | let args = Args::parse(); [INFO] [stdout] | ^^^^^ function or associated item not found in `Args` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `parse`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Parser` [INFO] [stdout] candidate #2: `TypedValueParser` [INFO] [stdout] candidate #3: `nom::internal::Parser` [INFO] [stdout] candidate #4: `nom::sequence::Tuple` [INFO] [stdout] candidate #5: `object::read::elf::file::FileHeader` [INFO] [stdout] candidate #6: `object::read::macho::file::MachHeader` [INFO] [stdout] candidate #7: `object::read::pe::file::ImageNtHeaders` [INFO] [stdout] candidate #8: `ttf_parser::parser::FromData` [INFO] [stdout] candidate #9: `ttf_parser::parser::FromData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/input.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | let (header, mut samples) = puremp3::read_mp3(Cursor::new(data)).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/input.rs:72:45 [INFO] [stdout] | [INFO] [stdout] 72 | move |data: &mut [f32], info| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/input.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | |err| panic!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/main.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 100 | move |data: &[f32], info| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:109:10 [INFO] [stdout] | [INFO] [stdout] 109 | |err| panic!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `viewer` (bin "viewer") due to 4 previous errors; 20 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `Args` in the current scope [INFO] [stdout] --> src/main.rs:159:22 [INFO] [stdout] | [INFO] [stdout] 149 | struct Args { [INFO] [stdout] | ----------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 159 | let args = Args::parse(); [INFO] [stdout] | ^^^^^ function or associated item not found in `Args` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `parse`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Parser` [INFO] [stdout] candidate #2: `TypedValueParser` [INFO] [stdout] candidate #3: `nom::internal::Parser` [INFO] [stdout] candidate #4: `nom::sequence::Tuple` [INFO] [stdout] candidate #5: `object::read::elf::file::FileHeader` [INFO] [stdout] candidate #6: `object::read::macho::file::MachHeader` [INFO] [stdout] candidate #7: `object::read::pe::file::ImageNtHeaders` [INFO] [stdout] candidate #8: `ttf_parser::parser::FromData` [INFO] [stdout] candidate #9: `ttf_parser::parser::FromData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/input.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | let (header, mut samples) = puremp3::read_mp3(Cursor::new(data)).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/input.rs:72:45 [INFO] [stdout] | [INFO] [stdout] 72 | move |data: &mut [f32], info| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/input.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | |err| panic!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/main.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 100 | move |data: &[f32], info| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:109:10 [INFO] [stdout] | [INFO] [stdout] 109 | |err| panic!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `viewer` (bin "viewer" test) due to 4 previous errors; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b42f2b393c2765bc9ce67be1fe806250f58997213d4e7acff914a0b21390a5dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b42f2b393c2765bc9ce67be1fe806250f58997213d4e7acff914a0b21390a5dd", kill_on_drop: false }` [INFO] [stdout] b42f2b393c2765bc9ce67be1fe806250f58997213d4e7acff914a0b21390a5dd