sha1 0.0.5

Minimal implementation of SHA1 for Rust.
Build #2500 2016-08-01T10:07:24.819730+00:00
# rustc version
rustc 1.12.0-nightly (54c0dcfd6 2016-07-28)
# docs.rs version
cratesfyi 0.2.0 (5dbd676 2016-07-30)

# build log
thread 'rustc' panicked at 'phase_2_configure_and_expand aborted in rustdoc!: 1', ../src/libcore/result.rs:788
note: Run with `RUST_BACKTRACE=1` for a backtrace.

Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading sha1 v0.0.5
Documenting sha1 v0.0.5
Running `rustdoc .cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.0.5/src/lib.rs --crate-name sha1 -o /home/cratesfyi/sha1-0.0.5/doc -L dependency=/home/cratesfyi/sha1-0.0.5/debug -L dependency=/home/cratesfyi/sha1-0.0.5/debug/deps`
.cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.0.5/src/lib.rs:38:42: 38:43 error: expected expression, found `]` 
.cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.0.5/src/lib.rs:38         s.push_str(format!("{:02x}", *b)[]);
^
.cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.0.5/src/lib.rs:38:42: 38:43 error: expected one of `.`, `;`, `<`, `?`, `break`, `continue`, `false`, `for`, `if`, `loop`, `match`, `move`, `return`, `true`, `unsafe`, `while`, `}`, or an operator, found `]` 
.cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.0.5/src/lib.rs:38         s.push_str(format!("{:02x}", *b)[]);
^
.cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.0.5/src/lib.rs:73:24: 73:27 error: invalid suffix `u` for numeric literal 
.cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.0.5/src/lib.rs:73         for i in range(16u, 80u) {
^~~
.cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.0.5/src/lib.rs:73:24: 73:27 help: the suffix must be one of the integral types (`u32`, `isize`, etc) 
.cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.0.5/src/lib.rs:73:29: 73:32 error: invalid suffix `u` for numeric literal 
.cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.0.5/src/lib.rs:73         for i in range(16u, 80u) {
^~~
.cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.0.5/src/lib.rs:73:29: 73:32 help: the suffix must be one of the integral types (`u32`, `isize`, etc) 
.cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.0.5/src/lib.rs:84:24: 84:26 error: invalid suffix `u` for numeric literal 
.cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.0.5/src/lib.rs:84         for i in range(0u, 80u) {
^~
.cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.0.5/src/lib.rs:84:24: 84:26 help: the suffix must be one of the integral types (`u32`, `isize`, etc) 
.cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.0.5/src/lib.rs:84:28: 84:31 error: invalid suffix `u` for numeric literal 
.cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.0.5/src/lib.rs:84         for i in range(0u, 80u) {
^~~
.cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.0.5/src/lib.rs:84:28: 84:31 help: the suffix must be one of the integral types (`u32`, `isize`, etc) 
.cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.0.5/src/lib.rs:122:24: 122:25 error: expected expression, found `]` 
.cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.0.5/src/lib.rs:122         for chunk in d[].chunks(64) {
^
.cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.0.5/src/lib.rs:146:27: 146:28 error: expected expression, found `]` 
.cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.0.5/src/lib.rs:146         w.write(self.data[]);
^
.cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.0.5/src/lib.rs:146:27: 146:28 error: expected one of `.`, `;`, `<`, `?`, `break`, `continue`, `false`, `for`, `if`, `loop`, `match`, `move`, `return`, `true`, `unsafe`, `while`, `}`, or an operator, found `]` 
.cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.0.5/src/lib.rs:146         w.write(self.data[]);
^
.cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.0.5/src/lib.rs:166:31: 166:32 error: expected expression, found `]` 
.cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.0.5/src/lib.rs:166         self.output(&mut *buf[]);
^
.cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.0.5/src/lib.rs:166:31: 166:32 error: expected one of `.`, `;`, `<`, `?`, `break`, `continue`, `false`, `for`, `if`, `loop`, `match`, `move`, `return`, `true`, `unsafe`, `while`, `}`, or an operator, found `]` 
.cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.0.5/src/lib.rs:166         self.output(&mut *buf[]);
^
.cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.0.5/src/lib.rs:172:30: 172:31 error: expected expression, found `]` 
.cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.0.5/src/lib.rs:172         to_hex(self.digest()[])
^
.cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.0.5/src/lib.rs:172:30: 172:31 error: expected one of `.`, `;`, `<`, `?`, `break`, `continue`, `false`, `for`, `if`, `loop`, `match`, `move`, `return`, `true`, `unsafe`, `while`, `}`, or an operator, found `]` 
.cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.0.5/src/lib.rs:172         to_hex(self.digest()[])
^
.cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.0.5/src/lib.rs:18:1: 18:17 error: The attribute `experimental` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642) 
.cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.0.5/src/lib.rs:18 #![experimental]
^~~~~~~~~~~~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.0.5/src/lib.rs:18:1: 18:17 help: add #![feature(custom_attribute)] to the crate attributes to enable 
error: internal compiler error: unexpected panic 
note: the compiler unexpectedly panicked. this is a bug. 
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports 
thread 'main' panicked at 'ChainedError {
error: failed to compile `sha1 v0.0.5`, intermediate artifacts can be found at `/home/cratesfyi/sha1-0.0.5`,
cause: ChainedError {
error: Could not document `sha1`.,
cause: Process didn't exit successfully: `rustdoc .cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.0.5/src/lib.rs --crate-name sha1 -o /home/cratesfyi/sha1-0.0.5/doc -L dependency=/home/cratesfyi/sha1-0.0.5/debug -L dependency=/home/cratesfyi/sha1-0.0.5/debug/deps` (exit code: 101)
}
}', src/bin/cratesfyi.rs:119
note: Run with `RUST_BACKTRACE=1` for a backtrace.