[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 master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhintron%2Fplay-midi" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hintron/play-midi on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ctrlc v3.4.4 [INFO] [stderr] Downloaded coremidi-sys v3.1.1 [INFO] [stderr] Downloaded rusb v0.9.4 [INFO] [stderr] Downloaded libusb1-sys v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f7a562a93a963e52b5bdc6eecf3feb51a30268faa8bba5f1207d1f17402ef974 [INFO] running `Command { std: "docker" "start" "-a" "f7a562a93a963e52b5bdc6eecf3feb51a30268faa8bba5f1207d1f17402ef974", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7a562a93a963e52b5bdc6eecf3feb51a30268faa8bba5f1207d1f17402ef974", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7a562a93a963e52b5bdc6eecf3feb51a30268faa8bba5f1207d1f17402ef974", kill_on_drop: false }` [INFO] [stdout] f7a562a93a963e52b5bdc6eecf3feb51a30268faa8bba5f1207d1f17402ef974 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8408120f40b56fcbe68b1a02eb5a40949b8a992882667cac7dcb362d2f6fea02 [INFO] running `Command { std: "docker" "start" "-a" "8408120f40b56fcbe68b1a02eb5a40949b8a992882667cac7dcb362d2f6fea02", 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] Checking bitflags v2.5.0 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling rusb v0.9.4 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rayon-core v1.12.1 [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 midir v0.10.0 [INFO] [stderr] Checking ctrlc v3.4.4 [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/8c32e313cccf7df531e2d49ffb8227bb92304aee/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/8c32e313cccf7df531e2d49ffb8227bb92304aee/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" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/8c32e313cccf7df531e2d49ffb8227bb92304aee/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/8c32e313cccf7df531e2d49ffb8227bb92304aee/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] running `Command { std: "docker" "inspect" "8408120f40b56fcbe68b1a02eb5a40949b8a992882667cac7dcb362d2f6fea02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8408120f40b56fcbe68b1a02eb5a40949b8a992882667cac7dcb362d2f6fea02", kill_on_drop: false }` [INFO] [stdout] 8408120f40b56fcbe68b1a02eb5a40949b8a992882667cac7dcb362d2f6fea02