[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] building lalomorales22/rust-terminal-keyboard against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flalomorales22%2Frust-terminal-keyboard" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded symphonia-metadata v0.5.4 [INFO] [stderr] Downloaded hound v3.5.1 [INFO] [stderr] Downloaded symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Downloaded coreaudio-sys v0.2.17 [INFO] [stderr] Downloaded symphonia v0.5.4 [INFO] [stderr] Downloaded mach2 v0.4.3 [INFO] [stderr] Downloaded midly v0.5.3 [INFO] [stderr] Downloaded rodio v0.19.0 [INFO] [stderr] Downloaded bindgen v0.72.0 [INFO] [stderr] Downloaded ratatui v0.28.1 [INFO] [stderr] Downloaded cc v1.2.33 [INFO] [stderr] Downloaded symphonia-core v0.5.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 82bbb0d894b0436f0515e48cfae59462f195d3f0feabdf2f20c60720264c75ba [INFO] running `Command { std: "docker" "start" "-a" "82bbb0d894b0436f0515e48cfae59462f195d3f0feabdf2f20c60720264c75ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82bbb0d894b0436f0515e48cfae59462f195d3f0feabdf2f20c60720264c75ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82bbb0d894b0436f0515e48cfae59462f195d3f0feabdf2f20c60720264c75ba", kill_on_drop: false }` [INFO] [stdout] 82bbb0d894b0436f0515e48cfae59462f195d3f0feabdf2f20c60720264c75ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] b8357ca4e7947ec25036b92557a81ea1e800660a7e4a532edd8c8a25fb55d21c [INFO] running `Command { std: "docker" "start" "-a" "b8357ca4e7947ec25036b92557a81ea1e800660a7e4a532edd8c8a25fb55d21c", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling bitflags v2.9.2 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling instability v0.3.9 [INFO] [stderr] Compiling symphonia-core v0.5.4 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling alsa v0.9.1 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling hound v3.5.1 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling symphonia-metadata v0.5.4 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling symphonia v0.5.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling midly v0.5.3 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling clap_derive v4.5.45 [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 1m 04s [INFO] running `Command { std: "docker" "inspect" "b8357ca4e7947ec25036b92557a81ea1e800660a7e4a532edd8c8a25fb55d21c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8357ca4e7947ec25036b92557a81ea1e800660a7e4a532edd8c8a25fb55d21c", kill_on_drop: false }` [INFO] [stdout] b8357ca4e7947ec25036b92557a81ea1e800660a7e4a532edd8c8a25fb55d21c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 3a87b4e139c3af77d0d96db3f252b203dac2e04ba5f3fa23e465ed52e186db07 [INFO] running `Command { std: "docker" "start" "-a" "3a87b4e139c3af77d0d96db3f252b203dac2e04ba5f3fa23e465ed52e186db07", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_json v1.0.143 [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 26.83s [INFO] running `Command { std: "docker" "inspect" "3a87b4e139c3af77d0d96db3f252b203dac2e04ba5f3fa23e465ed52e186db07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a87b4e139c3af77d0d96db3f252b203dac2e04ba5f3fa23e465ed52e186db07", kill_on_drop: false }` [INFO] [stdout] 3a87b4e139c3af77d0d96db3f252b203dac2e04ba5f3fa23e465ed52e186db07