[INFO] fetching crate oml-audio 0.5.1... [INFO] testing oml-audio-0.5.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate oml-audio 0.5.1 into /workspace/builds/worker-86/source [INFO] validating manifest of crates.io crate oml-audio 0.5.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate oml-audio 0.5.1 [INFO] finished tweaking crates.io crate oml-audio 0.5.1 [INFO] tweaked toml for crates.io crate oml-audio 0.5.1 written to /workspace/builds/worker-86/source/Cargo.toml [INFO] crate crates.io crate oml-audio 0.5.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 598d825c2e59aa9a6748dd41d8a490e074716fb9fe38a168ad270f240f2adba1 [INFO] running `Command { std: "docker" "start" "-a" "598d825c2e59aa9a6748dd41d8a490e074716fb9fe38a168ad270f240f2adba1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "598d825c2e59aa9a6748dd41d8a490e074716fb9fe38a168ad270f240f2adba1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "598d825c2e59aa9a6748dd41d8a490e074716fb9fe38a168ad270f240f2adba1", kill_on_drop: false }` [INFO] [stdout] 598d825c2e59aa9a6748dd41d8a490e074716fb9fe38a168ad270f240f2adba1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3702cec1a2e760549883d544e5b4f8a3fb7b8188cf005e34af5349124392f8a1 [INFO] running `Command { std: "docker" "start" "-a" "3702cec1a2e760549883d544e5b4f8a3fb7b8188cf005e34af5349124392f8a1", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling bindgen v0.54.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling oml-audio v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling ringbuf v0.2.6 [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling ep-miniaudio-sys v2.4.0 [INFO] [stderr] Compiling miniaudio v0.10.0 [INFO] [stdout] warning: unused import: `crate::Music` [INFO] [stdout] --> src/audio/audio_stub.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Music; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::SoundBank` [INFO] [stdout] --> src/audio/audio_stub.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::SoundBank; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OpenOptions` [INFO] [stdout] --> src/fileloader.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::{ File, OpenOptions }; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/wav_player.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn set_current_time( &mut self, time: f64 ) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fileloader` [INFO] [stdout] --> src/audio/audio_stub.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn load_music( &mut self, fileloader: &mut impl FileLoader, filename: &str ) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fileloader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/audio/audio_stub.rs:30:66 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn load_music( &mut self, fileloader: &mut impl FileLoader, filename: &str ) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fileloader` [INFO] [stdout] --> src/audio/audio_stub.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn load_sound_bank( &mut self, fileloader: &mut impl FileLoader, filename: &str ) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fileloader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/audio/audio_stub.rs:42:71 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn load_sound_bank( &mut self, fileloader: &mut impl FileLoader, filename: &str ) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/audio/audio_stub.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn play_sound( &mut self, name: &str ) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/audio/audio_stub.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn capture( &mut self, size: usize ) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fileloader` [INFO] [stdout] --> src/music/music_stub.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn load( &mut self, fileloader: &mut impl FileLoader, filename: &str ) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fileloader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/music/music_stub.rs:14:60 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn load( &mut self, fileloader: &mut impl FileLoader, filename: &str ) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fileloader` [INFO] [stdout] --> src/sound/sound_stub.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn load( &mut self, fileloader: &mut impl FileLoader, name: &str, number: u16 ) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fileloader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/sound/sound_stub.rs:18:60 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn load( &mut self, fileloader: &mut impl FileLoader, name: &str, number: u16 ) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> src/sound/sound_stub.rs:18:72 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn load( &mut self, fileloader: &mut impl FileLoader, name: &str, number: u16 ) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_sound` [INFO] [stdout] --> src/sound/sound_bank.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | if let Some( old_sound ) = self.sound_pools.insert( name.to_string(), sound_pool ) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_sound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/sound/sound_bank.rs:157:7 [INFO] [stdout] | [INFO] [stdout] 157 | for e in 0..ne { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `drop_mode` [INFO] [stdout] --> src/sound/sound_bank.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | let drop_mode = f.read_u16(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_drop_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/sound/sound_bank.rs:196:8 [INFO] [stdout] | [INFO] [stdout] 196 | let flags = f.read_u32(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Drop` [INFO] [stdout] --> src/sound/sound_bank.rs:85:2 [INFO] [stdout] | [INFO] [stdout] 85 | Drop, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `DropMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/sound_bank.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | #[derive(Debug,Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id_crc` [INFO] [stdout] --> src/sound/sound_bank.rs:92:2 [INFO] [stdout] | [INFO] [stdout] 92 | id_crc: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Entry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/sound_bank.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | #[derive(Debug,Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `drop_mode` [INFO] [stdout] --> src/sound/sound_bank.rs:95:2 [INFO] [stdout] | [INFO] [stdout] 95 | drop_mode: DropMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Entry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/sound_bank.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | #[derive(Debug,Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `do_loop` [INFO] [stdout] --> src/sound/sound_bank.rs:96:2 [INFO] [stdout] | [INFO] [stdout] 96 | do_loop: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Entry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/sound_bank.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | #[derive(Debug,Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Newest` [INFO] [stdout] --> src/sound/drop_mode.rs:4:2 [INFO] [stdout] | [INFO] [stdout] 4 | Newest, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DropMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/drop_mode.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Oldest` [INFO] [stdout] --> src/sound/drop_mode.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 5 | Oldest, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DropMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/drop_mode.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OlderThan` [INFO] [stdout] --> src/sound/drop_mode.rs:6:2 [INFO] [stdout] | [INFO] [stdout] 6 | OlderThan, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DropMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/drop_mode.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oml_audio::Music` [INFO] [stdout] --> src/oml_audio_main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use oml_audio::Music; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oml_audio::SoundBank` [INFO] [stdout] --> src/oml_audio_main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use oml_audio::SoundBank; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `COIN_REPEAT` should have a snake case name [INFO] [stdout] --> src/oml_audio_main.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 34 | let COIN_REPEAT = 0.5; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `coin_repeat` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `POWERUP_REPEAT` should have a snake case name [INFO] [stdout] --> src/oml_audio_main.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | let POWERUP_REPEAT = 3.1; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `powerup_repeat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 37.65s [INFO] running `Command { std: "docker" "inspect" "3702cec1a2e760549883d544e5b4f8a3fb7b8188cf005e34af5349124392f8a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3702cec1a2e760549883d544e5b4f8a3fb7b8188cf005e34af5349124392f8a1", kill_on_drop: false }` [INFO] [stdout] 3702cec1a2e760549883d544e5b4f8a3fb7b8188cf005e34af5349124392f8a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 445d95a94bce9938899eff0918f253f78d7f2540be30142dd59adcc061e5a50d [INFO] running `Command { std: "docker" "start" "-a" "445d95a94bce9938899eff0918f253f78d7f2540be30142dd59adcc061e5a50d", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `crate::Music` [INFO] [stdout] --> src/audio/audio_stub.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Music; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::SoundBank` [INFO] [stdout] --> src/audio/audio_stub.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::SoundBank; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling oml-audio v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `OpenOptions` [INFO] [stdout] --> src/fileloader.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::{ File, OpenOptions }; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/wav_player.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn set_current_time( &mut self, time: f64 ) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fileloader` [INFO] [stdout] --> src/audio/audio_stub.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn load_music( &mut self, fileloader: &mut impl FileLoader, filename: &str ) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fileloader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/audio/audio_stub.rs:30:66 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn load_music( &mut self, fileloader: &mut impl FileLoader, filename: &str ) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fileloader` [INFO] [stdout] --> src/audio/audio_stub.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn load_sound_bank( &mut self, fileloader: &mut impl FileLoader, filename: &str ) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fileloader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/audio/audio_stub.rs:42:71 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn load_sound_bank( &mut self, fileloader: &mut impl FileLoader, filename: &str ) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/audio/audio_stub.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn play_sound( &mut self, name: &str ) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/audio/audio_stub.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn capture( &mut self, size: usize ) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fileloader` [INFO] [stdout] --> src/music/music_stub.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn load( &mut self, fileloader: &mut impl FileLoader, filename: &str ) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fileloader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/music/music_stub.rs:14:60 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn load( &mut self, fileloader: &mut impl FileLoader, filename: &str ) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fileloader` [INFO] [stdout] --> src/sound/sound_stub.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn load( &mut self, fileloader: &mut impl FileLoader, name: &str, number: u16 ) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fileloader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/sound/sound_stub.rs:18:60 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn load( &mut self, fileloader: &mut impl FileLoader, name: &str, number: u16 ) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> src/sound/sound_stub.rs:18:72 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn load( &mut self, fileloader: &mut impl FileLoader, name: &str, number: u16 ) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_sound` [INFO] [stdout] --> src/sound/sound_bank.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | if let Some( old_sound ) = self.sound_pools.insert( name.to_string(), sound_pool ) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_sound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/sound/sound_bank.rs:157:7 [INFO] [stdout] | [INFO] [stdout] 157 | for e in 0..ne { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `drop_mode` [INFO] [stdout] --> src/sound/sound_bank.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | let drop_mode = f.read_u16(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_drop_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/sound/sound_bank.rs:196:8 [INFO] [stdout] | [INFO] [stdout] 196 | let flags = f.read_u32(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Drop` [INFO] [stdout] --> src/sound/sound_bank.rs:85:2 [INFO] [stdout] | [INFO] [stdout] 85 | Drop, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `DropMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/sound_bank.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | #[derive(Debug,Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id_crc` [INFO] [stdout] --> src/sound/sound_bank.rs:92:2 [INFO] [stdout] | [INFO] [stdout] 92 | id_crc: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Entry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/sound_bank.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | #[derive(Debug,Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `drop_mode` [INFO] [stdout] --> src/sound/sound_bank.rs:95:2 [INFO] [stdout] | [INFO] [stdout] 95 | drop_mode: DropMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Entry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/sound_bank.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | #[derive(Debug,Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `do_loop` [INFO] [stdout] --> src/sound/sound_bank.rs:96:2 [INFO] [stdout] | [INFO] [stdout] 96 | do_loop: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Entry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/sound_bank.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | #[derive(Debug,Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Newest` [INFO] [stdout] --> src/sound/drop_mode.rs:4:2 [INFO] [stdout] | [INFO] [stdout] 4 | Newest, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DropMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/drop_mode.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Oldest` [INFO] [stdout] --> src/sound/drop_mode.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 5 | Oldest, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DropMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/drop_mode.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OlderThan` [INFO] [stdout] --> src/sound/drop_mode.rs:6:2 [INFO] [stdout] | [INFO] [stdout] 6 | OlderThan, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DropMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/drop_mode.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oml_audio::Music` [INFO] [stdout] --> src/oml_audio_main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use oml_audio::Music; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oml_audio::SoundBank` [INFO] [stdout] --> src/oml_audio_main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use oml_audio::SoundBank; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Music` [INFO] [stdout] --> src/audio/audio_stub.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Music; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::SoundBank` [INFO] [stdout] --> src/audio/audio_stub.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::SoundBank; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OpenOptions` [INFO] [stdout] --> src/fileloader.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::{ File, OpenOptions }; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `COIN_REPEAT` should have a snake case name [INFO] [stdout] --> src/oml_audio_main.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 34 | let COIN_REPEAT = 0.5; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `coin_repeat` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `POWERUP_REPEAT` should have a snake case name [INFO] [stdout] --> src/oml_audio_main.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | let POWERUP_REPEAT = 3.1; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `powerup_repeat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/wav_player.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn set_current_time( &mut self, time: f64 ) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fileloader` [INFO] [stdout] --> src/audio/audio_stub.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn load_music( &mut self, fileloader: &mut impl FileLoader, filename: &str ) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fileloader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/audio/audio_stub.rs:30:66 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn load_music( &mut self, fileloader: &mut impl FileLoader, filename: &str ) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fileloader` [INFO] [stdout] --> src/audio/audio_stub.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn load_sound_bank( &mut self, fileloader: &mut impl FileLoader, filename: &str ) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fileloader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/audio/audio_stub.rs:42:71 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn load_sound_bank( &mut self, fileloader: &mut impl FileLoader, filename: &str ) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/audio/audio_stub.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn play_sound( &mut self, name: &str ) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/audio/audio_stub.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn capture( &mut self, size: usize ) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fileloader` [INFO] [stdout] --> src/music/music_stub.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn load( &mut self, fileloader: &mut impl FileLoader, filename: &str ) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fileloader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/music/music_stub.rs:14:60 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn load( &mut self, fileloader: &mut impl FileLoader, filename: &str ) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fileloader` [INFO] [stdout] --> src/sound/sound_stub.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn load( &mut self, fileloader: &mut impl FileLoader, name: &str, number: u16 ) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fileloader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/sound/sound_stub.rs:18:60 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn load( &mut self, fileloader: &mut impl FileLoader, name: &str, number: u16 ) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> src/sound/sound_stub.rs:18:72 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn load( &mut self, fileloader: &mut impl FileLoader, name: &str, number: u16 ) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_sound` [INFO] [stdout] --> src/sound/sound_bank.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | if let Some( old_sound ) = self.sound_pools.insert( name.to_string(), sound_pool ) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_sound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/sound/sound_bank.rs:157:7 [INFO] [stdout] | [INFO] [stdout] 157 | for e in 0..ne { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `drop_mode` [INFO] [stdout] --> src/sound/sound_bank.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | let drop_mode = f.read_u16(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_drop_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/sound/sound_bank.rs:196:8 [INFO] [stdout] | [INFO] [stdout] 196 | let flags = f.read_u32(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Drop` [INFO] [stdout] --> src/sound/sound_bank.rs:85:2 [INFO] [stdout] | [INFO] [stdout] 85 | Drop, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `DropMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/sound_bank.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | #[derive(Debug,Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id_crc` [INFO] [stdout] --> src/sound/sound_bank.rs:92:2 [INFO] [stdout] | [INFO] [stdout] 92 | id_crc: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Entry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/sound_bank.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | #[derive(Debug,Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `drop_mode` [INFO] [stdout] --> src/sound/sound_bank.rs:95:2 [INFO] [stdout] | [INFO] [stdout] 95 | drop_mode: DropMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Entry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/sound_bank.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | #[derive(Debug,Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `do_loop` [INFO] [stdout] --> src/sound/sound_bank.rs:96:2 [INFO] [stdout] | [INFO] [stdout] 96 | do_loop: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Entry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/sound_bank.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | #[derive(Debug,Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Newest` [INFO] [stdout] --> src/sound/drop_mode.rs:4:2 [INFO] [stdout] | [INFO] [stdout] 4 | Newest, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DropMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/drop_mode.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Oldest` [INFO] [stdout] --> src/sound/drop_mode.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 5 | Oldest, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DropMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/drop_mode.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OlderThan` [INFO] [stdout] --> src/sound/drop_mode.rs:6:2 [INFO] [stdout] | [INFO] [stdout] 6 | OlderThan, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DropMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/drop_mode.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.59s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/oml_audio-edaf5cb347d68dd0) [INFO] [stderr] Executable unittests src/oml_audio_main.rs (/opt/rustwide/target/debug/deps/oml_audio-53018242a9ec8676) [INFO] running `Command { std: "docker" "inspect" "445d95a94bce9938899eff0918f253f78d7f2540be30142dd59adcc061e5a50d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "445d95a94bce9938899eff0918f253f78d7f2540be30142dd59adcc061e5a50d", kill_on_drop: false }` [INFO] [stdout] 445d95a94bce9938899eff0918f253f78d7f2540be30142dd59adcc061e5a50d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2f24c719292309fdc69577247a151522cec417be6b1b42cd2dbeb0aadb2b72cc [INFO] running `Command { std: "docker" "start" "-a" "2f24c719292309fdc69577247a151522cec417be6b1b42cd2dbeb0aadb2b72cc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `crate::Music` [INFO] [stderr] --> src/audio/audio_stub.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::Music; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::SoundBank` [INFO] [stderr] --> src/audio/audio_stub.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::SoundBank; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `OpenOptions` [INFO] [stderr] --> src/fileloader.rs:1:22 [INFO] [stderr] | [INFO] [stderr] 1 | use std::fs::{ File, OpenOptions }; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `time` [INFO] [stderr] --> src/wav_player.rs:36:38 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn set_current_time( &mut self, time: f64 ) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fileloader` [INFO] [stderr] --> src/audio/audio_stub.rs:30:32 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn load_music( &mut self, fileloader: &mut impl FileLoader, filename: &str ) -> bool { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fileloader` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `filename` [INFO] [stderr] --> src/audio/audio_stub.rs:30:66 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn load_music( &mut self, fileloader: &mut impl FileLoader, filename: &str ) -> bool { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fileloader` [INFO] [stderr] --> src/audio/audio_stub.rs:42:37 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn load_sound_bank( &mut self, fileloader: &mut impl FileLoader, filename: &str ) { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fileloader` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `filename` [INFO] [stderr] --> src/audio/audio_stub.rs:42:71 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn load_sound_bank( &mut self, fileloader: &mut impl FileLoader, filename: &str ) { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/audio/audio_stub.rs:46:32 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn play_sound( &mut self, name: &str ) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `size` [INFO] [stderr] --> src/audio/audio_stub.rs:50:29 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn capture( &mut self, size: usize ) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fileloader` [INFO] [stderr] --> src/music/music_stub.rs:14:26 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn load( &mut self, fileloader: &mut impl FileLoader, filename: &str ) -> bool { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fileloader` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `filename` [INFO] [stderr] --> src/music/music_stub.rs:14:60 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn load( &mut self, fileloader: &mut impl FileLoader, filename: &str ) -> bool { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fileloader` [INFO] [stderr] --> src/sound/sound_stub.rs:18:26 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn load( &mut self, fileloader: &mut impl FileLoader, name: &str, number: u16 ) -> bool { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fileloader` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/sound/sound_stub.rs:18:60 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn load( &mut self, fileloader: &mut impl FileLoader, name: &str, number: u16 ) -> bool { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `number` [INFO] [stderr] --> src/sound/sound_stub.rs:18:72 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn load( &mut self, fileloader: &mut impl FileLoader, name: &str, number: u16 ) -> bool { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `old_sound` [INFO] [stderr] --> src/sound/sound_bank.rs:29:16 [INFO] [stderr] | [INFO] [stderr] 29 | if let Some( old_sound ) = self.sound_pools.insert( name.to_string(), sound_pool ) { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_sound` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/sound/sound_bank.rs:157:7 [INFO] [stderr] | [INFO] [stderr] 157 | for e in 0..ne { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `drop_mode` [INFO] [stderr] --> src/sound/sound_bank.rs:195:8 [INFO] [stderr] | [INFO] [stderr] 195 | let drop_mode = f.read_u16(); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_drop_mode` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `flags` [INFO] [stderr] --> src/sound/sound_bank.rs:196:8 [INFO] [stderr] | [INFO] [stderr] 196 | let flags = f.read_u32(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Drop` [INFO] [stderr] --> src/sound/sound_bank.rs:85:2 [INFO] [stderr] | [INFO] [stderr] 85 | Drop, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `DropMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/sound/sound_bank.rs:83:10 [INFO] [stderr] | [INFO] [stderr] 83 | #[derive(Debug,Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id_crc` [INFO] [stderr] --> src/sound/sound_bank.rs:92:2 [INFO] [stderr] | [INFO] [stderr] 92 | id_crc: u32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Entry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/sound/sound_bank.rs:89:10 [INFO] [stderr] | [INFO] [stderr] 89 | #[derive(Debug,Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `drop_mode` [INFO] [stderr] --> src/sound/sound_bank.rs:95:2 [INFO] [stderr] | [INFO] [stderr] 95 | drop_mode: DropMode, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Entry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/sound/sound_bank.rs:89:10 [INFO] [stderr] | [INFO] [stderr] 89 | #[derive(Debug,Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `do_loop` [INFO] [stderr] --> src/sound/sound_bank.rs:96:2 [INFO] [stderr] | [INFO] [stderr] 96 | do_loop: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Entry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/sound/sound_bank.rs:89:10 [INFO] [stderr] | [INFO] [stderr] 89 | #[derive(Debug,Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Newest` [INFO] [stderr] --> src/sound/drop_mode.rs:4:2 [INFO] [stderr] | [INFO] [stderr] 4 | Newest, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DropMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/sound/drop_mode.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Oldest` [INFO] [stderr] --> src/sound/drop_mode.rs:5:2 [INFO] [stderr] | [INFO] [stderr] 5 | Oldest, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DropMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/sound/drop_mode.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `OlderThan` [INFO] [stderr] --> src/sound/drop_mode.rs:6:2 [INFO] [stderr] | [INFO] [stderr] 6 | OlderThan, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DropMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/sound/drop_mode.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `oml-audio` (lib) generated 26 warnings [INFO] [stderr] warning: `oml-audio` (lib test) generated 26 warnings (26 duplicates) [INFO] [stderr] warning: unused import: `oml_audio::Music` [INFO] [stderr] --> src/oml_audio_main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use oml_audio::Music; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `oml_audio::SoundBank` [INFO] [stderr] --> src/oml_audio_main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use oml_audio::SoundBank; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable `COIN_REPEAT` should have a snake case name [INFO] [stderr] --> src/oml_audio_main.rs:34:6 [INFO] [stderr] | [INFO] [stderr] 34 | let COIN_REPEAT = 0.5; [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `coin_repeat` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `POWERUP_REPEAT` should have a snake case name [INFO] [stderr] --> src/oml_audio_main.rs:37:6 [INFO] [stderr] | [INFO] [stderr] 37 | let POWERUP_REPEAT = 3.1; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `powerup_repeat` [INFO] [stderr] [INFO] [stderr] warning: `oml-audio` (bin "oml-audio" test) generated 4 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/oml_audio-edaf5cb347d68dd0) [INFO] [stdout] [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] [stderr] Running unittests src/oml_audio_main.rs (/opt/rustwide/target/debug/deps/oml_audio-53018242a9ec8676) [INFO] [stdout] [INFO] [stderr] Doc-tests oml-audio [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] [stdout] [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" "2f24c719292309fdc69577247a151522cec417be6b1b42cd2dbeb0aadb2b72cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f24c719292309fdc69577247a151522cec417be6b1b42cd2dbeb0aadb2b72cc", kill_on_drop: false }` [INFO] [stdout] 2f24c719292309fdc69577247a151522cec417be6b1b42cd2dbeb0aadb2b72cc