hackrf 0.0.1

Rust bindings for libhackrf
Build #90273 2018-03-06 02:28:26

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# rustc version rustc 1.26.0-dev (5c1d29af0 2018-03-03)

# docs.rs version cratesfyi 0.5.0 (579f83b 2018-03-05)

# build log Updating registry `https://github.com/rust-lang/crates.io-index` Downloading hackrf v0.0.1 Documenting hackrf v0.0.1 Running `rustdoc --crate-name hackrf .cargo/registry/src/github.com-1ecc6299db9ec823/hackrf-0.0.1/src/lib.rs -o /home/cratesfyi/cratesfyi/doc -Z unstable-options --resource-suffix -20180303-1.26.0-dev-5c1d29af0 -L dependency=/home/cratesfyi/cratesfyi/debug/deps` error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` --> .cargo/registry/src/github.com-1ecc6299db9ec823/hackrf-0.0.1/src/ffi.rs:46:27 | 46 | pub part_id: [uint32_t, ..2], | ^ expected one of 7 possible tokens here error: expected type, found `|` --> .cargo/registry/src/github.com-1ecc6299db9ec823/hackrf-0.0.1/src/lib.rs:86:38 | 86 | let cb_ptr = data.rx_ctx as *mut |&[u8]| -> bool; | ^ error: expected type, found `|` --> .cargo/registry/src/github.com-1ecc6299db9ec823/hackrf-0.0.1/src/lib.rs:103:38 | 103 | let cb_ptr = data.tx_ctx as *mut |&mut[u8]| -> bool; | ^ error: expected type, found `|` --> .cargo/registry/src/github.com-1ecc6299db9ec823/hackrf-0.0.1/src/lib.rs:118:59 | 118 | pub fn start_rx(device: &mut HackRFDevice, callback: &mut |&[u8]| -> bool) | ^ error: expected type, found `|` --> .cargo/registry/src/github.com-1ecc6299db9ec823/hackrf-0.0.1/src/lib.rs:120:33 | 120 | let ctx = (callback as *mut |&[u8]| -> bool) as *mut libc::c_void; | ^ error: expected type, found `|` --> .cargo/registry/src/github.com-1ecc6299db9ec823/hackrf-0.0.1/src/lib.rs:142:59 | 142 | pub fn start_tx(device: &mut HackRFDevice, callback: &mut |&mut[u8]| -> bool) | ^ error: expected type, found `|` --> .cargo/registry/src/github.com-1ecc6299db9ec823/hackrf-0.0.1/src/lib.rs:144:33 | 144 | let ctx = (callback as *mut |&mut[u8]| -> bool) as *mut libc::c_void; | ^ error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` --> .cargo/registry/src/github.com-1ecc6299db9ec823/hackrf-0.0.1/src/lib.rs:220:50 | 220 | -> Result<([u32, ..2], [u32, ..4]), | ^ expected one of 7 possible tokens here thread 'main' panicked at 'Error( CargoError( ChainedError { error: Could not document `hackrf`., cause: process didn't exit successfully: `rustdoc --crate-name hackrf .cargo/registry/src/github.com-1ecc6299db9ec823/hackrf-0.0.1/src/lib.rs -o /home/cratesfyi/cratesfyi/doc -Z unstable-options --resource-suffix -20180303-1.26.0-dev-5c1d29af0 -L dependency=/home/cratesfyi/cratesfyi/debug/deps` (exit code: 101) } ), State { next_error: None, backtrace: None } )', src/bin/cratesfyi.rs:142:13 note: Run with `RUST_BACKTRACE=1` for a backtrace.