Documentation
Build #57587 2017-06-05 17:44:35

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.19.0-dev (28a93c1f4 2017-05-31)# docs.rs version
cratesfyi 0.4.0-dev (bedcc0c 2017-06-01)# build log
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading spectrogram v0.1.0
Compiling goertzel v0.2.0
Fresh adler32 v1.0.0
Fresh bitflags v0.7.0
Fresh libc v0.2.23
Fresh lzw v0.10.0
Fresh byteorder v1.0.0
Fresh scoped_threadpool v0.1.7
Fresh deque v0.3.2
Running `rustc --crate-name goertzel .cargo/registry/src/github.com-1ecc6299db9ec823/goertzel-0.2.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=89a5186ed0fed893 -C extra-filename=-89a5186ed0fed893 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow`
Fresh lazy_static v0.2.8
Fresh num_cpus v1.5.1
Fresh rand v0.3.15
Fresh deflate v0.7.11
Fresh num-traits v0.1.37
Fresh inflate v0.2.0
Fresh hound v3.1.0
Fresh color_quant v1.0.0
Fresh enum_primitive v0.1.1
Fresh num-integer v0.1.34
Fresh gif v0.9.1
Fresh rayon-core v1.0.2
Fresh num-rational v0.1.36
Fresh num-iter v0.1.33
Fresh png v0.7.0
Fresh rayon v0.7.1
Fresh jpeg-decoder v0.1.12
Fresh image v0.13.0
Documenting spectrogram v0.1.0
Running `rustdoc --crate-name spectrogram .cargo/registry/src/github.com-1ecc6299db9ec823/spectrogram-0.1.0/src/lib.rs -o /home/cratesfyi/cratesfyi/doc -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern goertzel=/home/cratesfyi/cratesfyi/debug/deps/libgoertzel-89a5186ed0fed893.rlib --extern-version goertzel=goertzel,0.2.0 --extern image=/home/cratesfyi/cratesfyi/debug/deps/libimage-0dab8565f4678d8d.rlib --extern-version image=image,0.13.0 --extern hound=/home/cratesfyi/cratesfyi/debug/deps/libhound-0a1e436c9f774944.rlib --extern-version hound=hound,3.1.0`
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/spectrogram-0.1.0/src/lib.rs:13:52
|
13 |             let p = goertzel::Parameters::new(bin, sample_rate, 256);
|                                                    ^^^^^^^^^^^ expected u32, found f32
|
= help: here are some functions which might fulfill your needs:
- .to_bits()

error: non-scalar cast: `{integer}` as `f32`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/spectrogram-0.1.0/src/lib.rs:12:38
|
12 |         for bin in (0 .. 30).map(|x| (x * 256) as f32) {
|                                      ^^^^^^^^^^^^^^^^

error: Compilation failed, aborting rustdoc

thread 'main' panicked at 'ChainedError {
error: Could not document `spectrogram`.,
cause: process didn't exit successfully: `rustdoc --crate-name spectrogram .cargo/registry/src/github.com-1ecc6299db9ec823/spectrogram-0.1.0/src/lib.rs -o /home/cratesfyi/cratesfyi/doc -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern goertzel=/home/cratesfyi/cratesfyi/debug/deps/libgoertzel-89a5186ed0fed893.rlib --extern-version goertzel=goertzel,0.2.0 --extern image=/home/cratesfyi/cratesfyi/debug/deps/libimage-0dab8565f4678d8d.rlib --extern-version image=image,0.13.0 --extern hound=/home/cratesfyi/cratesfyi/debug/deps/libhound-0a1e436c9f774944.rlib --extern-version hound=hound,3.1.0` (exit code: 101)
}', src/bin/cratesfyi.rs:136
note: Run with `RUST_BACKTRACE=1` for a backtrace.