[INFO] cloning repository https://github.com/bowbahdoe/MidiPlayer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bowbahdoe/MidiPlayer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbowbahdoe%2FMidiPlayer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbowbahdoe%2FMidiPlayer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c2dbad890926b7fb84bf0c7671aa6ccdede1a6ee [INFO] testing bowbahdoe/MidiPlayer against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbowbahdoe%2FMidiPlayer" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bowbahdoe/MidiPlayer 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 git repo https://github.com/bowbahdoe/MidiPlayer [INFO] finished tweaking git repo https://github.com/bowbahdoe/MidiPlayer [INFO] tweaked toml for git repo https://github.com/bowbahdoe/MidiPlayer written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/bowbahdoe/MidiPlayer 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 48a52b28b19c842e6665122597bc384d2f69ae9e242e9af2723c95b3298045fd [INFO] running `Command { std: "docker" "start" "-a" "48a52b28b19c842e6665122597bc384d2f69ae9e242e9af2723c95b3298045fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48a52b28b19c842e6665122597bc384d2f69ae9e242e9af2723c95b3298045fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48a52b28b19c842e6665122597bc384d2f69ae9e242e9af2723c95b3298045fd", kill_on_drop: false }` [INFO] [stdout] 48a52b28b19c842e6665122597bc384d2f69ae9e242e9af2723c95b3298045fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d003867ee3cb7aa66f61f0c1486f781d2464c303383d9de8d5f72c92b08ea6f7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d003867ee3cb7aa66f61f0c1486f781d2464c303383d9de8d5f72c92b08ea6f7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.36 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling either v1.4.0 [INFO] [stderr] Compiling rayon-core v1.3.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling quick-error v1.2.1 [INFO] [stderr] Compiling coco v0.1.1 [INFO] [stderr] Compiling rand v0.3.20 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling rayon v0.9.0 [INFO] [stderr] Compiling midi_player v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `error`, `fmt` [INFO] [stdout] --> src/model/note.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{error, fmt}; [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Accidental`, `Note`, `Of` [INFO] [stdout] --> src/main.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use model::note::{Note, Of, Accidental}; [INFO] [stdout] | ^^^^ ^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chunks` [INFO] [stdout] --> src/model/chunk_parsing.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn parse_chunks(chunks: &Vec) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_chunks` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `A` [INFO] [stdout] --> src/model/note.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Of { A, B, C, D, E, F, G } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Of` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model/note.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq)] [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: `B` [INFO] [stdout] --> src/model/note.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Of { A, B, C, D, E, F, G } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Of` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model/note.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq)] [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: `C` [INFO] [stdout] --> src/model/note.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Of { A, B, C, D, E, F, G } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Of` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model/note.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq)] [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: `D` [INFO] [stdout] --> src/model/note.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Of { A, B, C, D, E, F, G } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Of` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model/note.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq)] [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: `E` [INFO] [stdout] --> src/model/note.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Of { A, B, C, D, E, F, G } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Of` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model/note.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq)] [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: `F` [INFO] [stdout] --> src/model/note.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Of { A, B, C, D, E, F, G } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Of` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model/note.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq)] [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: `G` [INFO] [stdout] --> src/model/note.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Of { A, B, C, D, E, F, G } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Of` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model/note.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq)] [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: `Natural` [INFO] [stdout] --> src/model/note.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Natural, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Accidental` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model/note.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, PartialEq)] [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: associated function is never used: `new` [INFO] [stdout] --> src/model/note.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(note: Of, accidental: Accidental, octave: Octave) -> Note { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `valid_octave` [INFO] [stdout] --> src/model/note.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn valid_octave(octave: Octave) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `NoteEvent` [INFO] [stdout] --> src/model/note.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct NoteEvent { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ticks_per_quarter_note` [INFO] [stdout] --> src/model/chunk_parsing.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | Msb0 { ticks_per_quarter_note: u16 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrackDivision` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model/chunk_parsing.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[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: field is never read: `frames_per_second` [INFO] [stdout] --> src/model/chunk_parsing.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | Msb1 { frames_per_second: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrackDivision` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model/chunk_parsing.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[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: field is never read: `ticks_per_frame` [INFO] [stdout] --> src/model/chunk_parsing.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | ticks_per_frame: u8 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrackDivision` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model/chunk_parsing.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[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: field is never read: `format` [INFO] [stdout] --> src/model/chunk_parsing.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | format: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model/chunk_parsing.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[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: field is never read: `tracks` [INFO] [stdout] --> src/model/chunk_parsing.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | tracks: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model/chunk_parsing.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[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: field is never read: `division` [INFO] [stdout] --> src/model/chunk_parsing.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | division: TrackDivision, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model/chunk_parsing.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[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: function is never used: `is_valid_format` [INFO] [stdout] --> src/model/chunk_parsing.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn is_valid_format(header: &Header) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_chunks` [INFO] [stdout] --> src/model/chunk_parsing.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn parse_chunks(chunks: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.13s [INFO] running `Command { std: "docker" "inspect" "d003867ee3cb7aa66f61f0c1486f781d2464c303383d9de8d5f72c92b08ea6f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d003867ee3cb7aa66f61f0c1486f781d2464c303383d9de8d5f72c92b08ea6f7", kill_on_drop: false }` [INFO] [stdout] d003867ee3cb7aa66f61f0c1486f781d2464c303383d9de8d5f72c92b08ea6f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1bd4879733b245f7dced91c15e896060bbd0b69bdd339e0c1cafee688431344 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e1bd4879733b245f7dced91c15e896060bbd0b69bdd339e0c1cafee688431344", kill_on_drop: false }` [INFO] [stderr] Compiling midi_player v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `error`, `fmt` [INFO] [stdout] --> src/model/note.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{error, fmt}; [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Accidental`, `Note`, `Of` [INFO] [stdout] --> src/main.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use model::note::{Note, Of, Accidental}; [INFO] [stdout] | ^^^^ ^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chunks` [INFO] [stdout] --> src/model/chunk_parsing.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn parse_chunks(chunks: &Vec) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_chunks` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `A` [INFO] [stdout] --> src/model/note.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Of { A, B, C, D, E, F, G } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Of` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model/note.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq)] [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: `B` [INFO] [stdout] --> src/model/note.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Of { A, B, C, D, E, F, G } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Of` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model/note.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq)] [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: `C` [INFO] [stdout] --> src/model/note.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Of { A, B, C, D, E, F, G } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Of` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model/note.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq)] [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: `D` [INFO] [stdout] --> src/model/note.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Of { A, B, C, D, E, F, G } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Of` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model/note.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq)] [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: `E` [INFO] [stdout] --> src/model/note.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Of { A, B, C, D, E, F, G } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Of` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model/note.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq)] [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: `F` [INFO] [stdout] --> src/model/note.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Of { A, B, C, D, E, F, G } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Of` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model/note.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq)] [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: `G` [INFO] [stdout] --> src/model/note.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Of { A, B, C, D, E, F, G } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Of` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model/note.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq)] [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: `Natural` [INFO] [stdout] --> src/model/note.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Natural, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Accidental` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model/note.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, PartialEq)] [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: associated function is never used: `new` [INFO] [stdout] --> src/model/note.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(note: Of, accidental: Accidental, octave: Octave) -> Note { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `valid_octave` [INFO] [stdout] --> src/model/note.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn valid_octave(octave: Octave) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `NoteEvent` [INFO] [stdout] --> src/model/note.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct NoteEvent { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ticks_per_quarter_note` [INFO] [stdout] --> src/model/chunk_parsing.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | Msb0 { ticks_per_quarter_note: u16 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrackDivision` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model/chunk_parsing.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[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: field is never read: `frames_per_second` [INFO] [stdout] --> src/model/chunk_parsing.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | Msb1 { frames_per_second: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrackDivision` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model/chunk_parsing.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[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: field is never read: `ticks_per_frame` [INFO] [stdout] --> src/model/chunk_parsing.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | ticks_per_frame: u8 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrackDivision` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model/chunk_parsing.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[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: field is never read: `format` [INFO] [stdout] --> src/model/chunk_parsing.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | format: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model/chunk_parsing.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[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: field is never read: `tracks` [INFO] [stdout] --> src/model/chunk_parsing.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | tracks: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model/chunk_parsing.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[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: field is never read: `division` [INFO] [stdout] --> src/model/chunk_parsing.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | division: TrackDivision, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model/chunk_parsing.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[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: function is never used: `is_valid_format` [INFO] [stdout] --> src/model/chunk_parsing.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn is_valid_format(header: &Header) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_chunks` [INFO] [stdout] --> src/model/chunk_parsing.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn parse_chunks(chunks: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.45s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/midi_player-f0f769c63a090fc4) [INFO] running `Command { std: "docker" "inspect" "e1bd4879733b245f7dced91c15e896060bbd0b69bdd339e0c1cafee688431344", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1bd4879733b245f7dced91c15e896060bbd0b69bdd339e0c1cafee688431344", kill_on_drop: false }` [INFO] [stdout] e1bd4879733b245f7dced91c15e896060bbd0b69bdd339e0c1cafee688431344 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 41f310373bcbe4a73f6d6999c551f111051c9735796379b701d919dfb99bd4f9 [INFO] running `Command { std: "docker" "start" "-a" "41f310373bcbe4a73f6d6999c551f111051c9735796379b701d919dfb99bd4f9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused imports: `error`, `fmt` [INFO] [stderr] --> src/model/note.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{error, fmt}; [INFO] [stderr] | ^^^^^ ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Accidental`, `Note`, `Of` [INFO] [stderr] --> src/main.rs:7:19 [INFO] [stderr] | [INFO] [stderr] 7 | use model::note::{Note, Of, Accidental}; [INFO] [stderr] | ^^^^ ^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `chunks` [INFO] [stderr] --> src/model/chunk_parsing.rs:51:21 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn parse_chunks(chunks: &Vec) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_chunks` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `A` [INFO] [stderr] --> src/model/note.rs:4:15 [INFO] [stderr] | [INFO] [stderr] 4 | pub enum Of { A, B, C, D, E, F, G } [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Of` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/model/note.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, PartialEq)] [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: `B` [INFO] [stderr] --> src/model/note.rs:4:18 [INFO] [stderr] | [INFO] [stderr] 4 | pub enum Of { A, B, C, D, E, F, G } [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] note: `Of` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/model/note.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, PartialEq)] [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: `C` [INFO] [stderr] --> src/model/note.rs:4:21 [INFO] [stderr] | [INFO] [stderr] 4 | pub enum Of { A, B, C, D, E, F, G } [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] note: `Of` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/model/note.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, PartialEq)] [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: `D` [INFO] [stderr] --> src/model/note.rs:4:24 [INFO] [stderr] | [INFO] [stderr] 4 | pub enum Of { A, B, C, D, E, F, G } [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] note: `Of` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/model/note.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, PartialEq)] [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: `E` [INFO] [stderr] --> src/model/note.rs:4:27 [INFO] [stderr] | [INFO] [stderr] 4 | pub enum Of { A, B, C, D, E, F, G } [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] note: `Of` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/model/note.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, PartialEq)] [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: `F` [INFO] [stderr] --> src/model/note.rs:4:30 [INFO] [stderr] | [INFO] [stderr] 4 | pub enum Of { A, B, C, D, E, F, G } [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] note: `Of` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/model/note.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, PartialEq)] [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: `G` [INFO] [stderr] --> src/model/note.rs:4:33 [INFO] [stderr] | [INFO] [stderr] 4 | pub enum Of { A, B, C, D, E, F, G } [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] note: `Of` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/model/note.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, PartialEq)] [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: `Natural` [INFO] [stderr] --> src/model/note.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | Natural, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Accidental` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/model/note.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Debug, PartialEq)] [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: associated function is never used: `new` [INFO] [stderr] --> src/model/note.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn new(note: Of, accidental: Accidental, octave: Octave) -> Note { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `valid_octave` [INFO] [stderr] --> src/model/note.rs:56:8 [INFO] [stderr] | [INFO] [stderr] 56 | fn valid_octave(octave: Octave) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `NoteEvent` [INFO] [stderr] --> src/model/note.rs:70:12 [INFO] [stderr] | [INFO] [stderr] 70 | pub struct NoteEvent { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `ticks_per_quarter_note` [INFO] [stderr] --> src/model/chunk_parsing.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | Msb0 { ticks_per_quarter_note: u16 }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TrackDivision` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/model/chunk_parsing.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[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: field is never read: `frames_per_second` [INFO] [stderr] --> src/model/chunk_parsing.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | Msb1 { frames_per_second: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TrackDivision` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/model/chunk_parsing.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[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: field is never read: `ticks_per_frame` [INFO] [stderr] --> src/model/chunk_parsing.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | ticks_per_frame: u8 }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TrackDivision` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/model/chunk_parsing.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[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: field is never read: `format` [INFO] [stderr] --> src/model/chunk_parsing.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | format: u16, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/model/chunk_parsing.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[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: field is never read: `tracks` [INFO] [stderr] --> src/model/chunk_parsing.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | tracks: u16, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/model/chunk_parsing.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[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: field is never read: `division` [INFO] [stderr] --> src/model/chunk_parsing.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | division: TrackDivision, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/model/chunk_parsing.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[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: function is never used: `is_valid_format` [INFO] [stderr] --> src/model/chunk_parsing.rs:47:8 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn is_valid_format(header: &Header) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_chunks` [INFO] [stderr] --> src/model/chunk_parsing.rs:51:8 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn parse_chunks(chunks: &Vec) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `midi_player` (bin "midi_player" test) generated 22 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.52s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/midi_player-f0f769c63a090fc4) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test model::chunk::tests::chunk_types ... 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] running `Command { std: "docker" "inspect" "41f310373bcbe4a73f6d6999c551f111051c9735796379b701d919dfb99bd4f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41f310373bcbe4a73f6d6999c551f111051c9735796379b701d919dfb99bd4f9", kill_on_drop: false }` [INFO] [stdout] 41f310373bcbe4a73f6d6999c551f111051c9735796379b701d919dfb99bd4f9