[INFO] cloning repository https://github.com/arduano/midi-tools-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arduano/midi-tools-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farduano%2Fmidi-tools-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farduano%2Fmidi-tools-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cff22acf3a3113ac9f1f05b0fb8f9cd30f3f95ac [INFO] checking arduano/midi-tools-rs against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farduano%2Fmidi-tools-rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/arduano/midi-tools-rs on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/arduano/midi-tools-rs [INFO] finished tweaking git repo https://github.com/arduano/midi-tools-rs [INFO] tweaked toml for git repo https://github.com/arduano/midi-tools-rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/arduano/midi-tools-rs 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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c6c6a34e095459ab3492c22fd7caa72c49333fe7e7bf441c80e876f297f0b84 [INFO] running `Command { std: "docker" "start" "-a" "2c6c6a34e095459ab3492c22fd7caa72c49333fe7e7bf441c80e876f297f0b84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c6c6a34e095459ab3492c22fd7caa72c49333fe7e7bf441c80e876f297f0b84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c6c6a34e095459ab3492c22fd7caa72c49333fe7e7bf441c80e876f297f0b84", kill_on_drop: false }` [INFO] [stdout] 2c6c6a34e095459ab3492c22fd7caa72c49333fe7e7bf441c80e876f297f0b84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f99322f4d59bbaec1f452e62f6850d3140455eb2b6cf70b273fd1a96854f67f [INFO] running `Command { std: "docker" "start" "-a" "6f99322f4d59bbaec1f452e62f6850d3140455eb2b6cf70b273fd1a96854f67f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking gen-iter v0.2.0 [INFO] [stderr] Checking kdmapi v0.1.0 (https://github.com/arduano/kdmapi?rev=a8013dd#a8013ddd) [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking convert_case v0.4.0 [INFO] [stderr] Checking proc-macro2 v1.0.28 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling midi-toolkit-rs-derive v0.1.0 (/opt/rustwide/workdir/midi-toolkit-derive) [INFO] [stderr] Checking midi-toolkit-rs v0.1.0 (/opt/rustwide/workdir/midi-toolkit) [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> midi-toolkit/src/io/midi_file.rs:153:30 [INFO] [stdout] | [INFO] [stdout] 151 | &self, [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] 152 | ) -> impl Iterator>, MIDIParseError>> { [INFO] [stdout] 153 | let batched_tracks = self [INFO] [stdout] | ______________________________^ [INFO] [stdout] 154 | | .iter_all_tracks() [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |______________________________`self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> midi-toolkit/src/io/midi_file.rs:153:30 [INFO] [stdout] | [INFO] [stdout] 151 | &self, [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] 152 | ) -> impl Iterator>, MIDIParseError>> { [INFO] [stdout] 153 | let batched_tracks = self [INFO] [stdout] | ______________________________^ [INFO] [stdout] 154 | | .iter_all_tracks() [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |______________________________`self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> midi-toolkit/src/io/midi_file.rs:168:31 [INFO] [stdout] | [INFO] [stdout] 162 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 168 | .map(|(i, track)| into_track_events(track, i as u32)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] help: to declare that `impl Iterator>>, MIDIParseError>>` captures data from argument `self`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 163 | ) -> impl Iterator>>, MIDIParseError>> + '_ { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> midi-toolkit/src/io/midi_file.rs:168:31 [INFO] [stdout] | [INFO] [stdout] 162 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 168 | .map(|(i, track)| into_track_events(track, i as u32)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] help: to declare that `impl Iterator>>, MIDIParseError>>` captures data from argument `self`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 163 | ) -> impl Iterator>>, MIDIParseError>> + '_ { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> midi-toolkit/src/sequence/note/merge_notes.rs:72:29 [INFO] [stdout] | [INFO] [stdout] 72 | let mut smallest = &mut sequences[smallest_index]; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> midi-toolkit/src/sequence/note/merge_notes.rs:72:29 [INFO] [stdout] | [INFO] [stdout] 72 | let mut smallest = &mut sequences[smallest_index]; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> midi-toolkit/src/sequence/note/merge_notes_iter.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | let mut smallest = &mut sequences[smallest_index]; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> midi-toolkit/src/sequence/note/merge_notes_iter.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | let mut smallest = &mut sequences[smallest_index]; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0521`. [INFO] [stdout] [INFO] [stderr] error: could not compile `midi-toolkit-rs` (lib test) due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0521`. [INFO] [stdout] [INFO] [stderr] error: could not compile `midi-toolkit-rs` (lib) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6f99322f4d59bbaec1f452e62f6850d3140455eb2b6cf70b273fd1a96854f67f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f99322f4d59bbaec1f452e62f6850d3140455eb2b6cf70b273fd1a96854f67f", kill_on_drop: false }` [INFO] [stdout] 6f99322f4d59bbaec1f452e62f6850d3140455eb2b6cf70b273fd1a96854f67f