[INFO] cloning repository https://github.com/lalomorales22/rust-terminal-keyboard [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lalomorales22/rust-terminal-keyboard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flalomorales22%2Frust-terminal-keyboard", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flalomorales22%2Frust-terminal-keyboard'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d69240fe2b31bbbaa86470f2a2068dc587e3afc [INFO] testing lalomorales22/rust-terminal-keyboard against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flalomorales22%2Frust-terminal-keyboard" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lalomorales22/rust-terminal-keyboard [INFO] finished tweaking git repo https://github.com/lalomorales22/rust-terminal-keyboard [INFO] tweaked toml for git repo https://github.com/lalomorales22/rust-terminal-keyboard written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lalomorales22/rust-terminal-keyboard on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lalomorales22/rust-terminal-keyboard 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded midly v0.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ab0fcf97545bcdf879095e7cbe4b0381d4e172d81c49a966eebcba6d2947ca8 [INFO] running `Command { std: "docker" "start" "-a" "5ab0fcf97545bcdf879095e7cbe4b0381d4e172d81c49a966eebcba6d2947ca8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ab0fcf97545bcdf879095e7cbe4b0381d4e172d81c49a966eebcba6d2947ca8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ab0fcf97545bcdf879095e7cbe4b0381d4e172d81c49a966eebcba6d2947ca8", kill_on_drop: false }` [INFO] [stdout] 5ab0fcf97545bcdf879095e7cbe4b0381d4e172d81c49a966eebcba6d2947ca8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b3ea4d925cef7455f180770c9df1a3bdab97b445c933f13f33f65bee65dab0f [INFO] running `Command { std: "docker" "start" "-a" "2b3ea4d925cef7455f180770c9df1a3bdab97b445c933f13f33f65bee65dab0f", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling bitflags v2.9.2 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling symphonia-core v0.5.4 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling instability v0.3.9 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling alsa v0.9.1 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling hound v3.5.1 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling symphonia-metadata v0.5.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling symphonia v0.5.4 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling midly v0.5.3 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rodio v0.19.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling clap v4.5.45 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling ratatui v0.28.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling terminal-piano v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/app.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | for i in 0..particle_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserializer` [INFO] [stdout] --> src/audio.rs:259:31 [INFO] [stdout] | [INFO] [stdout] 259 | use serde::de::{self, Deserializer, MapAccess, Visitor}; [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: `Deserializer` [INFO] [stdout] --> src/audio.rs:328:31 [INFO] [stdout] | [INFO] [stdout] 328 | use serde::de::{self, Deserializer, MapAccess, Visitor}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserializer` [INFO] [stdout] --> src/audio.rs:413:31 [INFO] [stdout] | [INFO] [stdout] 413 | use serde::de::{self, Deserializer, MapAccess, Visitor}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `absolute_time` is never read [INFO] [stdout] --> src/midi.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | let mut absolute_time = 0u64; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel` [INFO] [stdout] --> src/midi.rs:73:51 [INFO] [stdout] | [INFO] [stdout] 73 | midly::TrackEventKind::Midi { channel, message } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `channel: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `audio_engine` [INFO] [stdout] --> src/ui.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | audio_engine: &AudioEngine, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_audio_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `stop_all_notes` and `get_volume` are never used [INFO] [stdout] --> src/audio.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl AudioEngine { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn stop_all_notes(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn get_volume(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `delta_time` is never read [INFO] [stdout] --> src/midi.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct MidiEvent { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 11 | pub delta_time: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MidiEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `stop`, `seek_to_position`, `set_loop`, and `is_loop_enabled` are never used [INFO] [stdout] --> src/midi.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl MidiPlayer { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn stop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn seek_to_position(&mut self, position: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn set_loop(&mut self, enabled: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 291 | pub fn is_loop_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `midi_note_to_frequency` is never used [INFO] [stdout] --> src/midi.rs:359:8 [INFO] [stdout] | [INFO] [stdout] 359 | pub fn midi_note_to_frequency(midi_note: u8) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `frequency_to_midi_note` is never used [INFO] [stdout] --> src/midi.rs:363:8 [INFO] [stdout] | [INFO] [stdout] 363 | pub fn frequency_to_midi_note(frequency: f32) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `note_name_to_midi_note` is never used [INFO] [stdout] --> src/midi.rs:367:8 [INFO] [stdout] | [INFO] [stdout] 367 | pub fn note_name_to_midi_note(note_name: &str, octave: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `midi_note_to_note_name` is never used [INFO] [stdout] --> src/midi.rs:387:8 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn midi_note_to_note_name(midi_note: u8) -> (String, u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_octave_range` and `get_key_layout` are never used [INFO] [stdout] --> src/piano.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl Piano { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 220 | pub fn get_octave_range(&self) -> (u8, u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn get_key_layout(&self) -> Vec<(char, Note, bool)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/piano.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 250 | pub struct PianoLayout { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 253 | pub width: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 254 | pub height: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PianoLayout` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `show_info`, `current_octave_display`, and `volume_display` are never read [INFO] [stdout] --> src/ui.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct UI { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 16 | pub show_help: bool, [INFO] [stdout] 17 | pub show_info: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | pub current_octave_display: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub volume_display: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear_status_message` is never used [INFO] [stdout] --> src/ui.rs:418:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl UI { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 418 | pub fn clear_status_message(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/effects.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct KeyPressEffect { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyPressEffect` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_particles_at` and `hsv_to_rgb` are never used [INFO] [stdout] --> src/effects.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl VisualEffects { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn get_particles_at(&self, x: u16, y: u16, tolerance: u16) -> Vec<&ParticleEffect> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | fn hsv_to_rgb(h: f32, s: f32, v: f32) -> Color { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleEffects` is never constructed [INFO] [stdout] --> src/effects.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 223 | pub struct SimpleEffects { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `apply_glow_effect` are never used [INFO] [stdout] --> src/effects.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 227 | impl SimpleEffects { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 228 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn apply_glow_effect(&self, base_color: Color, intensity: f32) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.80s [INFO] running `Command { std: "docker" "inspect" "2b3ea4d925cef7455f180770c9df1a3bdab97b445c933f13f33f65bee65dab0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b3ea4d925cef7455f180770c9df1a3bdab97b445c933f13f33f65bee65dab0f", kill_on_drop: false }` [INFO] [stdout] 2b3ea4d925cef7455f180770c9df1a3bdab97b445c933f13f33f65bee65dab0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b384ff8907bcba55637277000764e1a6f128d82aab59a9541894623715e9b632 [INFO] running `Command { std: "docker" "start" "-a" "b384ff8907bcba55637277000764e1a6f128d82aab59a9541894623715e9b632", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling terminal-piano v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/app.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | for i in 0..particle_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserializer` [INFO] [stdout] --> src/audio.rs:259:31 [INFO] [stdout] | [INFO] [stdout] 259 | use serde::de::{self, Deserializer, MapAccess, Visitor}; [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: `Deserializer` [INFO] [stdout] --> src/audio.rs:328:31 [INFO] [stdout] | [INFO] [stdout] 328 | use serde::de::{self, Deserializer, MapAccess, Visitor}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserializer` [INFO] [stdout] --> src/audio.rs:413:31 [INFO] [stdout] | [INFO] [stdout] 413 | use serde::de::{self, Deserializer, MapAccess, Visitor}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `absolute_time` is never read [INFO] [stdout] --> src/midi.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | let mut absolute_time = 0u64; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel` [INFO] [stdout] --> src/midi.rs:73:51 [INFO] [stdout] | [INFO] [stdout] 73 | midly::TrackEventKind::Midi { channel, message } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `channel: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `audio_engine` [INFO] [stdout] --> src/ui.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | audio_engine: &AudioEngine, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_audio_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `stop_all_notes` and `get_volume` are never used [INFO] [stdout] --> src/audio.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl AudioEngine { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn stop_all_notes(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn get_volume(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `delta_time` is never read [INFO] [stdout] --> src/midi.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct MidiEvent { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 11 | pub delta_time: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MidiEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `stop`, `seek_to_position`, `set_loop`, and `is_loop_enabled` are never used [INFO] [stdout] --> src/midi.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl MidiPlayer { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn stop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn seek_to_position(&mut self, position: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn set_loop(&mut self, enabled: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 291 | pub fn is_loop_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_octave_range` and `get_key_layout` are never used [INFO] [stdout] --> src/piano.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl Piano { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 220 | pub fn get_octave_range(&self) -> (u8, u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn get_key_layout(&self) -> Vec<(char, Note, bool)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/piano.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 250 | pub struct PianoLayout { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 253 | pub width: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 254 | pub height: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PianoLayout` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `show_info`, `current_octave_display`, and `volume_display` are never read [INFO] [stdout] --> src/ui.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct UI { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 16 | pub show_help: bool, [INFO] [stdout] 17 | pub show_info: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | pub current_octave_display: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub volume_display: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear_status_message` is never used [INFO] [stdout] --> src/ui.rs:418:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl UI { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 418 | pub fn clear_status_message(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/effects.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct KeyPressEffect { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyPressEffect` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_particles_at` and `hsv_to_rgb` are never used [INFO] [stdout] --> src/effects.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl VisualEffects { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn get_particles_at(&self, x: u16, y: u16, tolerance: u16) -> Vec<&ParticleEffect> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | fn hsv_to_rgb(h: f32, s: f32, v: f32) -> Color { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleEffects` is never constructed [INFO] [stdout] --> src/effects.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 223 | pub struct SimpleEffects { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `apply_glow_effect` are never used [INFO] [stdout] --> src/effects.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 227 | impl SimpleEffects { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 228 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn apply_glow_effect(&self, base_color: Color, intensity: f32) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 21.21s [INFO] running `Command { std: "docker" "inspect" "b384ff8907bcba55637277000764e1a6f128d82aab59a9541894623715e9b632", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b384ff8907bcba55637277000764e1a6f128d82aab59a9541894623715e9b632", kill_on_drop: false }` [INFO] [stdout] b384ff8907bcba55637277000764e1a6f128d82aab59a9541894623715e9b632 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5fe94885a1bd35055cd2a4632b67758b732eae86d335c57873721e0af57e0f14 [INFO] running `Command { std: "docker" "start" "-a" "5fe94885a1bd35055cd2a4632b67758b732eae86d335c57873721e0af57e0f14", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/app.rs:302:13 [INFO] [stderr] | [INFO] [stderr] 302 | for i in 0..particle_count { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Deserializer` [INFO] [stderr] --> src/audio.rs:259:31 [INFO] [stderr] | [INFO] [stderr] 259 | use serde::de::{self, Deserializer, MapAccess, Visitor}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Deserializer` [INFO] [stderr] --> src/audio.rs:328:31 [INFO] [stderr] | [INFO] [stderr] 328 | use serde::de::{self, Deserializer, MapAccess, Visitor}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Deserializer` [INFO] [stderr] --> src/audio.rs:413:31 [INFO] [stderr] | [INFO] [stderr] 413 | use serde::de::{self, Deserializer, MapAccess, Visitor}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: value assigned to `absolute_time` is never read [INFO] [stderr] --> src/midi.rs:64:17 [INFO] [stderr] | [INFO] [stderr] 64 | let mut absolute_time = 0u64; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `channel` [INFO] [stderr] --> src/midi.rs:73:51 [INFO] [stderr] | [INFO] [stderr] 73 | midly::TrackEventKind::Midi { channel, message } => { [INFO] [stderr] | ^^^^^^^ help: try ignoring the field: `channel: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `audio_engine` [INFO] [stderr] --> src/ui.rs:76:9 [INFO] [stderr] | [INFO] [stderr] 76 | audio_engine: &AudioEngine, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_audio_engine` [INFO] [stderr] [INFO] [stderr] warning: methods `stop_all_notes` and `get_volume` are never used [INFO] [stderr] --> src/audio.rs:112:12 [INFO] [stderr] | [INFO] [stderr] 18 | impl AudioEngine { [INFO] [stderr] | ---------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 112 | pub fn stop_all_notes(&self) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 128 | pub fn get_volume(&self) -> f32 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `delta_time` is never read [INFO] [stderr] --> src/midi.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct MidiEvent { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 11 | pub delta_time: u32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MidiEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `stop`, `seek_to_position`, `set_loop`, and `is_loop_enabled` are never used [INFO] [stderr] --> src/midi.rs:132:12 [INFO] [stderr] | [INFO] [stderr] 29 | impl MidiPlayer { [INFO] [stderr] | --------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 132 | pub fn stop(&mut self) { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 227 | pub fn seek_to_position(&mut self, position: f32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 287 | pub fn set_loop(&mut self, enabled: bool) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 291 | pub fn is_loop_enabled(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get_octave_range` and `get_key_layout` are never used [INFO] [stderr] --> src/piano.rs:220:12 [INFO] [stderr] | [INFO] [stderr] 96 | impl Piano { [INFO] [stderr] | ---------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 220 | pub fn get_octave_range(&self) -> (u8, u8) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 235 | pub fn get_key_layout(&self) -> Vec<(char, Note, bool)> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `width` and `height` are never read [INFO] [stderr] --> src/piano.rs:253:9 [INFO] [stderr] | [INFO] [stderr] 250 | pub struct PianoLayout { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 253 | pub width: u16, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 254 | pub height: u16, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PianoLayout` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `show_info`, `current_octave_display`, and `volume_display` are never read [INFO] [stderr] --> src/ui.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct UI { [INFO] [stderr] | -- fields in this struct [INFO] [stderr] 16 | pub show_help: bool, [INFO] [stderr] 17 | pub show_info: bool, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 18 | pub current_octave_display: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 19 | pub volume_display: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `clear_status_message` is never used [INFO] [stderr] --> src/ui.rs:418:12 [INFO] [stderr] | [INFO] [stderr] 25 | impl UI { [INFO] [stderr] | ------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 418 | pub fn clear_status_message(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `color` is never read [INFO] [stderr] --> src/effects.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct KeyPressEffect { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 9 | pub color: Color, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `KeyPressEffect` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `get_particles_at` and `hsv_to_rgb` are never used [INFO] [stderr] --> src/effects.rs:143:12 [INFO] [stderr] | [INFO] [stderr] 94 | impl VisualEffects { [INFO] [stderr] | ------------------ associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 143 | pub fn get_particles_at(&self, x: u16, y: u16, tolerance: u16) -> Vec<&ParticleEffect> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 175 | fn hsv_to_rgb(h: f32, s: f32, v: f32) -> Color { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `SimpleEffects` is never constructed [INFO] [stderr] --> src/effects.rs:223:12 [INFO] [stderr] | [INFO] [stderr] 223 | pub struct SimpleEffects { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `apply_glow_effect` are never used [INFO] [stderr] --> src/effects.rs:228:12 [INFO] [stderr] | [INFO] [stderr] 227 | impl SimpleEffects { [INFO] [stderr] | ------------------ associated items in this implementation [INFO] [stderr] 228 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 234 | pub fn apply_glow_effect(&self, base_color: Color, intensity: f32) -> Color { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `terminal-piano` (bin "terminal-piano" test) generated 18 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/terminal_piano-344a81a2f2fd0db0) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test midi::tests::test_midi_note_conversion ... FAILED [INFO] [stdout] test midi::tests::test_time_conversion ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- midi::tests::test_midi_note_conversion stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'midi::tests::test_midi_note_conversion' (24) panicked at src/midi.rs:408:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: 48 [INFO] [stdout] right: 60 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x56e80e885042 - std::backtrace_rs::backtrace::libunwind::trace::h52580dd202462214 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x56e80e885042 - std::backtrace_rs::backtrace::trace_unsynchronized::hc969519abce0f52b [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x56e80e885042 - std::sys::backtrace::_print_fmt::hfd5825900b6e0030 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x56e80e885042 - ::fmt::h427144ad75cfb218 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x56e80e8966af - core::fmt::rt::Argument::fmt::hd5ccc9cf97cea7f7 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x56e80e8966af - core::fmt::write::h593aaf5adf0f5dae [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x56e80e851451 - std::io::default_write_fmt::h305b5a0727055346 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x56e80e851451 - std::io::Write::write_fmt::h76f14a8a88733dc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x56e80e85d3b2 - std::sys::backtrace::BacktraceLock::print::h3953113552dca3ca [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x56e80e86287f - std::panicking::default_hook::{{closure}}::h486b96ad75eafbb8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x56e80e862711 - std::panicking::default_hook::h99456317c5a1a20c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x56e80e81728e - as core::ops::function::Fn>::call::h441e4551014e4cf8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x56e80e81728e - test::test_main_with_exit_callback::{{closure}}::hdbca54e17f1a00e4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x56e80e862f3f - as core::ops::function::Fn>::call::h1e57b72c4e1d3045 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x56e80e862f3f - std::panicking::panic_with_hook::h67ab0df20212e4ea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x56e80e862d9a - std::panicking::panic_handler::{{closure}}::hc9e4a933ae92e208 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x56e80e85d4e9 - std::sys::backtrace::__rust_end_short_backtrace::hbfa72df9b68c2d19 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x56e80e8456fd - __rustc[8cce077e14951490]::rust_begin_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x56e80e89e1b0 - core::panicking::panic_fmt::h49931053d20abf41 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x56e80e89dfb3 - core::panicking::assert_failed_inner::h3eabd3c15a9e5a8c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x56e80e83bcea - core::panicking::assert_failed::h3b31cf9a4821b00d [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x56e80e7f4903 - terminal_piano::midi::tests::test_midi_note_conversion::h7c9747d65ccaabb8 [INFO] [stdout] at /opt/rustwide/workdir/src/midi.rs:408:9 [INFO] [stdout] 22: 0x56e80e7f4957 - terminal_piano::midi::tests::test_midi_note_conversion::{{closure}}::h3e32e758a0c240a4 [INFO] [stdout] at /opt/rustwide/workdir/src/midi.rs:399:35 [INFO] [stdout] 23: 0x56e80e7f4b46 - core::ops::function::FnOnce::call_once::h6fdb76b5eeb8e375 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x56e80e81704b - core::ops::function::FnOnce::call_once::h5d9016d521f5aee4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x56e80e81704b - test::__rust_begin_short_backtrace::h123fcee610330442 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x56e80e82cb35 - test::run_test_in_process::{{closure}}::h0442efda2e6359b2 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x56e80e82cb35 - as core::ops::function::FnOnce<()>>::call_once::hfe3528c8dd09682c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x56e80e82cb35 - std::panicking::catch_unwind::do_call::hb1659f7844fe8531 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x56e80e82cb35 - std::panicking::catch_unwind::hdc1f4be0019e72ad [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x56e80e82cb35 - std::panic::catch_unwind::hd6d7ccfa4513e770 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x56e80e82cb35 - test::run_test_in_process::h6bbb839ed0802366 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x56e80e82cb35 - test::run_test::{{closure}}::he4fad7398c8acc11 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x56e80e8034a4 - test::run_test::{{closure}}::h41975797e198d26c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x56e80e8034a4 - std::sys::backtrace::__rust_begin_short_backtrace::hfb46c397857336f1 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x56e80e806e4a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hddf826a64f532bea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x56e80e806e4a - as core::ops::function::FnOnce<()>>::call_once::hc3518c3eab91aeb3 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x56e80e806e4a - std::panicking::catch_unwind::do_call::h7bf3ad6dc012415a [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x56e80e806e4a - std::panicking::catch_unwind::h8b88f0375c767e36 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x56e80e806e4a - std::panic::catch_unwind::h66cb5d61a90f7bc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x56e80e806e4a - std::thread::Builder::spawn_unchecked_::{{closure}}::h65bc9d15fb966bbd [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x56e80e806e4a - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8d2c9a8796342e5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x56e80e85761f - as core::ops::function::FnOnce>::call_once::hef12b47e5c033835 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x56e80e85761f - std::sys::pal::unix::thread::Thread::new::thread_start::h135087e7c97657bc [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 44: 0x78f53b077aa4 - [INFO] [stdout] 45: 0x78f53b104a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] midi::tests::test_midi_note_conversion [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin terminal-piano` [INFO] running `Command { std: "docker" "inspect" "5fe94885a1bd35055cd2a4632b67758b732eae86d335c57873721e0af57e0f14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fe94885a1bd35055cd2a4632b67758b732eae86d335c57873721e0af57e0f14", kill_on_drop: false }` [INFO] [stdout] 5fe94885a1bd35055cd2a4632b67758b732eae86d335c57873721e0af57e0f14