Compiling rust-pulsectl v0.2.6 Running `rustc --crate-name pulsectl --edition=2018 /home/kiwilinux/.cargo/registry/src/github.com-1ecc6299db9ec823/rust-pulsectl-0.2.6/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C metadata=cb247fa1866b76a6 -C extra-filename=-cb247fa1866b76a6 --out-dir /tmp/cargo-installrxXELr/release/deps -L dependency=/tmp/cargo-installrxXELr/release/deps --extern libpulse_binding=/tmp/cargo-installrxXELr/release/deps/liblibpulse_binding-3b6b8ca92b796a25.rmeta --cap-lints allow -L native=/usr/lib/x86_64-linux-gnu` error[E0308]: mismatched types --> /home/kiwilinux/.cargo/registry/src/github.com-1ecc6299db9ec823/rust-pulsectl-0.2.6/src/controllers/types.rs:204:20 | 204 | flags: item.flags, | ^^^^^^^^^^ expected struct `pulse::def::SinkFlagSet`, found struct `pulse::def::SourceFlagSet` error[E0277]: the trait bound `pulse::error::Code: std::convert::From` is not satisfied --> /home/kiwilinux/.cargo/registry/src/github.com-1ecc6299db9ec823/rust-pulsectl-0.2.6/src/errors.rs:7:32 | 7 | let code: Code = error.into(); | ^^^^ the trait `std::convert::From` is not implemented for `pulse::error::Code` | = help: the following implementations were found: > = note: required because of the requirements on the impl of `std::convert::Into` for `pulse::error::PAErr` error: aborting due to 2 previous errors Some errors have detailed explanations: E0277, E0308. For more information about an error, try `rustc --explain E0277`. error: could not compile `rust-pulsectl`. Caused by: process didn't exit successfully: `rustc --crate-name pulsectl --edition=2018 /home/kiwilinux/.cargo/registry/src/github.com-1ecc6299db9ec823/rust-pulsectl-0.2.6/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C metadata=cb247fa1866b76a6 -C extra-filename=-cb247fa1866b76a6 --out-dir /tmp/cargo-installrxXELr/release/deps -L dependency=/tmp/cargo-installrxXELr/release/deps --extern libpulse_binding=/tmp/cargo-installrxXELr/release/deps/liblibpulse_binding-3b6b8ca92b796a25.rmeta --cap-lints allow -L native=/usr/lib/x86_64-linux-gnu` (exit code: 1) warning: build failed, waiting for other jobs to finish... error: failed to compile `earbuds v0.1.7`, intermediate artifacts can be found at `/tmp/cargo-installrxXELr` Caused by: build failed