[INFO] cloning repository https://github.com/tomast1337/nbs-player-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tomast1337/nbs-player-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomast1337%2Fnbs-player-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomast1337%2Fnbs-player-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e9f95bdfeca35a19b8d0c38de6d94a9899a4d32a [INFO] testing tomast1337/nbs-player-rs against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomast1337%2Fnbs-player-rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tomast1337/nbs-player-rs on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tomast1337/nbs-player-rs [INFO] finished tweaking git repo https://github.com/tomast1337/nbs-player-rs [INFO] tweaked toml for git repo https://github.com/tomast1337/nbs-player-rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tomast1337/nbs-player-rs 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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 73b43730ea5bc6772cf7501bf28f58dc6c9845089fc6bdd8be349eb8e532d750 [INFO] running `Command { std: "docker" "start" "-a" "73b43730ea5bc6772cf7501bf28f58dc6c9845089fc6bdd8be349eb8e532d750", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73b43730ea5bc6772cf7501bf28f58dc6c9845089fc6bdd8be349eb8e532d750", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73b43730ea5bc6772cf7501bf28f58dc6c9845089fc6bdd8be349eb8e532d750", kill_on_drop: false }` [INFO] [stdout] 73b43730ea5bc6772cf7501bf28f58dc6c9845089fc6bdd8be349eb8e532d750 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3fcf496cf676075100497ab1ee3ac43760c3499ab107334e49b519fd6ee842f4 [INFO] running `Command { std: "docker" "start" "-a" "3fcf496cf676075100497ab1ee3ac43760c3499ab107334e49b519fd6ee842f4", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling prettyplease v0.2.30 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling symphonia-core v0.5.4 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling dasp_frame v0.11.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling bindgen v0.69.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling symphonia-metadata v0.5.4 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling dasp_ring_buffer v0.11.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling symphonia-utils-xiph v0.5.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling rustfft v6.2.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling once_cell v1.21.0 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling strength_reduce v0.2.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling transpose v0.2.3 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling primal-check v0.3.4 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling dasp_rms v0.11.0 [INFO] [stderr] Compiling dasp_peak v0.11.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling extended v0.1.0 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling mopa v0.2.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling alsa v0.9.1 [INFO] [stderr] Compiling symphonia-format-riff v0.5.4 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling dasp_envelope v0.11.0 [INFO] [stderr] Compiling dasp_interpolate v0.11.0 [INFO] [stderr] Compiling symphonia-format-ogg v0.5.4 [INFO] [stderr] Compiling symphonia-codec-vorbis v0.5.4 [INFO] [stderr] Compiling symphonia-bundle-flac v0.5.4 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Compiling symphonia-codec-pcm v0.5.4 [INFO] [stderr] Compiling dasp_window v0.11.1 [INFO] [stderr] Compiling jiff v0.2.4 [INFO] [stderr] Compiling tuple_utils v0.3.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling hibitset v0.6.4 [INFO] [stderr] Compiling shrev v1.1.3 [INFO] [stderr] Compiling tynm v0.1.10 [INFO] [stderr] Compiling mint v0.5.9 [INFO] [stderr] Compiling shred v0.10.2 [INFO] [stderr] Compiling symphonia v0.5.4 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling dasp_signal v0.11.0 [INFO] [stderr] Compiling glam v0.29.2 [INFO] [stderr] Compiling triple_buffer v8.1.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling libsamplerate v0.1.0 [INFO] [stderr] Compiling dasp_slice v0.11.0 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling atomic-arena v0.1.2 [INFO] [stderr] Compiling rtrb v0.3.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling specs v0.16.1 [INFO] [stderr] Compiling dasp v0.11.0 [INFO] [stderr] Compiling hound v3.5.1 [INFO] [stderr] Compiling nbs-rs v0.1.0 (https://github.com/tomast1337/nbs-rs.git#ebc5b9d2) [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling env_logger v0.11.7 [INFO] [stderr] Compiling colog v1.3.0 [INFO] [stderr] Compiling realfft v3.4.0 [INFO] [stderr] Compiling rubato v0.16.1 [INFO] [stderr] Compiling js-sys v0.3.77 [INFO] [stderr] Compiling kira v0.10.4 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling wasm-timer v0.2.5 [INFO] [stderr] Compiling raylib-sys v5.0.2 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.50 [INFO] [stderr] Compiling web-sys v0.3.77 [INFO] [stderr] Compiling samplerate-rs v0.1.0 [INFO] [stderr] Compiling raylib v5.0.2 [INFO] [stderr] Compiling nbs-player-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Frame` and `Mix` [INFO] [stdout] --> src/audio.rs:3:73 [INFO] [stdout] | [INFO] [stdout] 3 | self, AudioManager, AudioManagerSettings, Decibels, DefaultBackend, Frame, Mix, Panning, [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Frame` and `Mix` [INFO] [stdout] --> src/audio.rs:3:73 [INFO] [stdout] | [INFO] [stdout] 3 | self, AudioManager, AudioManagerSettings, Decibels, DefaultBackend, Frame, Mix, Panning, [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nbs_file` [INFO] [stdout] --> src/nbs_player.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | fn native(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nbs_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_width` [INFO] [stdout] --> src/nbs_player.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | fn native(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_height` [INFO] [stdout] --> src/nbs_player.rs:37:57 [INFO] [stdout] | [INFO] [stdout] 37 | fn native(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nbs_file` [INFO] [stdout] --> src/nbs_player.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | fn web(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nbs_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_width` [INFO] [stdout] --> src/nbs_player.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | fn web(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_height` [INFO] [stdout] --> src/nbs_player.rs:39:54 [INFO] [stdout] | [INFO] [stdout] 39 | fn web(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AudioEngine` is never constructed [INFO] [stdout] --> src/audio.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct AudioEngine { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `load_sound_data`, `new`, `get_sound_data`, and `play_tick` are never used [INFO] [stdout] --> src/audio.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl AudioEngine { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 18 | fn load_sound_data(data: Vec) -> StaticSoundData { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn new(extra_sounds: Option>, global_volume: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn get_sound_data(&mut self, note: &NoteBlock) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn play_tick(&mut self, notes: &[NoteBlock]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SongPlayer` is never constructed [INFO] [stdout] --> src/nbs_player.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SongPlayer { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `native` is never used [INFO] [stdout] --> src/nbs_player.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn native(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `web` is never used [INFO] [stdout] --> src/nbs_player.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn web(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_note_texture` is never used [INFO] [stdout] --> src/note.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn load_note_texture( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoteBlock` is never constructed [INFO] [stdout] --> src/note.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct NoteBlock { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NoteBlock` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_note_blocks` is never used [INFO] [stdout] --> src/note.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn get_note_blocks(song: &nbs_rs::NbsFile) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_instrument_palette` is never used [INFO] [stdout] --> src/note.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn generate_instrument_palette() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_notes` is never used [INFO] [stdout] --> src/note.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn draw_notes( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PianoProps` is never constructed [INFO] [stdout] --> src/piano.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PianoProps { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PianoProps` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PianoKey` is never constructed [INFO] [stdout] --> src/piano.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct PianoKey { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PianoKey` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/piano.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl PianoKey { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 28 | fn new(key: u8, label: &str, is_white: bool, white_key_index: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_piano_keys` is never used [INFO] [stdout] --> src/piano.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn generate_piano_keys() -> (Vec, HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_key_animation` is never used [INFO] [stdout] --> src/piano.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn update_key_animation(keys: &mut [PianoKey], delta_time: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_piano_keys` is never used [INFO] [stdout] --> src/piano.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn draw_piano_keys( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `initialize_piano_dimensions` is never used [INFO] [stdout] --> src/piano.rs:262:8 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn initialize_piano_dimensions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_piano_key_textures` is never used [INFO] [stdout] --> src/piano.rs:295:8 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn load_piano_key_textures( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_nbs_file` is never used [INFO] [stdout] --> src/song.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn load_nbs_file(song_data: Option>) -> NbsFile { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nbs_file` [INFO] [stdout] --> src/nbs_player.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | fn native(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nbs_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_width` [INFO] [stdout] --> src/nbs_player.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | fn native(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_height` [INFO] [stdout] --> src/nbs_player.rs:37:57 [INFO] [stdout] | [INFO] [stdout] 37 | fn native(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nbs_file` [INFO] [stdout] --> src/nbs_player.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | fn web(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nbs_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_width` [INFO] [stdout] --> src/nbs_player.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | fn web(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_height` [INFO] [stdout] --> src/nbs_player.rs:39:54 [INFO] [stdout] | [INFO] [stdout] 39 | fn web(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `manager` is never read [INFO] [stdout] --> src/audio.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct AudioEngine { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 11 | manager: AudioManager, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SongPlayer` is never constructed [INFO] [stdout] --> src/nbs_player.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SongPlayer { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `native` is never used [INFO] [stdout] --> src/nbs_player.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn native(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `web` is never used [INFO] [stdout] --> src/nbs_player.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn web(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tick` and `layer` are never read [INFO] [stdout] --> src/note.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct NoteBlock { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 25 | pub was_played: bool, [INFO] [stdout] 26 | pub tick: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | pub layer: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NoteBlock` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `Command { std: "docker" "inspect" "3fcf496cf676075100497ab1ee3ac43760c3499ab107334e49b519fd6ee842f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fcf496cf676075100497ab1ee3ac43760c3499ab107334e49b519fd6ee842f4", kill_on_drop: false }` [INFO] [stdout] 3fcf496cf676075100497ab1ee3ac43760c3499ab107334e49b519fd6ee842f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0b6ee4a6800aa7f93cc2f228008d736e91b58afcccea7d7cdd81db720961a25 [INFO] running `Command { std: "docker" "start" "-a" "e0b6ee4a6800aa7f93cc2f228008d736e91b58afcccea7d7cdd81db720961a25", kill_on_drop: false }` [INFO] [stderr] Compiling nbs-player-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Frame` and `Mix` [INFO] [stdout] --> src/audio.rs:3:73 [INFO] [stdout] | [INFO] [stdout] 3 | self, AudioManager, AudioManagerSettings, Decibels, DefaultBackend, Frame, Mix, Panning, [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Frame` and `Mix` [INFO] [stdout] --> src/audio.rs:3:73 [INFO] [stdout] | [INFO] [stdout] 3 | self, AudioManager, AudioManagerSettings, Decibels, DefaultBackend, Frame, Mix, Panning, [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nbs_file` [INFO] [stdout] --> src/nbs_player.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | fn native(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nbs_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_width` [INFO] [stdout] --> src/nbs_player.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | fn native(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_height` [INFO] [stdout] --> src/nbs_player.rs:37:57 [INFO] [stdout] | [INFO] [stdout] 37 | fn native(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nbs_file` [INFO] [stdout] --> src/nbs_player.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | fn web(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nbs_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_width` [INFO] [stdout] --> src/nbs_player.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | fn web(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_height` [INFO] [stdout] --> src/nbs_player.rs:39:54 [INFO] [stdout] | [INFO] [stdout] 39 | fn web(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nbs_file` [INFO] [stdout] --> src/nbs_player.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | fn native(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nbs_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_width` [INFO] [stdout] --> src/nbs_player.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | fn native(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_height` [INFO] [stdout] --> src/nbs_player.rs:37:57 [INFO] [stdout] | [INFO] [stdout] 37 | fn native(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nbs_file` [INFO] [stdout] --> src/nbs_player.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | fn web(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nbs_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_width` [INFO] [stdout] --> src/nbs_player.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | fn web(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_height` [INFO] [stdout] --> src/nbs_player.rs:39:54 [INFO] [stdout] | [INFO] [stdout] 39 | fn web(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AudioEngine` is never constructed [INFO] [stdout] --> src/audio.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct AudioEngine { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `load_sound_data`, `new`, `get_sound_data`, and `play_tick` are never used [INFO] [stdout] --> src/audio.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl AudioEngine { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 18 | fn load_sound_data(data: Vec) -> StaticSoundData { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn new(extra_sounds: Option>, global_volume: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn get_sound_data(&mut self, note: &NoteBlock) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn play_tick(&mut self, notes: &[NoteBlock]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SongPlayer` is never constructed [INFO] [stdout] --> src/nbs_player.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SongPlayer { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `native` is never used [INFO] [stdout] --> src/nbs_player.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn native(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `web` is never used [INFO] [stdout] --> src/nbs_player.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn web(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_note_texture` is never used [INFO] [stdout] --> src/note.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn load_note_texture( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoteBlock` is never constructed [INFO] [stdout] --> src/note.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct NoteBlock { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NoteBlock` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_note_blocks` is never used [INFO] [stdout] --> src/note.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn get_note_blocks(song: &nbs_rs::NbsFile) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_instrument_palette` is never used [INFO] [stdout] --> src/note.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn generate_instrument_palette() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_notes` is never used [INFO] [stdout] --> src/note.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn draw_notes( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PianoProps` is never constructed [INFO] [stdout] --> src/piano.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PianoProps { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PianoProps` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PianoKey` is never constructed [INFO] [stdout] --> src/piano.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct PianoKey { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PianoKey` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/piano.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl PianoKey { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 28 | fn new(key: u8, label: &str, is_white: bool, white_key_index: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_piano_keys` is never used [INFO] [stdout] --> src/piano.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn generate_piano_keys() -> (Vec, HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_key_animation` is never used [INFO] [stdout] --> src/piano.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn update_key_animation(keys: &mut [PianoKey], delta_time: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_piano_keys` is never used [INFO] [stdout] --> src/piano.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn draw_piano_keys( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `initialize_piano_dimensions` is never used [INFO] [stdout] --> src/piano.rs:262:8 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn initialize_piano_dimensions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_piano_key_textures` is never used [INFO] [stdout] --> src/piano.rs:295:8 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn load_piano_key_textures( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_nbs_file` is never used [INFO] [stdout] --> src/song.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn load_nbs_file(song_data: Option>) -> NbsFile { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `manager` is never read [INFO] [stdout] --> src/audio.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct AudioEngine { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 11 | manager: AudioManager, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SongPlayer` is never constructed [INFO] [stdout] --> src/nbs_player.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SongPlayer { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `native` is never used [INFO] [stdout] --> src/nbs_player.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn native(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `web` is never used [INFO] [stdout] --> src/nbs_player.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn web(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tick` and `layer` are never read [INFO] [stdout] --> src/note.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct NoteBlock { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 25 | pub was_played: bool, [INFO] [stdout] 26 | pub tick: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | pub layer: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NoteBlock` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.23s [INFO] running `Command { std: "docker" "inspect" "e0b6ee4a6800aa7f93cc2f228008d736e91b58afcccea7d7cdd81db720961a25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0b6ee4a6800aa7f93cc2f228008d736e91b58afcccea7d7cdd81db720961a25", kill_on_drop: false }` [INFO] [stdout] e0b6ee4a6800aa7f93cc2f228008d736e91b58afcccea7d7cdd81db720961a25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 703750d267a1032e6f15cfde71017bcd193aebf621c2e911c96ddff4e45bb73d [INFO] running `Command { std: "docker" "start" "-a" "703750d267a1032e6f15cfde71017bcd193aebf621c2e911c96ddff4e45bb73d", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Frame` and `Mix` [INFO] [stderr] --> src/audio.rs:3:73 [INFO] [stderr] | [INFO] [stderr] 3 | self, AudioManager, AudioManagerSettings, Decibels, DefaultBackend, Frame, Mix, Panning, [INFO] [stderr] | ^^^^^ ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `nbs_file` [INFO] [stderr] --> src/nbs_player.rs:37:11 [INFO] [stderr] | [INFO] [stderr] 37 | fn native(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nbs_file` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `window_width` [INFO] [stderr] --> src/nbs_player.rs:37:30 [INFO] [stderr] | [INFO] [stderr] 37 | fn native(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_width` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `window_height` [INFO] [stderr] --> src/nbs_player.rs:37:57 [INFO] [stderr] | [INFO] [stderr] 37 | fn native(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_height` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `nbs_file` [INFO] [stderr] --> src/nbs_player.rs:39:8 [INFO] [stderr] | [INFO] [stderr] 39 | fn web(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nbs_file` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `window_width` [INFO] [stderr] --> src/nbs_player.rs:39:27 [INFO] [stderr] | [INFO] [stderr] 39 | fn web(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_width` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `window_height` [INFO] [stderr] --> src/nbs_player.rs:39:54 [INFO] [stderr] | [INFO] [stderr] 39 | fn web(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_height` [INFO] [stderr] [INFO] [stderr] warning: field `manager` is never read [INFO] [stderr] --> src/audio.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct AudioEngine { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 11 | manager: AudioManager, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `SongPlayer` is never constructed [INFO] [stderr] --> src/nbs_player.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct SongPlayer { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `native` is never used [INFO] [stderr] --> src/nbs_player.rs:37:4 [INFO] [stderr] | [INFO] [stderr] 37 | fn native(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `web` is never used [INFO] [stderr] --> src/nbs_player.rs:39:4 [INFO] [stderr] | [INFO] [stderr] 39 | fn web(nbs_file: NbsFile, window_width: Option, window_height: Option) {} [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `tick` and `layer` are never read [INFO] [stderr] --> src/note.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 24 | pub struct NoteBlock { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 25 | pub was_played: bool, [INFO] [stderr] 26 | pub tick: u16, [INFO] [stderr] | ^^^^ [INFO] [stderr] 27 | pub layer: u16, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `NoteBlock` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `AudioEngine` is never constructed [INFO] [stderr] --> src/audio.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct AudioEngine { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `load_sound_data`, `new`, `get_sound_data`, and `play_tick` are never used [INFO] [stderr] --> src/audio.rs:18:8 [INFO] [stderr] | [INFO] [stderr] 17 | impl AudioEngine { [INFO] [stderr] | ---------------- associated items in this implementation [INFO] [stderr] 18 | fn load_sound_data(data: Vec) -> StaticSoundData { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 24 | pub fn new(extra_sounds: Option>, global_volume: f32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 71 | fn get_sound_data(&mut self, note: &NoteBlock) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 112 | pub fn play_tick(&mut self, notes: &[NoteBlock]) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `load_note_texture` is never used [INFO] [stderr] --> src/note.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn load_note_texture( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `NoteBlock` is never constructed [INFO] [stderr] --> src/note.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | pub struct NoteBlock { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `NoteBlock` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `get_note_blocks` is never used [INFO] [stderr] --> src/note.rs:35:8 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn get_note_blocks(song: &nbs_rs::NbsFile) -> Vec> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `generate_instrument_palette` is never used [INFO] [stderr] --> src/note.rs:64:8 [INFO] [stderr] | [INFO] [stderr] 64 | pub fn generate_instrument_palette() -> HashMap { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `draw_notes` is never used [INFO] [stderr] --> src/note.rs:93:8 [INFO] [stderr] | [INFO] [stderr] 93 | pub fn draw_notes( [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `PianoProps` is never constructed [INFO] [stderr] --> src/piano.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct PianoProps { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PianoProps` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `PianoKey` is never constructed [INFO] [stderr] --> src/piano.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct PianoKey { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PianoKey` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/piano.rs:28:8 [INFO] [stderr] | [INFO] [stderr] 27 | impl PianoKey { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] 28 | fn new(key: u8, label: &str, is_white: bool, white_key_index: Option) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `generate_piano_keys` is never used [INFO] [stderr] --> src/piano.rs:41:8 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn generate_piano_keys() -> (Vec, HashMap) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `update_key_animation` is never used [INFO] [stderr] --> src/piano.rs:167:8 [INFO] [stderr] | [INFO] [stderr] 167 | pub fn update_key_animation(keys: &mut [PianoKey], delta_time: f32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `draw_piano_keys` is never used [INFO] [stderr] --> src/piano.rs:195:8 [INFO] [stderr] | [INFO] [stderr] 195 | pub fn draw_piano_keys( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `initialize_piano_dimensions` is never used [INFO] [stderr] --> src/piano.rs:262:8 [INFO] [stderr] | [INFO] [stderr] 262 | pub fn initialize_piano_dimensions( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `load_piano_key_textures` is never used [INFO] [stderr] --> src/piano.rs:295:8 [INFO] [stderr] | [INFO] [stderr] 295 | pub fn load_piano_key_textures( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `load_nbs_file` is never used [INFO] [stderr] --> src/song.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn load_nbs_file(song_data: Option>) -> NbsFile { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `nbs-player-rs` (bin "nbs-player-rs" test) generated 12 warnings (run `cargo fix --bin "nbs-player-rs" --tests` to apply 1 suggestion) [INFO] [stderr] warning: `nbs-player-rs` (lib test) generated 26 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nbs_player_rs-ad641dcb01412b18) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/nbs_player_rs-0c664c1ebd372361) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "703750d267a1032e6f15cfde71017bcd193aebf621c2e911c96ddff4e45bb73d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "703750d267a1032e6f15cfde71017bcd193aebf621c2e911c96ddff4e45bb73d", kill_on_drop: false }` [INFO] [stdout] 703750d267a1032e6f15cfde71017bcd193aebf621c2e911c96ddff4e45bb73d