[INFO] fetching crate midistream 0.1.0... [INFO] checking midistream-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate midistream 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate midistream 0.1.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31818c64eb9928afa5172b5f9e3f37ce18824eba37bf1f937cda93b830713f78 [INFO] running `Command { std: "docker" "start" "-a" "31818c64eb9928afa5172b5f9e3f37ce18824eba37bf1f937cda93b830713f78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31818c64eb9928afa5172b5f9e3f37ce18824eba37bf1f937cda93b830713f78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31818c64eb9928afa5172b5f9e3f37ce18824eba37bf1f937cda93b830713f78", kill_on_drop: false }` [INFO] [stdout] 31818c64eb9928afa5172b5f9e3f37ce18824eba37bf1f937cda93b830713f78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb974e451746df22ad6c0648864c5d762279d8bdeca8dd9707c684372e389231 [INFO] running `Command { std: "docker" "start" "-a" "eb974e451746df22ad6c0648864c5d762279d8bdeca8dd9707c684372e389231", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking 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)]` 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)]` 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: 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)]` 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message.rs:486:17 [INFO] [stdout] | [INFO] [stdout] 485 | pub fn new(i: I) -> MsgDecoder { MsgDecoder { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 486 | simple: SimpleMsgDecoder::new(i), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `midistream` (lib) due to 2 previous errors; 34 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message.rs:486:17 [INFO] [stdout] | [INFO] [stdout] 485 | pub fn new(i: I) -> MsgDecoder { MsgDecoder { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 486 | simple: SimpleMsgDecoder::new(i), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `midistream` (lib test) due to 2 previous errors; 34 warnings emitted [INFO] running `Command { std: "docker" "inspect" "eb974e451746df22ad6c0648864c5d762279d8bdeca8dd9707c684372e389231", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb974e451746df22ad6c0648864c5d762279d8bdeca8dd9707c684372e389231", kill_on_drop: false }` [INFO] [stdout] eb974e451746df22ad6c0648864c5d762279d8bdeca8dd9707c684372e389231