[INFO] fetching crate midistream 0.1.0... [INFO] building midistream-0.1.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate midistream 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate midistream 0.1.0 [INFO] finished tweaking crates.io crate midistream 0.1.0 [INFO] tweaked toml for crates.io crate midistream 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate midistream 0.1.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b2123dfb94424ede6c8b976437c0359a571d2e252e927ed960b0922c02f1e49 [INFO] running `Command { std: "docker" "start" "-a" "9b2123dfb94424ede6c8b976437c0359a571d2e252e927ed960b0922c02f1e49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b2123dfb94424ede6c8b976437c0359a571d2e252e927ed960b0922c02f1e49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b2123dfb94424ede6c8b976437c0359a571d2e252e927ed960b0922c02f1e49", kill_on_drop: false }` [INFO] [stdout] 9b2123dfb94424ede6c8b976437c0359a571d2e252e927ed960b0922c02f1e49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edd0a22f8c7a723f97b765eafda29207b4047dfc71fde13a88c8ac3bbbd07b34 [INFO] running `Command { std: "docker" "start" "-a" "edd0a22f8c7a723f97b765eafda29207b4047dfc71fde13a88c8ac3bbbd07b34", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling midistream v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/message.rs:168:55 [INFO] [stdout] | [INFO] [stdout] 168 | SimpleMsg::control_change(n.channel, (*n.control + 0x20), n.value.lsb()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 168 - SimpleMsg::control_change(n.channel, (*n.control + 0x20), n.value.lsb()), [INFO] [stdout] 168 + SimpleMsg::control_change(n.channel, *n.control + 0x20 , n.value.lsb()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | try!(write!(f, "SysexMsg(0x{:x}", self.buf[0])); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | try!(write!(f, ",0x{:x}", self.buf[a])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 293 | 0x80...0xef => Some(self.buf[0]), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/message.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 392 | (self.lost_status.take().or_else(|| self.source.next()) [INFO] [stdout] | ^ [INFO] [stdout] 393 | .ok_or(MidiDecoderError::UnexpectedEOF)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 392 ~ self.lost_status.take().or_else(|| self.source.next()) [INFO] [stdout] 393 ~ .ok_or(MidiDecoderError::UnexpectedEOF) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:401:15 [INFO] [stdout] | [INFO] [stdout] 401 | match try!(self.read_u8()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:402:21 [INFO] [stdout] | [INFO] [stdout] 402 | i @ 0x00...0x7f => Ok(i.into()), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:410:19 [INFO] [stdout] | [INFO] [stdout] 410 | note: try!(self.read_u7()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:411:20 [INFO] [stdout] | [INFO] [stdout] 411 | value: try!(self.read_u7()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:418:20 [INFO] [stdout] | [INFO] [stdout] 418 | value: try!(self.read_u7()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:425:17 [INFO] [stdout] | [INFO] [stdout] 425 | 0x00...0x7f => return self.running_status.ok_or(MidiDecoderError::UnknownData(s)) [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:427:17 [INFO] [stdout] | [INFO] [stdout] 427 | 0x80...0xef => self.running_status = Some(s), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:428:17 [INFO] [stdout] | [INFO] [stdout] 428 | 0xf0...0xff => self.running_status = None, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:432:17 [INFO] [stdout] | [INFO] [stdout] 432 | 0x80...0x8f => NoteOff(try!(self.read_note())), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:432:36 [INFO] [stdout] | [INFO] [stdout] 432 | 0x80...0x8f => NoteOff(try!(self.read_note())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:433:17 [INFO] [stdout] | [INFO] [stdout] 433 | 0x90...0x9f => NoteOn(try!(self.read_note())), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:433:35 [INFO] [stdout] | [INFO] [stdout] 433 | 0x90...0x9f => NoteOn(try!(self.read_note())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:434:17 [INFO] [stdout] | [INFO] [stdout] 434 | 0xa0...0xaf => PolyKeyPressure(try!(self.read_note())), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:434:44 [INFO] [stdout] | [INFO] [stdout] 434 | 0xa0...0xaf => PolyKeyPressure(try!(self.read_note())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:435:17 [INFO] [stdout] | [INFO] [stdout] 435 | 0xb0...0xbf => ControlChange(Control { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:437:26 [INFO] [stdout] | [INFO] [stdout] 437 | control: try!(self.read_u7()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:438:24 [INFO] [stdout] | [INFO] [stdout] 438 | value: try!(self.read_u7()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:440:17 [INFO] [stdout] | [INFO] [stdout] 440 | 0xc0...0xcf => ProgramChange(try!(self.read_channelvalue())), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:440:42 [INFO] [stdout] | [INFO] [stdout] 440 | 0xc0...0xcf => ProgramChange(try!(self.read_channelvalue())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:441:17 [INFO] [stdout] | [INFO] [stdout] 441 | 0xd0...0xdf => ChannelKeyPressure(try!(self.read_channelvalue())), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:441:47 [INFO] [stdout] | [INFO] [stdout] 441 | 0xd0...0xdf => ChannelKeyPressure(try!(self.read_channelvalue())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:442:17 [INFO] [stdout] | [INFO] [stdout] 442 | 0xe0...0xef => PitchBendChange(PitchBend { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:444:25 [INFO] [stdout] | [INFO] [stdout] 444 | value: (try!(self.read_u7()), try!(self.read_u7())).into(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:444:47 [INFO] [stdout] | [INFO] [stdout] 444 | value: (try!(self.read_u7()), try!(self.read_u7())).into(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:446:37 [INFO] [stdout] | [INFO] [stdout] 446 | 0xf1 => MTCQuarterFrame(try!(self.read_u7())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:447:42 [INFO] [stdout] | [INFO] [stdout] 447 | 0xf2 => SongPositionPointer((try!(self.read_u7()), try!(self.read_u7())).into()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:447:64 [INFO] [stdout] | [INFO] [stdout] 447 | 0xf2 => SongPositionPointer((try!(self.read_u7()), try!(self.read_u7())).into()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:448:32 [INFO] [stdout] | [INFO] [stdout] 448 | 0xf3 => SongSelect(try!(self.read_u7())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/message.rs:429:13 [INFO] [stdout] | [INFO] [stdout] 429 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/message.rs:429:13 [INFO] [stdout] | [INFO] [stdout] 425 | 0x00...0x7f => return self.running_status.ok_or(MidiDecoderError::UnknownData(s)) [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 426 | .and_then(|s| self.read_msg(s)), [INFO] [stdout] 427 | 0x80...0xef => self.running_status = Some(s), [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 428 | 0xf0...0xff => self.running_status = None, [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 429 | _ => unreachable!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] running `Command { std: "docker" "inspect" "edd0a22f8c7a723f97b765eafda29207b4047dfc71fde13a88c8ac3bbbd07b34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edd0a22f8c7a723f97b765eafda29207b4047dfc71fde13a88c8ac3bbbd07b34", kill_on_drop: false }` [INFO] [stdout] edd0a22f8c7a723f97b765eafda29207b4047dfc71fde13a88c8ac3bbbd07b34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dcf09be98569349b0fb0aa2ca90a658477557dc2de84b73f0620bb66ac13a493 [INFO] running `Command { std: "docker" "start" "-a" "dcf09be98569349b0fb0aa2ca90a658477557dc2de84b73f0620bb66ac13a493", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/message.rs:168:55 [INFO] [stdout] | [INFO] [stdout] 168 | SimpleMsg::control_change(n.channel, (*n.control + 0x20), n.value.lsb()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 168 - SimpleMsg::control_change(n.channel, (*n.control + 0x20), n.value.lsb()), [INFO] [stdout] 168 + SimpleMsg::control_change(n.channel, *n.control + 0x20 , n.value.lsb()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | try!(write!(f, "SysexMsg(0x{:x}", self.buf[0])); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | try!(write!(f, ",0x{:x}", self.buf[a])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 293 | 0x80...0xef => Some(self.buf[0]), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/message.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 392 | (self.lost_status.take().or_else(|| self.source.next()) [INFO] [stdout] | ^ [INFO] [stdout] 393 | .ok_or(MidiDecoderError::UnexpectedEOF)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 392 ~ self.lost_status.take().or_else(|| self.source.next()) [INFO] [stdout] 393 ~ .ok_or(MidiDecoderError::UnexpectedEOF) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:401:15 [INFO] [stdout] | [INFO] [stdout] 401 | match try!(self.read_u8()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:402:21 [INFO] [stdout] | [INFO] [stdout] 402 | i @ 0x00...0x7f => Ok(i.into()), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:410:19 [INFO] [stdout] | [INFO] [stdout] 410 | note: try!(self.read_u7()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:411:20 [INFO] [stdout] | [INFO] [stdout] 411 | value: try!(self.read_u7()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling midistream v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:418:20 [INFO] [stdout] | [INFO] [stdout] 418 | value: try!(self.read_u7()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:425:17 [INFO] [stdout] | [INFO] [stdout] 425 | 0x00...0x7f => return self.running_status.ok_or(MidiDecoderError::UnknownData(s)) [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:427:17 [INFO] [stdout] | [INFO] [stdout] 427 | 0x80...0xef => self.running_status = Some(s), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:428:17 [INFO] [stdout] | [INFO] [stdout] 428 | 0xf0...0xff => self.running_status = None, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:432:17 [INFO] [stdout] | [INFO] [stdout] 432 | 0x80...0x8f => NoteOff(try!(self.read_note())), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:432:36 [INFO] [stdout] | [INFO] [stdout] 432 | 0x80...0x8f => NoteOff(try!(self.read_note())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:433:17 [INFO] [stdout] | [INFO] [stdout] 433 | 0x90...0x9f => NoteOn(try!(self.read_note())), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:433:35 [INFO] [stdout] | [INFO] [stdout] 433 | 0x90...0x9f => NoteOn(try!(self.read_note())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:434:17 [INFO] [stdout] | [INFO] [stdout] 434 | 0xa0...0xaf => PolyKeyPressure(try!(self.read_note())), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:434:44 [INFO] [stdout] | [INFO] [stdout] 434 | 0xa0...0xaf => PolyKeyPressure(try!(self.read_note())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:435:17 [INFO] [stdout] | [INFO] [stdout] 435 | 0xb0...0xbf => ControlChange(Control { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:437:26 [INFO] [stdout] | [INFO] [stdout] 437 | control: try!(self.read_u7()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:438:24 [INFO] [stdout] | [INFO] [stdout] 438 | value: try!(self.read_u7()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:440:17 [INFO] [stdout] | [INFO] [stdout] 440 | 0xc0...0xcf => ProgramChange(try!(self.read_channelvalue())), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:440:42 [INFO] [stdout] | [INFO] [stdout] 440 | 0xc0...0xcf => ProgramChange(try!(self.read_channelvalue())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:441:17 [INFO] [stdout] | [INFO] [stdout] 441 | 0xd0...0xdf => ChannelKeyPressure(try!(self.read_channelvalue())), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:441:47 [INFO] [stdout] | [INFO] [stdout] 441 | 0xd0...0xdf => ChannelKeyPressure(try!(self.read_channelvalue())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:442:17 [INFO] [stdout] | [INFO] [stdout] 442 | 0xe0...0xef => PitchBendChange(PitchBend { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:444:25 [INFO] [stdout] | [INFO] [stdout] 444 | value: (try!(self.read_u7()), try!(self.read_u7())).into(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:444:47 [INFO] [stdout] | [INFO] [stdout] 444 | value: (try!(self.read_u7()), try!(self.read_u7())).into(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:446:37 [INFO] [stdout] | [INFO] [stdout] 446 | 0xf1 => MTCQuarterFrame(try!(self.read_u7())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:447:42 [INFO] [stdout] | [INFO] [stdout] 447 | 0xf2 => SongPositionPointer((try!(self.read_u7()), try!(self.read_u7())).into()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:447:64 [INFO] [stdout] | [INFO] [stdout] 447 | 0xf2 => SongPositionPointer((try!(self.read_u7()), try!(self.read_u7())).into()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:448:32 [INFO] [stdout] | [INFO] [stdout] 448 | 0xf3 => SongSelect(try!(self.read_u7())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/message.rs:429:13 [INFO] [stdout] | [INFO] [stdout] 429 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/message.rs:429:13 [INFO] [stdout] | [INFO] [stdout] 425 | 0x00...0x7f => return self.running_status.ok_or(MidiDecoderError::UnknownData(s)) [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 426 | .and_then(|s| self.read_msg(s)), [INFO] [stdout] 427 | 0x80...0xef => self.running_status = Some(s), [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 428 | 0xf0...0xff => self.running_status = None, [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 429 | _ => unreachable!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/message.rs:168:55 [INFO] [stdout] | [INFO] [stdout] 168 | SimpleMsg::control_change(n.channel, (*n.control + 0x20), n.value.lsb()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 168 - SimpleMsg::control_change(n.channel, (*n.control + 0x20), n.value.lsb()), [INFO] [stdout] 168 + SimpleMsg::control_change(n.channel, *n.control + 0x20 , n.value.lsb()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | try!(write!(f, "SysexMsg(0x{:x}", self.buf[0])); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | try!(write!(f, ",0x{:x}", self.buf[a])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 293 | 0x80...0xef => Some(self.buf[0]), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/message.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 392 | (self.lost_status.take().or_else(|| self.source.next()) [INFO] [stdout] | ^ [INFO] [stdout] 393 | .ok_or(MidiDecoderError::UnexpectedEOF)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 392 ~ self.lost_status.take().or_else(|| self.source.next()) [INFO] [stdout] 393 ~ .ok_or(MidiDecoderError::UnexpectedEOF) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:401:15 [INFO] [stdout] | [INFO] [stdout] 401 | match try!(self.read_u8()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:402:21 [INFO] [stdout] | [INFO] [stdout] 402 | i @ 0x00...0x7f => Ok(i.into()), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:410:19 [INFO] [stdout] | [INFO] [stdout] 410 | note: try!(self.read_u7()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:411:20 [INFO] [stdout] | [INFO] [stdout] 411 | value: try!(self.read_u7()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:418:20 [INFO] [stdout] | [INFO] [stdout] 418 | value: try!(self.read_u7()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:425:17 [INFO] [stdout] | [INFO] [stdout] 425 | 0x00...0x7f => return self.running_status.ok_or(MidiDecoderError::UnknownData(s)) [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:427:17 [INFO] [stdout] | [INFO] [stdout] 427 | 0x80...0xef => self.running_status = Some(s), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:428:17 [INFO] [stdout] | [INFO] [stdout] 428 | 0xf0...0xff => self.running_status = None, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:432:17 [INFO] [stdout] | [INFO] [stdout] 432 | 0x80...0x8f => NoteOff(try!(self.read_note())), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:432:36 [INFO] [stdout] | [INFO] [stdout] 432 | 0x80...0x8f => NoteOff(try!(self.read_note())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:433:17 [INFO] [stdout] | [INFO] [stdout] 433 | 0x90...0x9f => NoteOn(try!(self.read_note())), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:433:35 [INFO] [stdout] | [INFO] [stdout] 433 | 0x90...0x9f => NoteOn(try!(self.read_note())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:434:17 [INFO] [stdout] | [INFO] [stdout] 434 | 0xa0...0xaf => PolyKeyPressure(try!(self.read_note())), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:434:44 [INFO] [stdout] | [INFO] [stdout] 434 | 0xa0...0xaf => PolyKeyPressure(try!(self.read_note())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:435:17 [INFO] [stdout] | [INFO] [stdout] 435 | 0xb0...0xbf => ControlChange(Control { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:437:26 [INFO] [stdout] | [INFO] [stdout] 437 | control: try!(self.read_u7()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:438:24 [INFO] [stdout] | [INFO] [stdout] 438 | value: try!(self.read_u7()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:440:17 [INFO] [stdout] | [INFO] [stdout] 440 | 0xc0...0xcf => ProgramChange(try!(self.read_channelvalue())), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:440:42 [INFO] [stdout] | [INFO] [stdout] 440 | 0xc0...0xcf => ProgramChange(try!(self.read_channelvalue())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:441:17 [INFO] [stdout] | [INFO] [stdout] 441 | 0xd0...0xdf => ChannelKeyPressure(try!(self.read_channelvalue())), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:441:47 [INFO] [stdout] | [INFO] [stdout] 441 | 0xd0...0xdf => ChannelKeyPressure(try!(self.read_channelvalue())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message.rs:442:17 [INFO] [stdout] | [INFO] [stdout] 442 | 0xe0...0xef => PitchBendChange(PitchBend { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:444:25 [INFO] [stdout] | [INFO] [stdout] 444 | value: (try!(self.read_u7()), try!(self.read_u7())).into(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:444:47 [INFO] [stdout] | [INFO] [stdout] 444 | value: (try!(self.read_u7()), try!(self.read_u7())).into(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:446:37 [INFO] [stdout] | [INFO] [stdout] 446 | 0xf1 => MTCQuarterFrame(try!(self.read_u7())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:447:42 [INFO] [stdout] | [INFO] [stdout] 447 | 0xf2 => SongPositionPointer((try!(self.read_u7()), try!(self.read_u7())).into()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:447:64 [INFO] [stdout] | [INFO] [stdout] 447 | 0xf2 => SongPositionPointer((try!(self.read_u7()), try!(self.read_u7())).into()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:448:32 [INFO] [stdout] | [INFO] [stdout] 448 | 0xf3 => SongSelect(try!(self.read_u7())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/message.rs:429:13 [INFO] [stdout] | [INFO] [stdout] 429 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/message.rs:429:13 [INFO] [stdout] | [INFO] [stdout] 425 | 0x00...0x7f => return self.running_status.ok_or(MidiDecoderError::UnknownData(s)) [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 426 | .and_then(|s| self.read_msg(s)), [INFO] [stdout] 427 | 0x80...0xef => self.running_status = Some(s), [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 428 | 0xf0...0xff => self.running_status = None, [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 429 | _ => unreachable!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `Command { std: "docker" "inspect" "dcf09be98569349b0fb0aa2ca90a658477557dc2de84b73f0620bb66ac13a493", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcf09be98569349b0fb0aa2ca90a658477557dc2de84b73f0620bb66ac13a493", kill_on_drop: false }` [INFO] [stdout] dcf09be98569349b0fb0aa2ca90a658477557dc2de84b73f0620bb66ac13a493