underscore 0.0.2

utility library for rust. Inspired by underscore.js.
Build #59186 2017-06-06 03:55:52

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 underscore v0.0.2 Documenting underscore v0.0.2 Running `rustdoc --crate-name underscore .cargo/registry/src/github.com-1ecc6299db9ec823/underscore-0.0.2/src/lib.rs -o /home/cratesfyi/cratesfyi/doc -L dependency=/home/cratesfyi/cratesfyi/debug/deps` error: invalid suffix `u` for numeric literal --> .cargo/registry/src/github.com-1ecc6299db9ec823/underscore-0.0.2/src/vec/expand.rs:38:25 | 38 | let mut index = 0u; | ^^ | = help: the suffix must be one of the integral types (`u32`, `isize`, etc) error: invalid suffix `u` for numeric literal --> .cargo/registry/src/github.com-1ecc6299db9ec823/underscore-0.0.2/src/vec/expand.rs:60:24 | 60 | for i in range(0u, self.len() - 1) { | ^^ | = help: the suffix must be one of the integral types (`u32`, `isize`, etc) error: expected type, found `|` --> .cargo/registry/src/github.com-1ecc6299db9ec823/underscore-0.0.2/src/vec/expand.rs:66:24 | 66 | fn reject(self, f: |value: &T| -> bool) -> Vec<T> { | ^ error: expected one of `!`, `&&`, `&`, `(`, `)`, `*`, `<`, `?`, `[`, `_`, `extern`, `fn`, `for`, `impl`, `unsafe`, or lifetime, found `|` --> .cargo/registry/src/github.com-1ecc6299db9ec823/underscore-0.0.2/src/vec/expand.rs:66:24 | 66 | fn reject(self, f: |value: &T| -> bool) -> Vec<T> { | -^ unexpected token | | | expected one of 16 possible tokens here error: expected type, found `|` --> .cargo/registry/src/github.com-1ecc6299db9ec823/underscore-0.0.2/src/vec/mod.rs:90:24 | 90 | fn reject(self, f: |value: &T| -> bool) -> Vec<T>; | ^ error: expected one of `!`, `&&`, `&`, `(`, `)`, `*`, `<`, `?`, `[`, `_`, `extern`, `fn`, `for`, `impl`, `unsafe`, or lifetime, found `|` --> .cargo/registry/src/github.com-1ecc6299db9ec823/underscore-0.0.2/src/vec/mod.rs:90:24 | 90 | fn reject(self, f: |value: &T| -> bool) -> Vec<T>; | -^ unexpected token | | | expected one of 16 possible tokens here error: expected type, found `|` --> .cargo/registry/src/github.com-1ecc6299db9ec823/underscore-0.0.2/src/hashmap/expands.rs:26:32 | 26 | fn pick_by_filter(self, f: |k: &K, v: &V| -> bool) -> HashMap<K, V> { | ^ error: expected one of `!`, `&&`, `&`, `(`, `)`, `*`, `<`, `?`, `[`, `_`, `extern`, `fn`, `for`, `impl`, `unsafe`, or lifetime, found `|` --> .cargo/registry/src/github.com-1ecc6299db9ec823/underscore-0.0.2/src/hashmap/expands.rs:26:32 | 26 | fn pick_by_filter(self, f: |k: &K, v: &V| -> bool) -> HashMap<K, V> { | -^ unexpected token | | | expected one of 16 possible tokens here error: expected type, found `|` --> .cargo/registry/src/github.com-1ecc6299db9ec823/underscore-0.0.2/src/hashmap/expands.rs:45:32 | 45 | fn omit_by_filter(self, f: |k: &K, v: &V| -> bool) -> HashMap<K, V> { | ^ error: expected one of `!`, `&&`, `&`, `(`, `)`, `*`, `<`, `?`, `[`, `_`, `extern`, `fn`, `for`, `impl`, `unsafe`, or lifetime, found `|` --> .cargo/registry/src/github.com-1ecc6299db9ec823/underscore-0.0.2/src/hashmap/expands.rs:45:32 | 45 | fn omit_by_filter(self, f: |k: &K, v: &V| -> bool) -> HashMap<K, V> { | -^ unexpected token | | | expected one of 16 possible tokens here error: expected type, found `|` --> .cargo/registry/src/github.com-1ecc6299db9ec823/underscore-0.0.2/src/hashmap/mod.rs:60:32 | 60 | fn pick_by_filter(self, f: |k: &K, v: &V| -> bool) -> HashMap<K, V>; | ^ error: expected one of `!`, `&&`, `&`, `(`, `)`, `*`, `<`, `?`, `[`, `_`, `extern`, `fn`, `for`, `impl`, `unsafe`, or lifetime, found `|` --> .cargo/registry/src/github.com-1ecc6299db9ec823/underscore-0.0.2/src/hashmap/mod.rs:60:32 | 60 | fn pick_by_filter(self, f: |k: &K, v: &V| -> bool) -> HashMap<K, V>; | -^ unexpected token | | | expected one of 16 possible tokens here error: expected type, found `|` --> .cargo/registry/src/github.com-1ecc6299db9ec823/underscore-0.0.2/src/hashmap/mod.rs:99:32 | 99 | fn omit_by_filter(self, f: |k: &K, v: &V| -> bool) -> HashMap<K, V>; | ^ error: expected one of `!`, `&&`, `&`, `(`, `)`, `*`, `<`, `?`, `[`, `_`, `extern`, `fn`, `for`, `impl`, `unsafe`, or lifetime, found `|` --> .cargo/registry/src/github.com-1ecc6299db9ec823/underscore-0.0.2/src/hashmap/mod.rs:99:32 | 99 | fn omit_by_filter(self, f: |k: &K, v: &V| -> bool) -> HashMap<K, V>; | -^ unexpected token | | | expected one of 16 possible tokens here error: expected type, found `|` --> .cargo/registry/src/github.com-1ecc6299db9ec823/underscore-0.0.2/src/btreemap/expands.rs:26:32 | 26 | fn pick_by_filter(self, f: |k: &K, v: &V| -> bool) -> BTreeMap<K, V> { | ^ error: expected one of `!`, `&&`, `&`, `(`, `)`, `*`, `<`, `?`, `[`, `_`, `extern`, `fn`, `for`, `impl`, `unsafe`, or lifetime, found `|` --> .cargo/registry/src/github.com-1ecc6299db9ec823/underscore-0.0.2/src/btreemap/expands.rs:26:32 | 26 | fn pick_by_filter(self, f: |k: &K, v: &V| -> bool) -> BTreeMap<K, V> { | -^ unexpected token | | | expected one of 16 possible tokens here error: expected type, found `|` --> .cargo/registry/src/github.com-1ecc6299db9ec823/underscore-0.0.2/src/btreemap/expands.rs:42:32 | 42 | fn omit_by_filter(self, f: |k: &K, v: &V| -> bool) -> BTreeMap<K, V> { | ^ error: expected one of `!`, `&&`, `&`, `(`, `)`, `*`, `<`, `?`, `[`, `_`, `extern`, `fn`, `for`, `impl`, `unsafe`, or lifetime, found `|` --> .cargo/registry/src/github.com-1ecc6299db9ec823/underscore-0.0.2/src/btreemap/expands.rs:42:32 | 42 | fn omit_by_filter(self, f: |k: &K, v: &V| -> bool) -> BTreeMap<K, V> { | -^ unexpected token | | | expected one of 16 possible tokens here error: expected type, found `|` --> .cargo/registry/src/github.com-1ecc6299db9ec823/underscore-0.0.2/src/btreemap/mod.rs:60:32 | 60 | fn pick_by_filter(self, f: |k: &K, v: &V| -> bool) -> BTreeMap<K, V>; | ^ error: expected one of `!`, `&&`, `&`, `(`, `)`, `*`, `<`, `?`, `[`, `_`, `extern`, `fn`, `for`, `impl`, `unsafe`, or lifetime, found `|` --> .cargo/registry/src/github.com-1ecc6299db9ec823/underscore-0.0.2/src/btreemap/mod.rs:60:32 | 60 | fn pick_by_filter(self, f: |k: &K, v: &V| -> bool) -> BTreeMap<K, V>; | -^ unexpected token | | | expected one of 16 possible tokens here error: expected type, found `|` --> .cargo/registry/src/github.com-1ecc6299db9ec823/underscore-0.0.2/src/btreemap/mod.rs:99:32 | 99 | fn omit_by_filter(self, f: |k: &K, v: &V| -> bool) -> BTreeMap<K, V>; | ^ error: expected one of `!`, `&&`, `&`, `(`, `)`, `*`, `<`, `?`, `[`, `_`, `extern`, `fn`, `for`, `impl`, `unsafe`, or lifetime, found `|` --> .cargo/registry/src/github.com-1ecc6299db9ec823/underscore-0.0.2/src/btreemap/mod.rs:99:32 | 99 | fn omit_by_filter(self, f: |k: &K, v: &V| -> bool) -> BTreeMap<K, V>; | -^ unexpected token | | | expected one of 16 possible tokens here error[E0412]: cannot find type `uint` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/underscore-0.0.2/src/vec/expand.rs:37:45 | 37 | fn index_of(&self, value: &T) -> Option<uint> { | ^^^^ not found in this scope error[E0412]: cannot find type `uint` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/underscore-0.0.2/src/vec/expand.rs:47:50 | 47 | fn last_index_of(&self, value: &T) -> Option<uint> { | ^^^^ not found in this scope error[E0425]: cannot find function `range` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/underscore-0.0.2/src/vec/expand.rs:60:18 | 60 | for i in range(0u, self.len() - 1) { | ^^^^^ not found in this scope error[E0412]: cannot find type `uint` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/underscore-0.0.2/src/vec/mod.rs:59:45 | 59 | fn index_of(&self, value: &T) -> Option<uint>; | ^^^^ not found in this scope error[E0412]: cannot find type `uint` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/underscore-0.0.2/src/vec/mod.rs:69:50 | 69 | fn last_index_of(&self, value: &T) -> Option<uint>; | ^^^^ not found in this scope error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/underscore-0.0.2/src/hashmap/expands.rs:19:30 | 19 | let v = self[element].clone(); | ^^^^^^^ expected &K, found type parameter | = note: expected type `&K` found type `K` = help: try with `&element` error: Compilation failed, aborting rustdoc thread 'main' panicked at 'ChainedError { error: Could not document `underscore`., cause: process didn't exit successfully: `rustdoc --crate-name underscore .cargo/registry/src/github.com-1ecc6299db9ec823/underscore-0.0.2/src/lib.rs -o /home/cratesfyi/cratesfyi/doc -L dependency=/home/cratesfyi/cratesfyi/debug/deps` (exit code: 101) }', src/bin/cratesfyi.rs:136 note: Run with `RUST_BACKTRACE=1` for a backtrace.