[INFO] cloning repository https://github.com/hintron/play-midi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hintron/play-midi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhintron%2Fplay-midi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhintron%2Fplay-midi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4531cd82b0b36b499378af46ea43a90ab92ba389 [INFO] checking hintron/play-midi against try#e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b for pr-144896 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhintron%2Fplay-midi" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hintron/play-midi [INFO] finished tweaking git repo https://github.com/hintron/play-midi [INFO] tweaked toml for git repo https://github.com/hintron/play-midi written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hintron/play-midi on toolchain e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hintron/play-midi 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" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded midly v0.5.3 [INFO] [stderr] Downloaded coremidi-sys v3.1.1 [INFO] [stderr] Downloaded ctrlc v3.4.4 [INFO] [stderr] Downloaded coremidi v0.8.0 [INFO] [stderr] Downloaded rusb v0.9.4 [INFO] [stderr] Downloaded midir v0.10.0 [INFO] [stderr] Downloaded libusb1-sys v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1793fb062ab69b6526c4e512c5d4e4275d059dd0bd73bdb6a6affc7feca87c23 [INFO] running `Command { std: "docker" "start" "-a" "1793fb062ab69b6526c4e512c5d4e4275d059dd0bd73bdb6a6affc7feca87c23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1793fb062ab69b6526c4e512c5d4e4275d059dd0bd73bdb6a6affc7feca87c23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1793fb062ab69b6526c4e512c5d4e4275d059dd0bd73bdb6a6affc7feca87c23", kill_on_drop: false }` [INFO] [stdout] 1793fb062ab69b6526c4e512c5d4e4275d059dd0bd73bdb6a6affc7feca87c23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e676e05ced4e9f5135243701d21fe0f90f249b9d141e40d30ea2aecdf5d0b689 [INFO] running `Command { std: "docker" "start" "-a" "e676e05ced4e9f5135243701d21fe0f90f249b9d141e40d30ea2aecdf5d0b689", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Compiling rusb v0.9.4 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling libusb1-sys v0.7.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking alsa v0.9.0 [INFO] [stderr] Checking ctrlc v3.4.4 [INFO] [stderr] Checking midir v0.10.0 [INFO] [stderr] Checking midly v0.5.3 [INFO] [stderr] Checking play-midi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `*mut alsa_sys::_snd_seq: Sync` is not satisfied [INFO] [stdout] --> src/main.rs:168:60 [INFO] [stdout] | [INFO] [stdout] 140 | fn open_midi_usb() -> Result { [INFO] [stdout] | ---------------------------- required `*mut alsa_sys::_snd_seq: Sync` because of this [INFO] [stdout] ... [INFO] [stdout] 168 | let conn_out = midi_out.connect(out_port, "midir-test")?; [INFO] [stdout] | -------------------------------^ `*mut alsa_sys::_snd_seq` cannot be shared between threads safely [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, ConnectError>` [INFO] [stdout] | [INFO] [stdout] = help: within `ConnectError`, the trait `Sync` is not implemented for `*mut alsa_sys::_snd_seq` [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] note: required because it appears within the type `alsa::seq::Seq` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alsa-0.9.0/src/seq.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Seq(*mut alsa::snd_seq_t, cell::Cell); [INFO] [stdout] | ^^^ [INFO] [stdout] note: required because it appears within the type `Option` [INFO] [stdout] --> /rustc/e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b/library/core/src/option.rs:593:10 [INFO] [stdout] note: required because it appears within the type `midir::backend::alsa::MidiOutput` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/midir-0.10.0/src/backend/alsa/mod.rs:517:12 [INFO] [stdout] | [INFO] [stdout] 517 | pub struct MidiOutput { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `MidiOutput` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/midir-0.10.0/src/common.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 207 | pub struct MidiOutput { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `ConnectError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/midir-0.10.0/src/errors.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct ConnectError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: required for `anyhow::Error` to implement `From>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `*mut alsa_sys::_snd_seq: Sync` is not satisfied [INFO] [stdout] --> src/main.rs:168:60 [INFO] [stdout] | [INFO] [stdout] 140 | fn open_midi_usb() -> Result { [INFO] [stdout] | ---------------------------- required `*mut alsa_sys::_snd_seq: Sync` because of this [INFO] [stdout] ... [INFO] [stdout] 168 | let conn_out = midi_out.connect(out_port, "midir-test")?; [INFO] [stdout] | -------------------------------^ `*mut alsa_sys::_snd_seq` cannot be shared between threads safely [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, ConnectError>` [INFO] [stdout] | [INFO] [stdout] = help: within `ConnectError`, the trait `Sync` is not implemented for `*mut alsa_sys::_snd_seq` [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] note: required because it appears within the type `alsa::seq::Seq` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alsa-0.9.0/src/seq.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Seq(*mut alsa::snd_seq_t, cell::Cell); [INFO] [stdout] | ^^^ [INFO] [stdout] note: required because it appears within the type `Option` [INFO] [stdout] --> /rustc/e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b/library/core/src/option.rs:593:10 [INFO] [stdout] note: required because it appears within the type `midir::backend::alsa::MidiOutput` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/midir-0.10.0/src/backend/alsa/mod.rs:517:12 [INFO] [stdout] | [INFO] [stdout] 517 | pub struct MidiOutput { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `MidiOutput` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/midir-0.10.0/src/common.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 207 | pub struct MidiOutput { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `ConnectError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/midir-0.10.0/src/errors.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct ConnectError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: required for `anyhow::Error` to implement `From>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `Cell: Sync` is not satisfied [INFO] [stdout] --> src/main.rs:168:60 [INFO] [stdout] | [INFO] [stdout] 140 | fn open_midi_usb() -> Result { [INFO] [stdout] | ---------------------------- required `Cell: Sync` because of this [INFO] [stdout] ... [INFO] [stdout] 168 | let conn_out = midi_out.connect(out_port, "midir-test")?; [INFO] [stdout] | -------------------------------^ `Cell` cannot be shared between threads safely [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, ConnectError>` [INFO] [stdout] | [INFO] [stdout] = help: within `ConnectError`, the trait `Sync` is not implemented for `Cell` [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] note: required because it appears within the type `alsa::seq::Seq` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alsa-0.9.0/src/seq.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Seq(*mut alsa::snd_seq_t, cell::Cell); [INFO] [stdout] | ^^^ [INFO] [stdout] note: required because it appears within the type `Option` [INFO] [stdout] --> /rustc/e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b/library/core/src/option.rs:593:10 [INFO] [stdout] note: required because it appears within the type `midir::backend::alsa::MidiOutput` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/midir-0.10.0/src/backend/alsa/mod.rs:517:12 [INFO] [stdout] | [INFO] [stdout] 517 | pub struct MidiOutput { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `MidiOutput` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/midir-0.10.0/src/common.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 207 | pub struct MidiOutput { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `ConnectError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/midir-0.10.0/src/errors.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct ConnectError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: required for `anyhow::Error` to implement `From>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `Cell: Sync` is not satisfied [INFO] [stdout] --> src/main.rs:168:60 [INFO] [stdout] | [INFO] [stdout] 140 | fn open_midi_usb() -> Result { [INFO] [stdout] | ---------------------------- required `Cell: Sync` because of this [INFO] [stdout] ... [INFO] [stdout] 168 | let conn_out = midi_out.connect(out_port, "midir-test")?; [INFO] [stdout] | -------------------------------^ `Cell` cannot be shared between threads safely [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, ConnectError>` [INFO] [stdout] | [INFO] [stdout] = help: within `ConnectError`, the trait `Sync` is not implemented for `Cell` [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] note: required because it appears within the type `alsa::seq::Seq` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alsa-0.9.0/src/seq.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Seq(*mut alsa::snd_seq_t, cell::Cell); [INFO] [stdout] | ^^^ [INFO] [stdout] note: required because it appears within the type `Option` [INFO] [stdout] --> /rustc/e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b/library/core/src/option.rs:593:10 [INFO] [stdout] note: required because it appears within the type `midir::backend::alsa::MidiOutput` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/midir-0.10.0/src/backend/alsa/mod.rs:517:12 [INFO] [stdout] | [INFO] [stdout] 517 | pub struct MidiOutput { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `MidiOutput` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/midir-0.10.0/src/common.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 207 | pub struct MidiOutput { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `ConnectError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/midir-0.10.0/src/errors.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct ConnectError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: required for `anyhow::Error` to implement `From>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `play-midi` (bin "play-midi") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `play-midi` (bin "play-midi" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "e676e05ced4e9f5135243701d21fe0f90f249b9d141e40d30ea2aecdf5d0b689", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e676e05ced4e9f5135243701d21fe0f90f249b9d141e40d30ea2aecdf5d0b689", kill_on_drop: false }` [INFO] [stdout] e676e05ced4e9f5135243701d21fe0f90f249b9d141e40d30ea2aecdf5d0b689