[INFO] cloning repository https://github.com/Wstld/piano_man [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Wstld/piano_man" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWstld%2Fpiano_man", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWstld%2Fpiano_man'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 562c6175e341178c1fcd0c09eac9c2fab458679e [INFO] building Wstld/piano_man against try#58b1b3c5342a414c161338871f8004258ccef2a7 for pr-149937 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWstld%2Fpiano_man" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Wstld/piano_man [INFO] finished tweaking git repo https://github.com/Wstld/piano_man [INFO] tweaked toml for git repo https://github.com/Wstld/piano_man written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Wstld/piano_man on toolchain 58b1b3c5342a414c161338871f8004258ccef2a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Wstld/piano_man 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" "+58b1b3c5342a414c161338871f8004258ccef2a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3577c0f332bea9315ae10269db04f6c8d502a1ca0de619a9213d905caf6a10ef [INFO] running `Command { std: "docker" "start" "-a" "3577c0f332bea9315ae10269db04f6c8d502a1ca0de619a9213d905caf6a10ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3577c0f332bea9315ae10269db04f6c8d502a1ca0de619a9213d905caf6a10ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3577c0f332bea9315ae10269db04f6c8d502a1ca0de619a9213d905caf6a10ef", kill_on_drop: false }` [INFO] [stdout] 3577c0f332bea9315ae10269db04f6c8d502a1ca0de619a9213d905caf6a10ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9d3f8bb6c577236c31242a8de637334c4b986c3e8511d9c94ae0d99eafff4db [INFO] running `Command { std: "docker" "start" "-a" "a9d3f8bb6c577236c31242a8de637334c4b986c3e8511d9c94ae0d99eafff4db", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling wgpu-hal v0.20.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling owned_ttf_parser v0.20.0 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling wgpu-core v0.20.0 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling document-features v0.2.8 [INFO] [stderr] Compiling wgpu v0.20.0 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling ab_glyph v0.2.23 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Compiling gpu-descriptor-types v0.2.0 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Compiling wgpu-types v0.20.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling x11rb-protocol v0.13.0 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling memmap2 v0.9.4 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Compiling alsa v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling gpu-descriptor v0.3.0 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling naga v0.20.0 [INFO] [stderr] Compiling minimp3 v0.5.1 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Compiling polling v3.5.0 [INFO] [stderr] Compiling calloop v0.12.4 [INFO] [stderr] Compiling wayland-client v0.31.2 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling wayland-protocols v0.31.2 [INFO] [stderr] Compiling wayland-cursor v0.31.1 [INFO] [stderr] Compiling calloop-wayland-source v0.2.0 [INFO] [stderr] Compiling wayland-protocols-wlr v0.2.0 [INFO] [stderr] Compiling wayland-protocols-plasma v0.2.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Compiling sctk-adwaita v0.8.1 [INFO] [stderr] Compiling x11rb v0.13.0 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Compiling piano_man v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::device::queue` [INFO] [stdout] --> src/gui_renderer.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use wgpu::{self, core::device::queue, Backends}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DeviceEvent` [INFO] [stdout] --> src/main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | event::{DeviceEvent, Event, WindowEvent}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/gui_renderer.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | let surface = unsafe { instance.create_surface(window) }.unwrap(); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/gui_renderer.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn input(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pause_all_streams` and `clear_all` are never used [INFO] [stdout] --> src/buffer_que_manager.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait BufferQueManager { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] 13 | fn add_frames_to_que(&mut self, frames: Vec); [INFO] [stdout] 14 | fn pause_all_streams(&self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | fn clear_all(&mut self); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `input` is never used [INFO] [stdout] --> src/gui_renderer.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'a> State<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn input(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Octave` is never used [INFO] [stdout] --> src/music_entities.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Octave { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Chord` is never used [INFO] [stdout] --> src/music_entities.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum Chord { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThreeNoteChord` is never constructed [INFO] [stdout] --> src/music_entities.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | struct ThreeNoteChord(u64); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/music_entities.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl ThreeNoteChord { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 58 | fn new(notes: [&Note; 3]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_chord_map` is never used [INFO] [stdout] --> src/music_entities.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn generate_chord_map() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_chords_from_notes` is never used [INFO] [stdout] --> src/music_entities.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn get_chords_from_notes(notes: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_note_combinations` is never used [INFO] [stdout] --> src/music_entities.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | fn get_note_combinations<'a>(notes: &'a Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map_key_code_to_octave` is never used [INFO] [stdout] --> src/note_generator.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl NoteGenerator { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | fn map_key_code_to_octave(&self, key_pressed: &str) -> Octave { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | state.render_random_color(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 79 | let _ = state.render_random_color(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 16s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: document-features v0.2.8 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "a9d3f8bb6c577236c31242a8de637334c4b986c3e8511d9c94ae0d99eafff4db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9d3f8bb6c577236c31242a8de637334c4b986c3e8511d9c94ae0d99eafff4db", kill_on_drop: false }` [INFO] [stdout] a9d3f8bb6c577236c31242a8de637334c4b986c3e8511d9c94ae0d99eafff4db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a760cda113197577b81a828e9daffb903be4a7623bfd42dbee61560f4a6e1435 [INFO] running `Command { std: "docker" "start" "-a" "a760cda113197577b81a828e9daffb903be4a7623bfd42dbee61560f4a6e1435", kill_on_drop: false }` [INFO] [stderr] Compiling piano_man v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::device::queue` [INFO] [stdout] --> src/gui_renderer.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use wgpu::{self, core::device::queue, Backends}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DeviceEvent` [INFO] [stdout] --> src/main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | event::{DeviceEvent, Event, WindowEvent}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/gui_renderer.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | let surface = unsafe { instance.create_surface(window) }.unwrap(); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/gui_renderer.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn input(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pause_all_streams` and `clear_all` are never used [INFO] [stdout] --> src/buffer_que_manager.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait BufferQueManager { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] 13 | fn add_frames_to_que(&mut self, frames: Vec); [INFO] [stdout] 14 | fn pause_all_streams(&self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | fn clear_all(&mut self); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `input` is never used [INFO] [stdout] --> src/gui_renderer.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'a> State<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn input(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Octave` is never used [INFO] [stdout] --> src/music_entities.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Octave { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Chord` is never used [INFO] [stdout] --> src/music_entities.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum Chord { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThreeNoteChord` is never constructed [INFO] [stdout] --> src/music_entities.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | struct ThreeNoteChord(u64); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/music_entities.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl ThreeNoteChord { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 58 | fn new(notes: [&Note; 3]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_chord_map` is never used [INFO] [stdout] --> src/music_entities.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn generate_chord_map() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_chords_from_notes` is never used [INFO] [stdout] --> src/music_entities.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn get_chords_from_notes(notes: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_note_combinations` is never used [INFO] [stdout] --> src/music_entities.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | fn get_note_combinations<'a>(notes: &'a Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map_key_code_to_octave` is never used [INFO] [stdout] --> src/note_generator.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl NoteGenerator { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | fn map_key_code_to_octave(&self, key_pressed: &str) -> Octave { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | state.render_random_color(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 79 | let _ = state.render_random_color(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.56s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: document-features v0.2.8 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "a760cda113197577b81a828e9daffb903be4a7623bfd42dbee61560f4a6e1435", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a760cda113197577b81a828e9daffb903be4a7623bfd42dbee61560f4a6e1435", kill_on_drop: false }` [INFO] [stdout] a760cda113197577b81a828e9daffb903be4a7623bfd42dbee61560f4a6e1435