algo 0.1.9

Algorithms & Data Structure implementations
Build #150761 2019-03-26 21:04:42

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.35.0-nightly (0f88167f8 2019-03-18)# docs.rs version
cratesfyi 0.6.0 (67b2b94 2019-03-26)# build log
Updating crates.io index
Downloading crates ...
Downloaded algo v0.1.9
Documenting algo v0.1.9
Running `rustdoc --crate-name algo /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/algo-0.1.9/src/lib.rs --cap-lints allow --color never -o /home/cratesfyi/cratesfyi/doc -Z unstable-options --resource-suffix -20190318-1.35.0-nightly-0f88167f8 --static-root-path / --disable-per-crate-search -L dependency=/home/cratesfyi/cratesfyi/debug/deps`
error: unexpected token: `...`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/algo-0.1.9/src/search/max_subarray.rs:41:56
|
41 |     let (left_idx, left_max) = cross_part_max(arr, (low...mid).rev());
|                                                        ^^^
help: use `..` for an exclusive range
|
41 |     let (left_idx, left_max) = cross_part_max(arr, (low..mid).rev());
|                                                        ^^
help: or `..=` for an inclusive range
|
41 |     let (left_idx, left_max) = cross_part_max(arr, (low..=mid).rev());
|                                                        ^^^

error: unexpected token: `...`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/algo-0.1.9/src/search/max_subarray.rs:42:63
|
42 |     let (right_idx, right_max) = cross_part_max(arr, (mid + 1)...high);
|                                                               ^^^
help: use `..` for an exclusive range
|
42 |     let (right_idx, right_max) = cross_part_max(arr, (mid + 1)..high);
|                                                               ^^
help: or `..=` for an inclusive range
|
42 |     let (right_idx, right_max) = cross_part_max(arr, (mid + 1)..=high);
|                                                               ^^^

error[E0432]: unresolved imports `std::num::Zero`, `std::num::One`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/algo-0.1.9/src/math/gcd.rs:1:16
|
1 | use std::num::{Zero, One};
|                ^^^^  ^^^ no `One` in `num`
|                |
|                no `Zero` in `num`

error[E0432]: unresolved import `std::num::Zero`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/algo-0.1.9/src/math/lcm.rs:1:5
|
1 | use std::num::Zero;
|     ^^^^^^^^^^^^^^ no `Zero` in `num`

error: Compilation failed, aborting rustdoc

error: aborting due to 5 previous errors

For more information about this error, try `rustc --explain E0432`.
thread 'main' panicked at 'ProcessError { desc: "process didn\'t exit successfully: `rustdoc --crate-name algo /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/algo-0.1.9/src/lib.rs --cap-lints allow --color never -o /home/cratesfyi/cratesfyi/doc -Z unstable-options --resource-suffix -20190318-1.35.0-nightly-0f88167f8 --static-root-path / --disable-per-crate-search -L dependency=/home/cratesfyi/cratesfyi/debug/deps` (exit code: 1)", exit: Some(ExitStatus(ExitStatus(256))), output: None }

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