[INFO] fetching crate apres 0.3.0... [INFO] checking apres-0.3.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate apres 0.3.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate apres 0.3.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate apres 0.3.0 [INFO] finished tweaking crates.io crate apres 0.3.0 [INFO] tweaked toml for crates.io crate apres 0.3.0 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be2c3eb1ce776d5e92c10b4da21246a50ea55322318bade8d906c6c123bd7046 [INFO] running `Command { std: "docker" "start" "-a" "be2c3eb1ce776d5e92c10b4da21246a50ea55322318bade8d906c6c123bd7046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be2c3eb1ce776d5e92c10b4da21246a50ea55322318bade8d906c6c123bd7046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be2c3eb1ce776d5e92c10b4da21246a50ea55322318bade8d906c6c123bd7046", kill_on_drop: false }` [INFO] [stdout] be2c3eb1ce776d5e92c10b4da21246a50ea55322318bade8d906c6c123bd7046 [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=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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22c24debc01041a08a0caf160ddc34548cfa02edff7fc418a3a22c7132ac8a2e [INFO] running `Command { std: "docker" "start" "-a" "22c24debc01041a08a0caf160ddc34548cfa02edff7fc418a3a22c7132ac8a2e", kill_on_drop: false }` [INFO] [stderr] Checking apres v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `min` [INFO] [stdout] --> src/lib.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::MIDIEvent::*` [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::MIDIEvent::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `Instant` [INFO] [stdout] --> src/controller.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `min` [INFO] [stdout] --> src/lib.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `Instant` [INFO] [stdout] --> src/controller.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:681:21 [INFO] [stdout] | [INFO] [stdout] 681 | 24.0 => { 0 } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:682:21 [INFO] [stdout] | [INFO] [stdout] 682 | 25.0 => { 1 } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:683:21 [INFO] [stdout] | [INFO] [stdout] 683 | 27.97 => { 2 } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:684:21 [INFO] [stdout] | [INFO] [stdout] 684 | 30.0 => { 3 } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/lib.rs:733:13 [INFO] [stdout] | [INFO] [stdout] 733 | let n: u32; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:1286:17 [INFO] [stdout] | [INFO] [stdout] 1286 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `smpte` is assigned to, but never used [INFO] [stdout] --> src/lib.rs:1315:17 [INFO] [stdout] | [INFO] [stdout] 1315 | let mut smpte: u32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_smpte` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tpf` is assigned to, but never used [INFO] [stdout] --> src/lib.rs:1316:17 [INFO] [stdout] | [INFO] [stdout] 1316 | let mut tpf: u32; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_tpf` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `found_header` is assigned to, but never used [INFO] [stdout] --> src/lib.rs:1321:17 [INFO] [stdout] | [INFO] [stdout] 1321 | let mut found_header = false; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_found_header` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `smpte` is never read [INFO] [stdout] --> src/lib.rs:1341:21 [INFO] [stdout] | [INFO] [stdout] 1341 | smpte = (((divword & 0x7F00) >> 8) as i8) as u32; [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: value assigned to `tpf` is never read [INFO] [stdout] --> src/lib.rs:1342:21 [INFO] [stdout] | [INFO] [stdout] 1342 | tpf = divword & 0x00FF; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `found_header` is never read [INFO] [stdout] --> src/lib.rs:1349:17 [INFO] [stdout] | [INFO] [stdout] 1349 | found_header = true; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/lib.rs:1364:58 [INFO] [stdout] | [INFO] [stdout] 1364 | Err(ApresError::UnknownMetaEvent(bytes)) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/lib.rs:1367:57 [INFO] [stdout] | [INFO] [stdout] 1367 | Err(ApresError::IllegibleString(bytes)) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/lib.rs:1385:13 [INFO] [stdout] | [INFO] [stdout] 1385 | let n: u32; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `varlength` [INFO] [stdout] --> src/lib.rs:1386:13 [INFO] [stdout] | [INFO] [stdout] 1386 | let varlength: u64; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_varlength` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:1468:17 [INFO] [stdout] | [INFO] [stdout] 1468 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `track` [INFO] [stdout] --> src/lib.rs:1524:36 [INFO] [stdout] | [INFO] [stdout] 1524 | pub fn get_track_length(&self, track: usize) -> usize { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_track` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/controller.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/controller.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let n: u32; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `varlength` [INFO] [stdout] --> src/controller.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let varlength: u64; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_varlength` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1672:24 [INFO] [stdout] | [INFO] [stdout] 1672 | fn build_key_signature(mut mi: u8, mut sf: u8) -> MIDIEvent { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1672:36 [INFO] [stdout] | [INFO] [stdout] 1672 | fn build_key_signature(mut mi: u8, mut sf: u8) -> MIDIEvent { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:681:21 [INFO] [stdout] | [INFO] [stdout] 681 | 24.0 => { 0 } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:682:21 [INFO] [stdout] | [INFO] [stdout] 682 | 25.0 => { 1 } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:683:21 [INFO] [stdout] | [INFO] [stdout] 683 | 27.97 => { 2 } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:684:21 [INFO] [stdout] | [INFO] [stdout] 684 | 30.0 => { 3 } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/lib.rs:733:13 [INFO] [stdout] | [INFO] [stdout] 733 | let n: u32; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:1286:17 [INFO] [stdout] | [INFO] [stdout] 1286 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `smpte` is assigned to, but never used [INFO] [stdout] --> src/lib.rs:1315:17 [INFO] [stdout] | [INFO] [stdout] 1315 | let mut smpte: u32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_smpte` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tpf` is assigned to, but never used [INFO] [stdout] --> src/lib.rs:1316:17 [INFO] [stdout] | [INFO] [stdout] 1316 | let mut tpf: u32; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_tpf` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `found_header` is assigned to, but never used [INFO] [stdout] --> src/lib.rs:1321:17 [INFO] [stdout] | [INFO] [stdout] 1321 | let mut found_header = false; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_found_header` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `smpte` is never read [INFO] [stdout] --> src/lib.rs:1341:21 [INFO] [stdout] | [INFO] [stdout] 1341 | smpte = (((divword & 0x7F00) >> 8) as i8) as u32; [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: value assigned to `tpf` is never read [INFO] [stdout] --> src/lib.rs:1342:21 [INFO] [stdout] | [INFO] [stdout] 1342 | tpf = divword & 0x00FF; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `found_header` is never read [INFO] [stdout] --> src/lib.rs:1349:17 [INFO] [stdout] | [INFO] [stdout] 1349 | found_header = true; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/lib.rs:1364:58 [INFO] [stdout] | [INFO] [stdout] 1364 | Err(ApresError::UnknownMetaEvent(bytes)) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/lib.rs:1367:57 [INFO] [stdout] | [INFO] [stdout] 1367 | Err(ApresError::IllegibleString(bytes)) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/lib.rs:1385:13 [INFO] [stdout] | [INFO] [stdout] 1385 | let n: u32; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `varlength` [INFO] [stdout] --> src/lib.rs:1386:13 [INFO] [stdout] | [INFO] [stdout] 1386 | let varlength: u64; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_varlength` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:1468:17 [INFO] [stdout] | [INFO] [stdout] 1468 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `track` [INFO] [stdout] --> src/lib.rs:1524:36 [INFO] [stdout] | [INFO] [stdout] 1524 | pub fn get_track_length(&self, track: usize) -> usize { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_track` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bpm` [INFO] [stdout] --> src/tests.rs:261:10 [INFO] [stdout] | [INFO] [stdout] 261 | for (bpm, expected_uspqn) in test_cases_bpm.iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bpm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/controller.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/controller.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let n: u32; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `varlength` [INFO] [stdout] --> src/controller.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let varlength: u64; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_varlength` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:1280:17 [INFO] [stdout] | [INFO] [stdout] 1280 | file.read(&mut buffer); [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/lib.rs:1466:17 [INFO] [stdout] | [INFO] [stdout] 1466 | file.write_all(bytes.as_slice()); [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: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1672:24 [INFO] [stdout] | [INFO] [stdout] 1672 | fn build_key_signature(mut mi: u8, mut sf: u8) -> MIDIEvent { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1672:36 [INFO] [stdout] | [INFO] [stdout] 1672 | fn build_key_signature(mut mi: u8, mut sf: u8) -> MIDIEvent { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests.rs:245:13 [INFO] [stdout] | [INFO] [stdout] 245 | let mut event = ChannelPrefix(i as u8); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | let mut event = SetTempo(*expected_uspqn); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:1280:17 [INFO] [stdout] | [INFO] [stdout] 1280 | file.read(&mut buffer); [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/lib.rs:1466:17 [INFO] [stdout] | [INFO] [stdout] 1466 | file.write_all(bytes.as_slice()); [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: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.79s [INFO] running `Command { std: "docker" "inspect" "22c24debc01041a08a0caf160ddc34548cfa02edff7fc418a3a22c7132ac8a2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22c24debc01041a08a0caf160ddc34548cfa02edff7fc418a3a22c7132ac8a2e", kill_on_drop: false }` [INFO] [stdout] 22c24debc01041a08a0caf160ddc34548cfa02edff7fc418a3a22c7132ac8a2e