[INFO] cloning repository https://github.com/lzqlzzq/midiparser
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lzqlzzq/midiparser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flzqlzzq%2Fmidiparser", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flzqlzzq%2Fmidiparser'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 01c9cbde3f56bf24ccc50551ad7a7f4a4915edb0
[INFO] building lzqlzzq/midiparser against try#334963c956d25708feab489a3816ae63f639355d for pr-135216-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flzqlzzq%2Fmidiparser" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/lzqlzzq/midiparser on toolchain 334963c956d25708feab489a3816ae63f639355d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/lzqlzzq/midiparser
[INFO] finished tweaking git repo https://github.com/lzqlzzq/midiparser
[INFO] tweaked toml for git repo https://github.com/lzqlzzq/midiparser written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/lzqlzzq/midiparser already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 54c7207e59feb3d87614519b11b235cc85b2ce1379f3f1fafd16ae62a1728357
[INFO] running `Command { std: "docker" "start" "-a" "54c7207e59feb3d87614519b11b235cc85b2ce1379f3f1fafd16ae62a1728357", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "54c7207e59feb3d87614519b11b235cc85b2ce1379f3f1fafd16ae62a1728357", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "54c7207e59feb3d87614519b11b235cc85b2ce1379f3f1fafd16ae62a1728357", kill_on_drop: false }`
[INFO] [stdout] 54c7207e59feb3d87614519b11b235cc85b2ce1379f3f1fafd16ae62a1728357
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8246fc947ff2e71ee42dd3e4a0cfb5be03ec6940eaf213c0ed0f82e6b51ccc2c
[INFO] running `Command { std: "docker" "start" "-a" "8246fc947ff2e71ee42dd3e4a0cfb5be03ec6940eaf213c0ed0f82e6b51ccc2c", kill_on_drop: false }`
[INFO] [stderr]    Compiling target-lexicon v0.12.11
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling serde v1.0.183
[INFO] [stderr]    Compiling memoffset v0.8.0
[INFO] [stderr]    Compiling smallvec v1.11.0
[INFO] [stderr]    Compiling serde_derive v1.0.183
[INFO] [stderr]    Compiling ryu v1.0.15
[INFO] [stderr]    Compiling serde_json v1.0.105
[INFO] [stderr]    Compiling hashbrown v0.14.0
[INFO] [stderr]    Compiling itoa v1.0.9
[INFO] [stderr]    Compiling indoc v1.0.9
[INFO] [stderr]    Compiling unindent v0.1.11
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.9
[INFO] [stderr]    Compiling pyo3-build-config v0.18.3
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling indexmap v2.0.0
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling pyo3-ffi v0.18.3
[INFO] [stderr]    Compiling pyo3 v0.18.3
[INFO] [stderr]    Compiling serde_yaml v0.9.25
[INFO] [stderr]    Compiling pyo3-macros-backend v0.18.3
[INFO] [stderr]    Compiling pyo3-macros v0.18.3
[INFO] [stderr]    Compiling midiparse v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `MetaStatus`
[INFO] [stdout]  --> src/io.rs:3:60
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::message::{MIDIFormat, EventStatus, MIDIMessage, MetaStatus};
[INFO] [stdout]   |                                                            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/sequence.rs:276:43
[INFO] [stdout]     |
[INFO] [stdout] 276 |             let mut next_timesig_time = if(self.time_signatures.len() > 1) {self.time_signatures[1].time} else {f32::MAX};
[INFO] [stdout]     |                                           ^                              ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 276 -             let mut next_timesig_time = if(self.time_signatures.len() > 1) {self.time_signatures[1].time} else {f32::MAX};
[INFO] [stdout] 276 +             let mut next_timesig_time = if self.time_signatures.len() > 1 {self.time_signatures[1].time} else {f32::MAX};
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/sequence.rs:280:19
[INFO] [stdout]     |
[INFO] [stdout] 280 |                 if(note.start >= next_timesig_time) {
[INFO] [stdout]     |                   ^                               ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 280 -                 if(note.start >= next_timesig_time) {
[INFO] [stdout] 280 +                 if note.start >= next_timesig_time {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/sequence.rs:283:43
[INFO] [stdout]     |
[INFO] [stdout] 283 | ...   next_timesig_time = if(this_timesig_idx < self.time_signatures.len() - 1) {self.time_signatures[1].time} else {f32::MAX};
[INFO] [stdout]     |                             ^                                                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 283 -                     next_timesig_time = if(this_timesig_idx < self.time_signatures.len() - 1) {self.time_signatures[1].time} else {f32::MAX};
[INFO] [stdout] 283 +                     next_timesig_time = if this_timesig_idx < self.time_signatures.len() - 1 {self.time_signatures[1].time} else {f32::MAX};
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/sequence.rs:265:13
[INFO] [stdout]     |
[INFO] [stdout] 265 |         for mut track in self.tracks.iter_mut() {
[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: unused variable: `control_number`
[INFO] [stdout]    --> src/sequence.rs:317:14
[INFO] [stdout]     |
[INFO] [stdout] 317 |         for (control_number, control_change) in self.controls.iter_mut() {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_control_number`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `track_idx` is never read
[INFO] [stdout]   --> src/io.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct MidiTrack {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 15 |     track_idx: u16,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MidiTrack` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.44s
[INFO] running `Command { std: "docker" "inspect" "8246fc947ff2e71ee42dd3e4a0cfb5be03ec6940eaf213c0ed0f82e6b51ccc2c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8246fc947ff2e71ee42dd3e4a0cfb5be03ec6940eaf213c0ed0f82e6b51ccc2c", kill_on_drop: false }`
[INFO] [stdout] 8246fc947ff2e71ee42dd3e4a0cfb5be03ec6940eaf213c0ed0f82e6b51ccc2c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 88f85825e763b14b2d6abe089441abb9882bcc596794d35dd0256211edf792c9
[INFO] running `Command { std: "docker" "start" "-a" "88f85825e763b14b2d6abe089441abb9882bcc596794d35dd0256211edf792c9", kill_on_drop: false }`
[INFO] [stderr]    Compiling midiparse v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/sequence.rs:276:43
[INFO] [stdout]     |
[INFO] [stdout] 276 |             let mut next_timesig_time = if(self.time_signatures.len() > 1) {self.time_signatures[1].time} else {f32::MAX};
[INFO] [stdout]     |                                           ^                              ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 276 -             let mut next_timesig_time = if(self.time_signatures.len() > 1) {self.time_signatures[1].time} else {f32::MAX};
[INFO] [stdout] 276 +             let mut next_timesig_time = if self.time_signatures.len() > 1 {self.time_signatures[1].time} else {f32::MAX};
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/sequence.rs:280:19
[INFO] [stdout]     |
[INFO] [stdout] 280 |                 if(note.start >= next_timesig_time) {
[INFO] [stdout]     |                   ^                               ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 280 -                 if(note.start >= next_timesig_time) {
[INFO] [stdout] 280 +                 if note.start >= next_timesig_time {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/sequence.rs:283:43
[INFO] [stdout]     |
[INFO] [stdout] 283 | ...   next_timesig_time = if(this_timesig_idx < self.time_signatures.len() - 1) {self.time_signatures[1].time} else {f32::MAX};
[INFO] [stdout]     |                             ^                                                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 283 -                     next_timesig_time = if(this_timesig_idx < self.time_signatures.len() - 1) {self.time_signatures[1].time} else {f32::MAX};
[INFO] [stdout] 283 +                     next_timesig_time = if this_timesig_idx < self.time_signatures.len() - 1 {self.time_signatures[1].time} else {f32::MAX};
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json`
[INFO] [stdout]    --> src/sequence.rs:398:9
[INFO] [stdout]     |
[INFO] [stdout] 398 |     use serde_json;
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/sequence.rs:265:13
[INFO] [stdout]     |
[INFO] [stdout] 265 |         for mut track in self.tracks.iter_mut() {
[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: unused variable: `control_number`
[INFO] [stdout]    --> src/sequence.rs:317:14
[INFO] [stdout]     |
[INFO] [stdout] 317 |         for (control_number, control_change) in self.controls.iter_mut() {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_control_number`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `track_idx` is never read
[INFO] [stdout]   --> src/io.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct MidiTrack {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 15 |     track_idx: u16,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MidiTrack` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.05s
[INFO] running `Command { std: "docker" "inspect" "88f85825e763b14b2d6abe089441abb9882bcc596794d35dd0256211edf792c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "88f85825e763b14b2d6abe089441abb9882bcc596794d35dd0256211edf792c9", kill_on_drop: false }`
[INFO] [stdout] 88f85825e763b14b2d6abe089441abb9882bcc596794d35dd0256211edf792c9
