coreaudio-rs 0.9.1

A friendly rust interface for Apple's CoreAudio API.
Build #122904 2018-10-23T10:57:21.143232+00:00
# rustc version
rustc 1.31.0-nightly (78ff609d7 2018-10-19)# docs.rs version
cratesfyi 0.6.0 (401be1e 2018-10-20)# build log
Updating crates.io index
Fresh version_check v0.1.5
Fresh libc v0.2.43
Fresh cfg-if v0.1.6
Fresh ucd-util v0.1.1
Fresh glob v0.2.11
Fresh utf8-ranges v1.0.1
Fresh unicode-width v0.1.5
Fresh unicode-xid v0.1.0
Fresh vec_map v0.8.1
Fresh strsim v0.7.0
Fresh ansi_term v0.11.0
Fresh peeking_take_while v0.1.2
Fresh bitflags v1.0.4
Fresh memchr v1.0.2
Fresh atty v0.2.11
Fresh which v1.0.5
Fresh log v0.4.5
Fresh regex-syntax v0.5.6
Fresh textwrap v0.10.0
Fresh proc-macro2 v0.2.3
Fresh nom v3.2.1
Fresh log v0.3.9
Fresh clap v2.32.0
Fresh quote v0.4.2
Fresh lazy_static v1.1.0
Fresh memchr v2.1.0
Fresh cexpr v0.2.3
Fresh thread_local v0.3.6
Fresh libloading v0.4.3
Fresh aho-corasick v0.6.8
Fresh clang-sys v0.21.2
Fresh regex v0.2.11
Fresh env_logger v0.4.3
Fresh bindgen v0.32.3
Compiling coreaudio-sys v0.2.2
Running `rustc --crate-name build_script_build /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-sys-0.2.2/build.rs --color never --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg 'feature="audio_toolbox"' --cfg 'feature="audio_unit"' --cfg 'feature="core_audio"' --cfg 'feature="core_midi"' --cfg 'feature="open_al"' -C metadata=8d29ed292d8442a8 -C extra-filename=-8d29ed292d8442a8 --out-dir /home/cratesfyi/cratesfyi/debug/build/coreaudio-sys-8d29ed292d8442a8 -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern bindgen=/home/cratesfyi/cratesfyi/debug/deps/libbindgen-a4d309190c9fa099.rlib --cap-lints allow`
Running `/home/cratesfyi/cratesfyi/debug/build/coreaudio-sys-8d29ed292d8442a8/build-script-build`
Running `rustc --crate-name coreaudio_sys /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-sys-0.2.2/src/lib.rs --color never --crate-type lib --emit=dep-info,metadata -C debuginfo=2 --cfg 'feature="audio_toolbox"' --cfg 'feature="audio_unit"' --cfg 'feature="core_audio"' --cfg 'feature="core_midi"' --cfg 'feature="open_al"' -C metadata=0de730ee28a39d62 -C extra-filename=-0de730ee28a39d62 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow`
Documenting coreaudio-rs v0.9.1
Running `rustdoc --crate-name coreaudio /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/lib.rs --cap-lints allow --color never -o /home/cratesfyi/cratesfyi/doc --cfg 'feature="audio_toolbox"' --cfg 'feature="audio_unit"' --cfg 'feature="core_audio"' --cfg 'feature="core_midi"' --cfg 'feature="coreaudio-sys"' --cfg 'feature="default"' --cfg 'feature="open_al"' -Z unstable-options --resource-suffix -20181019-1.31.0-nightly-78ff609d7 --extern-html-root-url 'coreaudio_sys=https://docs.rs/coreaudio-sys/0.2.2' --extern-html-root-url 'bitflags=https://docs.rs/bitflags/1.0.4' -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern bitflags=/home/cratesfyi/cratesfyi/debug/deps/libbitflags-8ed38117858329ab.rmeta --extern coreaudio_sys=/home/cratesfyi/cratesfyi/debug/deps/libcoreaudio_sys-0de730ee28a39d62.rmeta`
error[E0432]: unresolved import `sys::OSStatus`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/error.rs:7:5
|
7 | use sys::OSStatus;
|     ^^^^^^^^^^^^^ no `OSStatus` in the root

error[E0432]: unresolved import `sys::OSStatus`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/error.rs:10:9
|
10 |     use sys::OSStatus;
|         ^^^^^^^^^^^^^ no `OSStatus` in the root

error[E0432]: unresolved import `sys::OSStatus`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/error.rs:71:9
|
71 |     use sys::OSStatus;
|         ^^^^^^^^^^^^^ no `OSStatus` in the root

error[E0432]: unresolved import `sys::OSStatus`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/error.rs:132:9
|
132 |     use sys::OSStatus;
|         ^^^^^^^^^^^^^ no `OSStatus` in the root

error[E0432]: unresolved import `sys::OSStatus`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/error.rs:185:9
|
185 |     use sys::OSStatus;
|         ^^^^^^^^^^^^^ no `OSStatus` in the root

error[E0412]: cannot find type `AudioUnitRenderActionFlags` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/render_callback.rs:17:40
|
17 | pub type InputProcFn = FnMut(*mut sys::AudioUnitRenderActionFlags,
|                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `sys`

error[E0412]: cannot find type `AudioTimeStamp` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/render_callback.rs:18:42
|
18 |                              *const sys::AudioTimeStamp,
|                                          ^^^^^^^^^^^^^^ not found in `sys`

error[E0412]: cannot find type `UInt32` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/render_callback.rs:19:35
|
19 |                              sys::UInt32,
|                                   ^^^^^^ not found in `sys`

error[E0412]: cannot find type `UInt32` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/render_callback.rs:20:35
|
20 |                              sys::UInt32,
|                                   ^^^^^^ not found in `sys`

error[E0412]: cannot find type `AudioBufferList` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/render_callback.rs:21:40
|
21 |                              *mut sys::AudioBufferList) -> sys::OSStatus;
|                                        ^^^^^^^^^^^^^^^ not found in `sys`

error[E0412]: cannot find type `OSStatus` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/render_callback.rs:21:65
|
21 |                              *mut sys::AudioBufferList) -> sys::OSStatus;
|                                                                 ^^^^^^^^ not found in `sys`

error[E0412]: cannot find type `AudioTimeStamp` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/render_callback.rs:34:26
|
34 |     pub time_stamp: sys::AudioTimeStamp,
|                          ^^^^^^^^^^^^^^ not found in `sys`

error[E0412]: cannot find type `AudioBufferList` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/render_callback.rs:62:76
|
62 |         unsafe fn from_input_proc_args(num_frames: u32, io_data: *mut sys::AudioBufferList) -> Self;
|                                                                            ^^^^^^^^^^^^^^^ not found in `sys`

error[E0412]: cannot find type `AudioBufferList` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/render_callback.rs:68:29
|
68 |         pub data: *mut sys::AudioBufferList,
|                             ^^^^^^^^^^^^^^^ not found in `sys`

error[E0412]: cannot find type `AudioBufferList` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/render_callback.rs:75:77
|
75 |         unsafe fn from_input_proc_args(_num_frames: u32, io_data: *mut sys::AudioBufferList) -> Self {
|                                                                             ^^^^^^^^^^^^^^^ not found in `sys`

error[E0412]: cannot find type `AudioBuffer` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/render_callback.rs:128:37
|
128 |         buffers: &'static mut [sys::AudioBuffer],
|                                     ^^^^^^^^^^^ not found in `sys`

error[E0412]: cannot find type `AudioBuffer` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/render_callback.rs:136:39
|
136 |         buffers: slice::Iter<'a, sys::AudioBuffer>,
|                                       ^^^^^^^^^^^ not found in `sys`

error[E0412]: cannot find type `AudioBuffer` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/render_callback.rs:143:42
|
143 |         buffers: slice::IterMut<'a, sys::AudioBuffer>,
|                                          ^^^^^^^^^^^ not found in `sys`

error[E0412]: cannot find type `AudioBufferList` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/render_callback.rs:208:72
|
208 |         unsafe fn from_input_proc_args(frames: u32, io_data: *mut sys::AudioBufferList) -> Self {
|                                                                        ^^^^^^^^^^^^^^^ not found in `sys`

error[E0425]: cannot find value `kAudioUnitRenderAction_PreRender` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/render_callback.rs:233:37
|
233 |             const PRE_RENDER = sys::kAudioUnitRenderAction_PreRender;
|                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `sys`

error[E0425]: cannot find value `kAudioUnitRenderAction_PostRender` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/render_callback.rs:239:38
|
239 |             const POST_RENDER = sys::kAudioUnitRenderAction_PostRender;
|                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `sys`

error[E0425]: cannot find value `kAudioUnitRenderAction_OutputIsSilence` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/render_callback.rs:246:44
|
246 |             const OUTPUT_IS_SILENCE = sys::kAudioUnitRenderAction_OutputIsSilence;
|                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `sys`

error[E0425]: cannot find value `kAudioOfflineUnitRenderAction_Preflight` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/render_callback.rs:255:44
|
255 |             const OFFLINE_PREFLIGHT = sys::kAudioOfflineUnitRenderAction_Preflight;
|                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `sys`

error[E0425]: cannot find value `kAudioOfflineUnitRenderAction_Render` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/render_callback.rs:261:41
|
261 |             const OFFLINE_RENDER = sys::kAudioOfflineUnitRenderAction_Render;
|                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `sys`

error[E0425]: cannot find value `kAudioOfflineUnitRenderAction_Complete` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/render_callback.rs:266:43
|
266 |             const OFFLINE_COMPLETE = sys::kAudioOfflineUnitRenderAction_Complete;
|                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `sys`

error[E0425]: cannot find value `kAudioUnitRenderAction_PostRenderError` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/render_callback.rs:273:44
|
273 |             const POST_RENDER_ERROR = sys::kAudioUnitRenderAction_PostRenderError;
|                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `sys`

error[E0425]: cannot find value `kAudioUnitRenderAction_DoNotCheckRenderArgs` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/render_callback.rs:280:51
|
280 |             const DO_NOT_CHECK_RENDER_ARGS = sys::kAudioUnitRenderAction_DoNotCheckRenderArgs;
|                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `sys`

error[E0412]: cannot find type `AudioUnitRenderActionFlags` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/render_callback.rs:292:24
|
292 |         ptr: *mut sys::AudioUnitRenderActionFlags,
|                        ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `sys`

error[E0412]: cannot find type `AudioUnitRenderActionFlags` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/render_callback.rs:365:40
|
365 |         pub fn from_ptr(ptr: *mut sys::AudioUnitRenderActionFlags) -> Self {
|                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `sys`

error[E0412]: cannot find type `AudioUnitRenderActionFlags` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/render_callback.rs:665:53
|
665 |                          io_action_flags: *mut sys::AudioUnitRenderActionFlags,
|                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `sys`

error[E0412]: cannot find type `AudioTimeStamp` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/render_callback.rs:666:53
|
666 |                          in_time_stamp: *const sys::AudioTimeStamp,
|                                                     ^^^^^^^^^^^^^^ not found in `sys`

error[E0412]: cannot find type `UInt32` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/render_callback.rs:667:46
|
667 |                          in_bus_number: sys::UInt32,
|                                              ^^^^^^ not found in `sys`

error[E0412]: cannot find type `UInt32` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/render_callback.rs:668:49
|
668 |                          in_number_frames: sys::UInt32,
|                                                 ^^^^^^ not found in `sys`

error[E0412]: cannot find type `AudioBufferList` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/render_callback.rs:669:45
|
669 |                          io_data: *mut sys::AudioBufferList) -> sys::OSStatus
|                                             ^^^^^^^^^^^^^^^ not found in `sys`

error[E0412]: cannot find type `OSStatus` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/render_callback.rs:669:70
|
669 |                          io_data: *mut sys::AudioBufferList) -> sys::OSStatus
|                                                                      ^^^^^^^^ not found in `sys`

error[E0412]: cannot find type `AudioStreamBasicDescription` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/stream_format.rs:69:33
|
69 |     pub fn from_asbd(asbd: sys::AudioStreamBasicDescription) -> Result<StreamFormat, Error> {
|                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `sys`

error[E0412]: cannot find type `AudioStreamBasicDescription` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/stream_format.rs:102:34
|
102 |     pub fn to_asbd(self) -> sys::AudioStreamBasicDescription {
|                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `sys`

error[E0412]: cannot find type `AudioUnit` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/mod.rs:79:20
|
79 |     instance: sys::AudioUnit,
|                    ^^^^^^^^^ not found in `sys`
help: possible candidate is found in another module, you can import it into scope
|
22 | use audio_unit::AudioUnit;
|

error[E0412]: cannot find type `AudioBufferList` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/mod.rs:86:28
|
86 |     buffer_list: *mut sys::AudioBufferList,
|                            ^^^^^^^^^^^^^^^ not found in `sys`

error[E0425]: cannot find value `kAudioUnitManufacturer_Apple` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/mod.rs:128:51
|
128 |         const MANUFACTURER_IDENTIFIER: u32 = sys::kAudioUnitManufacturer_Apple;
|                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `sys`

error[E0412]: cannot find type `AudioUnit` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/mod.rs:327:14
|
327 |     au: sys::AudioUnit,
|              ^^^^^^^^^ not found in `sys`
help: possible candidate is found in another module, you can import it into scope
|
22  | use audio_unit::AudioUnit;
|

error[E0412]: cannot find type `AudioUnit` in module `sys`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/audio_unit/mod.rs:359:14
|
359 |     au: sys::AudioUnit,
|              ^^^^^^^^^ not found in `sys`
help: possible candidate is found in another module, you can import it into scope
|
22  | use audio_unit::AudioUnit;
|

error: Compilation failed, aborting rustdoc

thread 'main' panicked at 'ProcessError { desc: "process didn\'t exit successfully: `rustdoc --crate-name coreaudio /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-rs-0.9.1/src/lib.rs --cap-lints allow --color never -o /home/cratesfyi/cratesfyi/doc --cfg \'feature=\"audio_toolbox\"\' --cfg \'feature=\"audio_unit\"\' --cfg \'feature=\"core_audio\"\' --cfg \'feature=\"core_midi\"\' --cfg \'feature=\"coreaudio-sys\"\' --cfg \'feature=\"default\"\' --cfg \'feature=\"open_al\"\' -Z unstable-options --resource-suffix -20181019-1.31.0-nightly-78ff609d7 --extern-html-root-url \'coreaudio_sys=https://docs.rs/coreaudio-sys/0.2.2\' --extern-html-root-url \'bitflags=https://docs.rs/bitflags/1.0.4\' -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern bitflags=/home/cratesfyi/cratesfyi/debug/deps/libbitflags-8ed38117858329ab.rmeta --extern coreaudio_sys=/home/cratesfyi/cratesfyi/debug/deps/libcoreaudio_sys-0de730ee28a39d62.rmeta` (exit code: 1)", exit: Some(ExitStatus(ExitStatus(256))), output: None }

Could not document `coreaudio-rs`.', src/bin/cratesfyi.rs:142:13
note: Run with `RUST_BACKTRACE=1` for a backtrace.