[INFO] fetching crate launchpad 0.1.1... [INFO] checking launchpad-0.1.1 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] extracting crate launchpad 0.1.1 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate launchpad 0.1.1 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate launchpad 0.1.1 [INFO] finished tweaking crates.io crate launchpad 0.1.1 [INFO] tweaked toml for crates.io crate launchpad 0.1.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages [INFO] [stderr] Adding portmidi v0.2.6 (latest: v0.3.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded portmidi v0.2.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89d2e5304cdc566e7f691e0267daa0a1654f66915d01d2da2ba29b7fdc639a45 [INFO] running `Command { std: "docker" "start" "-a" "89d2e5304cdc566e7f691e0267daa0a1654f66915d01d2da2ba29b7fdc639a45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89d2e5304cdc566e7f691e0267daa0a1654f66915d01d2da2ba29b7fdc639a45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89d2e5304cdc566e7f691e0267daa0a1654f66915d01d2da2ba29b7fdc639a45", kill_on_drop: false }` [INFO] [stdout] 89d2e5304cdc566e7f691e0267daa0a1654f66915d01d2da2ba29b7fdc639a45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38dcf0dce74b8385aec5419f7e29be1eac5e721aa9ea2bee55772efd93798a6b [INFO] running `Command { std: "docker" "start" "-a" "38dcf0dce74b8385aec5419f7e29be1eac5e721aa9ea2bee55772efd93798a6b", kill_on_drop: false }` [INFO] [stderr] Checking portmidi v0.2.6 [INFO] [stderr] Checking launchpad v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/launchpad.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | input_port: pm::InputPort, [INFO] [stdout] | ^^^^^^^^^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 14 ~ pub struct LaunchpadMk2<'a> { [INFO] [stdout] 15 ~ input_port: pm::InputPort<'a>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/launchpad.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | output_port: pm::OutputPort, [INFO] [stdout] | ^^^^^^^^^^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 14 ~ pub struct LaunchpadMk2<'a> { [INFO] [stdout] 15 | input_port: pm::InputPort, [INFO] [stdout] 16 ~ output_port: pm::OutputPort<'a>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/launchpad.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | input_port: pm::InputPort, [INFO] [stdout] | ^^^^^^^^^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 14 ~ pub struct LaunchpadMk2<'a> { [INFO] [stdout] 15 ~ input_port: pm::InputPort<'a>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/launchpad.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | output_port: pm::OutputPort, [INFO] [stdout] | ^^^^^^^^^^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 14 ~ pub struct LaunchpadMk2<'a> { [INFO] [stdout] 15 | input_port: pm::InputPort, [INFO] [stdout] 16 ~ output_port: pm::OutputPort<'a>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MidiMessage: From<[u8; 3]>` is not satisfied [INFO] [stdout] --> src/launchpad.rs:123:40 [INFO] [stdout] | [INFO] [stdout] 123 | self.output_port.write_message([0x91, led.position, led.color]).expect("Fail"); [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<[u8; 3]>` is not implemented for `MidiMessage`, which is required by `[u8; 3]: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `[u8; 3]` to implement `Into` [INFO] [stdout] note: required by a bound in `OutputPort::<'a>::write_message` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/portmidi-0.2.6/src/io.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn write_message>(&mut self, midi_message: T) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `OutputPort::<'a>::write_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MidiMessage: From<[u8; 3]>` is not satisfied [INFO] [stdout] --> src/launchpad.rs:123:40 [INFO] [stdout] | [INFO] [stdout] 123 | self.output_port.write_message([0x91, led.position, led.color]).expect("Fail"); [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<[u8; 3]>` is not implemented for `MidiMessage`, which is required by `[u8; 3]: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `[u8; 3]` to implement `Into` [INFO] [stdout] note: required by a bound in `OutputPort::<'a>::write_message` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/portmidi-0.2.6/src/io.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn write_message>(&mut self, midi_message: T) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `OutputPort::<'a>::write_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MidiMessage: From<[u8; 3]>` is not satisfied [INFO] [stdout] --> src/launchpad.rs:132:40 [INFO] [stdout] | [INFO] [stdout] 132 | self.output_port.write_message([0x92, led.position, led.color]).expect("Fail"); [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<[u8; 3]>` is not implemented for `MidiMessage`, which is required by `[u8; 3]: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `[u8; 3]` to implement `Into` [INFO] [stdout] note: required by a bound in `OutputPort::<'a>::write_message` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/portmidi-0.2.6/src/io.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn write_message>(&mut self, midi_message: T) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `OutputPort::<'a>::write_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MidiMessage: From<[u8; 3]>` is not satisfied [INFO] [stdout] --> src/launchpad.rs:132:40 [INFO] [stdout] | [INFO] [stdout] 132 | self.output_port.write_message([0x92, led.position, led.color]).expect("Fail"); [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<[u8; 3]>` is not implemented for `MidiMessage`, which is required by `[u8; 3]: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `[u8; 3]` to implement `Into` [INFO] [stdout] note: required by a bound in `OutputPort::<'a>::write_message` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/portmidi-0.2.6/src/io.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn write_message>(&mut self, midi_message: T) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `OutputPort::<'a>::write_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of associated function [INFO] [stdout] --> src/launchpad.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn guess_from(midi: &pm::PortMidi) -> LaunchpadMk2 { [INFO] [stdout] | ---- - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `midi` is a reference that is only valid in the associated function body [INFO] [stdout] ... [INFO] [stdout] 94 | let input = midi.input_port(input_device, 1024) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `midi` escapes the associated function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of associated function [INFO] [stdout] --> src/launchpad.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn guess_from(midi: &pm::PortMidi) -> LaunchpadMk2 { [INFO] [stdout] | ---- - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `midi` is a reference that is only valid in the associated function body [INFO] [stdout] ... [INFO] [stdout] 94 | let input = midi.input_port(input_device, 1024) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `midi` escapes the associated function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0106, E0277, E0521. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0106, E0277, E0521. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stderr] error: could not compile `launchpad` (lib test) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `launchpad` (lib) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "38dcf0dce74b8385aec5419f7e29be1eac5e721aa9ea2bee55772efd93798a6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38dcf0dce74b8385aec5419f7e29be1eac5e721aa9ea2bee55772efd93798a6b", kill_on_drop: false }` [INFO] [stdout] 38dcf0dce74b8385aec5419f7e29be1eac5e721aa9ea2bee55772efd93798a6b [INFO] checking launchpad-0.1.1 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-4 [INFO] extracting crate launchpad 0.1.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate launchpad 0.1.1 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate launchpad 0.1.1 [INFO] finished tweaking crates.io crate launchpad 0.1.1 [INFO] tweaked toml for crates.io crate launchpad 0.1.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 927872a21137190373fd84a44ceee65bdf92c9578afe62a9710afae42a83e96d [INFO] running `Command { std: "docker" "start" "-a" "927872a21137190373fd84a44ceee65bdf92c9578afe62a9710afae42a83e96d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "927872a21137190373fd84a44ceee65bdf92c9578afe62a9710afae42a83e96d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "927872a21137190373fd84a44ceee65bdf92c9578afe62a9710afae42a83e96d", kill_on_drop: false }` [INFO] [stdout] 927872a21137190373fd84a44ceee65bdf92c9578afe62a9710afae42a83e96d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7f087e95ecce1dc2f4122db7b510e61d0f33f0e55aa68d75e0737a296c6cd0e [INFO] running `Command { std: "docker" "start" "-a" "a7f087e95ecce1dc2f4122db7b510e61d0f33f0e55aa68d75e0737a296c6cd0e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "a7f087e95ecce1dc2f4122db7b510e61d0f33f0e55aa68d75e0737a296c6cd0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7f087e95ecce1dc2f4122db7b510e61d0f33f0e55aa68d75e0737a296c6cd0e", kill_on_drop: false }` [INFO] [stdout] a7f087e95ecce1dc2f4122db7b510e61d0f33f0e55aa68d75e0737a296c6cd0e