algo 0.1.9

Algorithms & Data Structure implementations
Build #89354 2018-03-05 23:51:40

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 algo v0.1.9
Documenting algo v0.1.9
Running `rustdoc --crate-name algo .cargo/registry/src/github.com-1ecc6299db9ec823/algo-0.1.9/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: `...` syntax cannot be used in expressions
--> .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 `..` if you need an exclusive range (a < b)
= help: or `..=` if you need an inclusive range (a <= b)

error: `...` syntax cannot be used in expressions
--> .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 `..` if you need an exclusive range (a < b)
= help: or `..=` if you need an inclusive range (a <= b)

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

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

error[E0432]: unresolved import `std::num::Zero`
--> .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: cannot continue compilation due to previous error

If you want more information on this error, try using "rustc --explain E0432"
thread 'main' panicked at 'Error(
CargoError(
ChainedError {
error: Could not document `algo`.,
cause: process didn't exit successfully: `rustdoc --crate-name algo .cargo/registry/src/github.com-1ecc6299db9ec823/algo-0.1.9/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.