[INFO] cloning repository https://github.com/dobrakmato/rust-mod-tracker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dobrakmato/rust-mod-tracker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdobrakmato%2Frust-mod-tracker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdobrakmato%2Frust-mod-tracker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 524533be253804233fc261fafb8ca612ef63ce5d [INFO] checking dobrakmato/rust-mod-tracker against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdobrakmato%2Frust-mod-tracker" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dobrakmato/rust-mod-tracker on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dobrakmato/rust-mod-tracker [INFO] finished tweaking git repo https://github.com/dobrakmato/rust-mod-tracker [INFO] tweaked toml for git repo https://github.com/dobrakmato/rust-mod-tracker written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/dobrakmato/rust-mod-tracker already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cpal v0.9.0 [INFO] [stderr] Downloaded device_query v0.1.3 [INFO] [stderr] Downloaded ghakuf v0.5.3 [INFO] [stderr] Downloaded rand_derive v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ba8d98b2188fbf150b89a3dfd879d2f0143c3c9cbf30a1fceff278ecc108fa4 [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" "6ba8d98b2188fbf150b89a3dfd879d2f0143c3c9cbf30a1fceff278ecc108fa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ba8d98b2188fbf150b89a3dfd879d2f0143c3c9cbf30a1fceff278ecc108fa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ba8d98b2188fbf150b89a3dfd879d2f0143c3c9cbf30a1fceff278ecc108fa4", kill_on_drop: false }` [INFO] [stdout] 6ba8d98b2188fbf150b89a3dfd879d2f0143c3c9cbf30a1fceff278ecc108fa4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 0a7e2c8e654dae626da164f5b2ccd8453e29f942e1e694aeda7bd8a5deb87983 [INFO] running `Command { std: "docker" "start" "-a" "0a7e2c8e654dae626da164f5b2ccd8453e29f942e1e694aeda7bd8a5deb87983", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] lazy_static v1.3.0: spin, spin_no_std [INFO] [stderr] libc v0.2.58: use_std [INFO] [stderr] log v0.4.6: std [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Checking spin v0.5.0 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking ghakuf v0.5.3 [INFO] [stderr] Compiling rand_chacha v0.2.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Compiling x11 v2.18.1 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling device_query v0.1.3 [INFO] [stderr] Checking getrandom v0.1.6 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rand_core v0.5.0 [INFO] [stderr] Checking cpal v0.9.0 [INFO] [stderr] Checking rand v0.7.0 [INFO] [stderr] Compiling rand_derive v0.5.0 [INFO] [stderr] Checking mod_tracker v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/midi.rs (36 fixes) [INFO] [stderr] Fixed src/main.rs (11 fixes) [INFO] [stderr] Fixed src/synth.rs (3 fixes) [INFO] [stderr] Fixed src/osc.rs (1 fix) [INFO] [stdout] warning: use of deprecated crate `rand_derive`: this crate is deprecated without replacement [INFO] [stdout] --> src/main.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | extern crate rand_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated crate `rand_derive`: this crate is deprecated without replacement [INFO] [stdout] --> src/main.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | extern crate rand_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/midi.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 57 | 80..=88 => GMFamily::SynthLead, [INFO] [stdout] | ------- this range overlaps on `88_u8`... [INFO] [stdout] 58 | 88..=95 => GMFamily::SynthPad, [INFO] [stdout] | ^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(overlapping_range_endpoints)]` on by default [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/midi.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | MidiEvent::NoteOn { ch, note, velocity } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `t` is never read [INFO] [stdout] --> src/math.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let mut t = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sample_rate` [INFO] [stdout] --> src/osc.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn sample_rate(&mut self, sample_rate: f64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/sampler.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(buffer: &'a [f32], sample_rate: SampleRate, channels: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/sampler.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(sample: &'a Sample) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Fraction` [INFO] [stdout] --> src/math.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Fraction { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gcd` [INFO] [stdout] --> src/math.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn gcd(mut a: usize, mut b: usize) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/math.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(numerator: usize, denominator: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `denominator` [INFO] [stdout] --> src/math.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn denominator(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `numerator` [INFO] [stdout] --> src/math.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn numerator(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_float` [INFO] [stdout] --> src/math.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn as_float(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `program_number` [INFO] [stdout] --> src/midi.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn program_number(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `preset` [INFO] [stdout] --> src/midi.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | preset: Preset, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `random_presets` [INFO] [stdout] --> src/midi.rs:365:12 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn random_presets(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `clamp` has been stable since 1.50.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(clamp)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | ... f.write(&u32tou8abe(i)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 115 | f.flush(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/midi.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 57 | 80..=88 => GMFamily::SynthLead, [INFO] [stdout] | ------- this range overlaps on `88_u8`... [INFO] [stdout] 58 | 88..=95 => GMFamily::SynthPad, [INFO] [stdout] | ^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(overlapping_range_endpoints)]` on by default [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/midi.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | MidiEvent::NoteOn { ch, note, velocity } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `t` is never read [INFO] [stdout] --> src/math.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let mut t = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sample_rate` [INFO] [stdout] --> src/osc.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn sample_rate(&mut self, sample_rate: f64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/sampler.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(buffer: &'a [f32], sample_rate: SampleRate, channels: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/sampler.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(sample: &'a Sample) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_float` [INFO] [stdout] --> src/math.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn as_float(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `program_number` [INFO] [stdout] --> src/midi.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn program_number(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `preset` [INFO] [stdout] --> src/midi.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | preset: Preset, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `random_presets` [INFO] [stdout] --> src/midi.rs:365:12 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn random_presets(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `clamp` has been stable since 1.50.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(clamp)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | ... f.write(&u32tou8abe(i)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 115 | f.flush(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.18s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking ghakuf v0.5.3 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking getrandom v0.1.6 [INFO] [stderr] Checking x11 v2.18.1 [INFO] [stderr] Checking alsa-sys v0.1.2 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rand_core v0.5.0 [INFO] [stderr] Checking cpal v0.9.0 [INFO] [stderr] Checking rand_chacha v0.2.0 [INFO] [stderr] Checking rand v0.7.0 [INFO] [stderr] Checking device_query v0.1.3 [INFO] [stderr] Checking mod_tracker v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: use of deprecated crate `rand_derive`: this crate is deprecated without replacement [INFO] [stdout] --> src/main.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | extern crate rand_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated crate `rand_derive`: this crate is deprecated without replacement [INFO] [stdout] --> src/main.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | extern crate rand_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/midi.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 57 | 80..=88 => GMFamily::SynthLead, [INFO] [stdout] | ------- this range overlaps on `88_u8`... [INFO] [stdout] 58 | 88..=95 => GMFamily::SynthPad, [INFO] [stdout] | ^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(overlapping_range_endpoints)]` on by default [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/midi.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | MidiEvent::NoteOn { ch, note, velocity } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `t` is never read [INFO] [stdout] --> src/math.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let mut t = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/midi.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 57 | 80..=88 => GMFamily::SynthLead, [INFO] [stdout] | ------- this range overlaps on `88_u8`... [INFO] [stdout] 58 | 88..=95 => GMFamily::SynthPad, [INFO] [stdout] | ^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(overlapping_range_endpoints)]` on by default [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/midi.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | MidiEvent::NoteOn { ch, note, velocity } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `t` is never read [INFO] [stdout] --> src/math.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let mut t = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sample_rate` [INFO] [stdout] --> src/osc.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn sample_rate(&mut self, sample_rate: f64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/sampler.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(buffer: &'a [f32], sample_rate: SampleRate, channels: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/sampler.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(sample: &'a Sample) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_float` [INFO] [stdout] --> src/math.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn as_float(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `program_number` [INFO] [stdout] --> src/midi.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn program_number(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `preset` [INFO] [stdout] --> src/midi.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | preset: Preset, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `random_presets` [INFO] [stdout] --> src/midi.rs:365:12 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn random_presets(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `clamp` has been stable since 1.50.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(clamp)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | ... f.write(&u32tou8abe(i)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 115 | f.flush(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sample_rate` [INFO] [stdout] --> src/osc.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn sample_rate(&mut self, sample_rate: f64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/sampler.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(buffer: &'a [f32], sample_rate: SampleRate, channels: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/sampler.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(sample: &'a Sample) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Fraction` [INFO] [stdout] --> src/math.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Fraction { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gcd` [INFO] [stdout] --> src/math.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn gcd(mut a: usize, mut b: usize) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/math.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(numerator: usize, denominator: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `denominator` [INFO] [stdout] --> src/math.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn denominator(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `numerator` [INFO] [stdout] --> src/math.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn numerator(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_float` [INFO] [stdout] --> src/math.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn as_float(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `program_number` [INFO] [stdout] --> src/midi.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn program_number(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `preset` [INFO] [stdout] --> src/midi.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | preset: Preset, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `random_presets` [INFO] [stdout] --> src/midi.rs:365:12 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn random_presets(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `clamp` has been stable since 1.50.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(clamp)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | ... f.write(&u32tou8abe(i)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 115 | f.flush(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.95s [INFO] running `Command { std: "docker" "inspect" "0a7e2c8e654dae626da164f5b2ccd8453e29f942e1e694aeda7bd8a5deb87983", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a7e2c8e654dae626da164f5b2ccd8453e29f942e1e694aeda7bd8a5deb87983", kill_on_drop: false }` [INFO] [stdout] 0a7e2c8e654dae626da164f5b2ccd8453e29f942e1e694aeda7bd8a5deb87983