I'm trying to build this on a MacBook Pro M1 running macOS Big Sur version 11.5.2, and the build fails.
cargo 1.56.0-nightly (b51439fd8 2021-08-09)
Build invocation and output from the point where it fails.
Compiling miniaudio v0.10.0 (https://github.com/jpochyla/miniaudio-rs#d75bf62d)
error[E0425]: cannot find value `MA_SAMPLE_RATE_8000` in crate `sys`
--> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/base.rs:507:40
|
507 | pub const SAMPLE_RATE_8000: u32 = sys::MA_SAMPLE_RATE_8000;
| ^^^^^^^^^^^^^^^^^^^ not found in `sys`
error[E0425]: cannot find value `MA_SAMPLE_RATE_11025` in crate `sys`
--> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/base.rs:508:41
|
508 | pub const SAMPLE_RATE_11025: u32 = sys::MA_SAMPLE_RATE_11025;
| ^^^^^^^^^^^^^^^^^^^^ not found in `sys`
error[E0425]: cannot find value `MA_SAMPLE_RATE_16000` in crate `sys`
--> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/base.rs:509:41
|
509 | pub const SAMPLE_RATE_16000: u32 = sys::MA_SAMPLE_RATE_16000;
| ^^^^^^^^^^^^^^^^^^^^ not found in `sys`
error[E0425]: cannot find value `MA_SAMPLE_RATE_22050` in crate `sys`
--> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/base.rs:510:41
|
510 | pub const SAMPLE_RATE_22050: u32 = sys::MA_SAMPLE_RATE_22050;
| ^^^^^^^^^^^^^^^^^^^^ not found in `sys`
error[E0425]: cannot find value `MA_SAMPLE_RATE_24000` in crate `sys`
--> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/base.rs:511:41
|
511 | pub const SAMPLE_RATE_24000: u32 = sys::MA_SAMPLE_RATE_24000;
| ^^^^^^^^^^^^^^^^^^^^ not found in `sys`
error[E0425]: cannot find value `MA_SAMPLE_RATE_32000` in crate `sys`
--> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/base.rs:512:41
|
512 | pub const SAMPLE_RATE_32000: u32 = sys::MA_SAMPLE_RATE_32000;
| ^^^^^^^^^^^^^^^^^^^^ not found in `sys`
error[E0425]: cannot find value `MA_SAMPLE_RATE_44100` in crate `sys`
--> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/base.rs:513:41
|
513 | pub const SAMPLE_RATE_44100: u32 = sys::MA_SAMPLE_RATE_44100;
| ^^^^^^^^^^^^^^^^^^^^ not found in `sys`
error[E0425]: cannot find value `MA_SAMPLE_RATE_48000` in crate `sys`
--> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/base.rs:514:41
|
514 | pub const SAMPLE_RATE_48000: u32 = sys::MA_SAMPLE_RATE_48000;
| ^^^^^^^^^^^^^^^^^^^^ not found in `sys`
error[E0425]: cannot find value `MA_SAMPLE_RATE_88200` in crate `sys`
--> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/base.rs:515:41
|
515 | pub const SAMPLE_RATE_88200: u32 = sys::MA_SAMPLE_RATE_88200;
| ^^^^^^^^^^^^^^^^^^^^ not found in `sys`
error[E0425]: cannot find value `MA_SAMPLE_RATE_96000` in crate `sys`
--> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/base.rs:516:41
|
516 | pub const SAMPLE_RATE_96000: u32 = sys::MA_SAMPLE_RATE_96000;
| ^^^^^^^^^^^^^^^^^^^^ not found in `sys`
error[E0425]: cannot find value `MA_SAMPLE_RATE_176400` in crate `sys`
--> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/base.rs:517:42
|
517 | pub const SAMPLE_RATE_176400: u32 = sys::MA_SAMPLE_RATE_176400;
| ^^^^^^^^^^^^^^^^^^^^^ not found in `sys`
error[E0425]: cannot find value `MA_SAMPLE_RATE_192000` in crate `sys`
--> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/base.rs:518:42
|
518 | pub const SAMPLE_RATE_192000: u32 = sys::MA_SAMPLE_RATE_192000;
| ^^^^^^^^^^^^^^^^^^^^^ not found in `sys`
error[E0425]: cannot find value `MA_SAMPLE_RATE_352800` in crate `sys`
--> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/base.rs:519:42
|
519 | pub const SAMPLE_RATE_352800: u32 = sys::MA_SAMPLE_RATE_352800;
| ^^^^^^^^^^^^^^^^^^^^^ not found in `sys`
error[E0425]: cannot find value `MA_SAMPLE_RATE_384000` in crate `sys`
--> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/base.rs:520:42
|
520 | pub const SAMPLE_RATE_384000: u32 = sys::MA_SAMPLE_RATE_384000;
| ^^^^^^^^^^^^^^^^^^^^^ not found in `sys`
error[E0609]: no field `isBackendAsynchronous` on type `ma_context`
--> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/device_io.rs:1023:27
|
1023 | from_bool8(self.0.isBackendAsynchronous)
| ^^^^^^^^^^^^^^^^^^^^^ unknown field
|
= note: available fields are: `callbacks`, `backend`, `logCallback`, `threadPriority`, `threadStackSize` ... and 10 others
error[E0609]: no field `usingDefaultFormat` on type `ma_device__bindgen_ty_3`
--> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/device_io.rs:1539:27
|
1539 | from_bool8(self.0.usingDefaultFormat)
| ^^^^^^^^^^^^^^^^^^ unknown field
|
= note: available fields are: `id`, `name`, `shareMode`, `format`, `channels` ... and 9 others
error[E0609]: no field `usingDefaultChannels` on type `ma_device__bindgen_ty_3`
--> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/device_io.rs:1543:27
|
1543 | from_bool8(self.0.usingDefaultChannels)
| ^^^^^^^^^^^^^^^^^^^^ unknown field
|
= note: available fields are: `id`, `name`, `shareMode`, `format`, `channels` ... and 9 others
error[E0609]: no field `usingDefaultChannelMap` on type `ma_device__bindgen_ty_3`
--> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/device_io.rs:1547:27
|
1547 | from_bool8(self.0.usingDefaultChannelMap)
| ^^^^^^^^^^^^^^^^^^^^^^ unknown field
|
= note: available fields are: `id`, `name`, `shareMode`, `format`, `channels` ... and 9 others
error[E0609]: no field `usingDefaultFormat` on type `ma_device__bindgen_ty_2`
--> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/device_io.rs:1582:27
|
1582 | from_bool8(self.0.usingDefaultFormat)
| ^^^^^^^^^^^^^^^^^^ unknown field
|
= note: available fields are: `id`, `name`, `shareMode`, `format`, `channels` ... and 9 others
error[E0609]: no field `usingDefaultChannels` on type `ma_device__bindgen_ty_2`
--> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/device_io.rs:1586:27
|
1586 | from_bool8(self.0.usingDefaultChannels)
| ^^^^^^^^^^^^^^^^^^^^ unknown field
|
= note: available fields are: `id`, `name`, `shareMode`, `format`, `channels` ... and 9 others
error[E0609]: no field `usingDefaultChannelMap` on type `ma_device__bindgen_ty_2`
--> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/device_io.rs:1590:27
|
1590 | from_bool8(self.0.usingDefaultChannelMap)
| ^^^^^^^^^^^^^^^^^^^^^^ unknown field
|
= note: available fields are: `id`, `name`, `shareMode`, `format`, `channels` ... and 9 others
Some errors have detailed explanations: E0425, E0609.
For more information about an error, try `rustc --explain E0425`.
error: could not compile `miniaudio` due to 21 previous errors
warning: build failed, waiting for other jobs to finish...
error: build failed
I'm trying to build this on a MacBook Pro M1 running macOS Big Sur version 11.5.2, and the build fails.
rustup run nightly cargo versionBuild invocation and output from the point where it fails.
rustup run nightly cargo build --release