arrayvec 0.3.5

A vector with a fixed capacity, it can be stored on the stack too.
Build #18483 2016-08-13 15:37:16

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.12.0-nightly (54c0dcfd6 2016-07-28)

# docs.rs version cratesfyi 0.2.0 (5dbd676 2016-07-30)

# build log Build failed, waiting for other jobs to finish... Updating registry `https://github.com/rust-lang/crates.io-index` Downloading arrayvec v0.3.5 Compiling odds v0.2.14 Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/odds-0.2.14/src/lib.rs --crate-name odds --crate-type lib -g --cfg feature=\"std\" -C metadata=158b1bd36d97e0cd -C extra-filename=-158b1bd36d97e0cd --out-dir /home/cratesfyi/arrayvec-0.3.5/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/arrayvec-0.3.5/debug/deps -L dependency=/home/cratesfyi/arrayvec-0.3.5/debug/deps --cap-lints allow` Compiling odds v0.1.2 Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/odds-0.1.2/src/lib.rs --crate-name odds --crate-type lib -g -C metadata=26a33b073213ebd9 -C extra-filename=-26a33b073213ebd9 --out-dir /home/cratesfyi/arrayvec-0.3.5/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/arrayvec-0.3.5/debug/deps -L dependency=/home/cratesfyi/arrayvec-0.3.5/debug/deps --cap-lints allow` .cargo/registry/src/github.com-1ecc6299db9ec823/odds-0.1.2/src/fix.rs:33:26: 33:56 error: the parameter type `T` may not live long enough [E0309] .cargo/registry/src/github.com-1ecc6299db9ec823/odds-0.1.2/src/fix.rs:33 pub struct Fix<'a, T, R>(pub &'a Fn(Fix<T, R>, T) -> R); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/odds-0.1.2/src/fix.rs:33:26: 33:56 help: run `rustc --explain E0309` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/odds-0.1.2/src/fix.rs:33:26: 33:56 help: consider adding an explicit lifetime bound `T: 'a`... .cargo/registry/src/github.com-1ecc6299db9ec823/odds-0.1.2/src/fix.rs:33:26: 33:56 note: ...so that the reference type `&'a for<'r> std::ops::Fn(fix::Fix<'r, T, R>, T) -> R + 'a` does not outlive the data it points at .cargo/registry/src/github.com-1ecc6299db9ec823/odds-0.1.2/src/fix.rs:33 pub struct Fix<'a, T, R>(pub &'a Fn(Fix<T, R>, T) -> R); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/odds-0.1.2/src/fix.rs:33:26: 33:56 error: the parameter type `R` may not live long enough [E0309] .cargo/registry/src/github.com-1ecc6299db9ec823/odds-0.1.2/src/fix.rs:33 pub struct Fix<'a, T, R>(pub &'a Fn(Fix<T, R>, T) -> R); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/odds-0.1.2/src/fix.rs:33:26: 33:56 help: run `rustc --explain E0309` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/odds-0.1.2/src/fix.rs:33:26: 33:56 help: consider adding an explicit lifetime bound `R: 'a`... .cargo/registry/src/github.com-1ecc6299db9ec823/odds-0.1.2/src/fix.rs:33:26: 33:56 note: ...so that the reference type `&'a for<'r> std::ops::Fn(fix::Fix<'r, T, R>, T) -> R + 'a` does not outlive the data it points at .cargo/registry/src/github.com-1ecc6299db9ec823/odds-0.1.2/src/fix.rs:33 pub struct Fix<'a, T, R>(pub &'a Fn(Fix<T, R>, T) -> R); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/odds-0.1.2/src/fix.rs:33:26: 33:56 error: the parameter type `T` may not live long enough [E0309] .cargo/registry/src/github.com-1ecc6299db9ec823/odds-0.1.2/src/fix.rs:33 pub struct Fix<'a, T, R>(pub &'a Fn(Fix<T, R>, T) -> R); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/odds-0.1.2/src/fix.rs:33:26: 33:56 help: run `rustc --explain E0309` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/odds-0.1.2/src/fix.rs:33:26: 33:56 help: consider adding an explicit lifetime bound `T: 'a`... .cargo/registry/src/github.com-1ecc6299db9ec823/odds-0.1.2/src/fix.rs:33:26: 33:56 note: ...so that the reference type `&'a for<'r> std::ops::Fn(fix::Fix<'r, T, R>, T) -> R + 'a` does not outlive the data it points at .cargo/registry/src/github.com-1ecc6299db9ec823/odds-0.1.2/src/fix.rs:33 pub struct Fix<'a, T, R>(pub &'a Fn(Fix<T, R>, T) -> R); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/odds-0.1.2/src/fix.rs:33:26: 33:56 error: the parameter type `R` may not live long enough [E0309] .cargo/registry/src/github.com-1ecc6299db9ec823/odds-0.1.2/src/fix.rs:33 pub struct Fix<'a, T, R>(pub &'a Fn(Fix<T, R>, T) -> R); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/odds-0.1.2/src/fix.rs:33:26: 33:56 help: run `rustc --explain E0309` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/odds-0.1.2/src/fix.rs:33:26: 33:56 help: consider adding an explicit lifetime bound `R: 'a`... .cargo/registry/src/github.com-1ecc6299db9ec823/odds-0.1.2/src/fix.rs:33:26: 33:56 note: ...so that the reference type `&'a for<'r> std::ops::Fn(fix::Fix<'r, T, R>, T) -> R + 'a` does not outlive the data it points at .cargo/registry/src/github.com-1ecc6299db9ec823/odds-0.1.2/src/fix.rs:33 pub struct Fix<'a, T, R>(pub &'a Fn(Fix<T, R>, T) -> R); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: aborting due to 4 previous errors thread 'main' panicked at 'ChainedError { error: failed to compile `arrayvec v0.3.5`, intermediate artifacts can be found at `/home/cratesfyi/arrayvec-0.3.5`, cause: ChainedError { error: Could not compile `odds`., cause: Process didn't exit successfully: `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/odds-0.1.2/src/lib.rs --crate-name odds --crate-type lib -g -C metadata=26a33b073213ebd9 -C extra-filename=-26a33b073213ebd9 --out-dir /home/cratesfyi/arrayvec-0.3.5/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/arrayvec-0.3.5/debug/deps -L dependency=/home/cratesfyi/arrayvec-0.3.5/debug/deps --cap-lints allow` (exit code: 101) } }', src/bin/cratesfyi.rs:119 note: Run with `RUST_BACKTRACE=1` for a backtrace.