[INFO] cloning repository https://github.com/AndreasOM/oml-audio [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AndreasOM/oml-audio" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndreasOM%2Foml-audio", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndreasOM%2Foml-audio'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 95a090d16d0d5d8f32283a837636eeed21aa9f17 [INFO] testing AndreasOM/oml-audio against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndreasOM%2Foml-audio" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AndreasOM/oml-audio on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AndreasOM/oml-audio [INFO] finished tweaking git repo https://github.com/AndreasOM/oml-audio [INFO] tweaked toml for git repo https://github.com/AndreasOM/oml-audio written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/AndreasOM/oml-audio already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ringbuf v0.2.6 [INFO] [stderr] Downloaded miniaudio v0.10.0 [INFO] [stderr] Downloaded ep-miniaudio-sys v2.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 507b793d42fbcb5ae9d49b4e4d20e87f457483486403db9b21213213a536152b [INFO] running `Command { std: "docker" "start" "-a" "507b793d42fbcb5ae9d49b4e4d20e87f457483486403db9b21213213a536152b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "507b793d42fbcb5ae9d49b4e4d20e87f457483486403db9b21213213a536152b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "507b793d42fbcb5ae9d49b4e4d20e87f457483486403db9b21213213a536152b", kill_on_drop: false }` [INFO] [stdout] 507b793d42fbcb5ae9d49b4e4d20e87f457483486403db9b21213213a536152b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da330e1ca953d88643ca3722f6409183dc26f92bd6419506ecf12fdf348c0da2 [INFO] running `Command { std: "docker" "start" "-a" "da330e1ca953d88643ca3722f6409183dc26f92bd6419506ecf12fdf348c0da2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling bindgen v0.54.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling oml-audio v0.6.4-dev (/opt/rustwide/workdir) [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling ringbuf v0.2.6 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling quote v1.0.14 [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: `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:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | 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:47:66 [INFO] [stdout] | [INFO] [stdout] 47 | 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:59:37 [INFO] [stdout] | [INFO] [stdout] 59 | 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:59:71 [INFO] [stdout] | [INFO] [stdout] 59 | 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:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | 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:71:29 [INFO] [stdout] | [INFO] [stdout] 71 | 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:165:7 [INFO] [stdout] | [INFO] [stdout] 165 | 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:203:8 [INFO] [stdout] | [INFO] [stdout] 203 | 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:204:8 [INFO] [stdout] | [INFO] [stdout] 204 | 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:93:2 [INFO] [stdout] | [INFO] [stdout] 93 | 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:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | #[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:100:2 [INFO] [stdout] | [INFO] [stdout] 100 | 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:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | #[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:103:2 [INFO] [stdout] | [INFO] [stdout] 103 | 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:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | #[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:104:2 [INFO] [stdout] | [INFO] [stdout] 104 | 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:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | #[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: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/benchmark.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(test)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oml_audio::Music` [INFO] [stdout] --> src/oml_audio_main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | 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:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use oml_audio::SoundBank; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oml-audio` due to 2 previous errors [INFO] [stdout] warning: variable `COIN_REPEAT` should have a snake case name [INFO] [stdout] --> src/oml_audio_main.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | 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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable `POWERUP_REPEAT` should have a snake case name [INFO] [stdout] --> src/oml_audio_main.rs:39:6 [INFO] [stdout] | [INFO] [stdout] 39 | 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] error: build failed [INFO] running `Command { std: "docker" "inspect" "da330e1ca953d88643ca3722f6409183dc26f92bd6419506ecf12fdf348c0da2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da330e1ca953d88643ca3722f6409183dc26f92bd6419506ecf12fdf348c0da2", kill_on_drop: false }` [INFO] [stdout] da330e1ca953d88643ca3722f6409183dc26f92bd6419506ecf12fdf348c0da2