[go: up one dir, main page]

Build #16858 2016-08-12 16:26:29

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
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading net2 v0.1.0
Compiling libc v0.1.12
Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.1.12/rust/src/liblibc/lib.rs --crate-name libc --crate-type lib -g --cfg feature=\"cargo-build\" --cfg feature=\"default\" -C metadata=0c57a2126eb1e7e8 -C extra-filename=-0c57a2126eb1e7e8 --out-dir /home/cratesfyi/net2-0.1.0/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/net2-0.1.0/debug/deps -L dependency=/home/cratesfyi/net2-0.1.0/debug/deps --cap-lints allow`
Documenting net2 v0.1.0
Running `rustdoc .cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.1.0/src/lib.rs --crate-name net2 -o /home/cratesfyi/net2-0.1.0/doc -L dependency=/home/cratesfyi/net2-0.1.0/debug -L dependency=/home/cratesfyi/net2-0.1.0/debug/deps --extern libc=/home/cratesfyi/net2-0.1.0/debug/deps/liblibc-0c57a2126eb1e7e8.rlib`
.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.1.0/src/ext.rs:165:29: 165:33 error: no method named `secs` found for type `std::time::Duration` in the current scope 
.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.1.0/src/ext.rs:165                         dur.secs() as c_int));
^~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.1.0/src/ext.rs:164:13: 165:47 note: in this expansion of try! (defined in <std macros>)
.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.1.0/src/ext.rs:165:29: 165:33 note: did you mean to write `dur.secs`? 
.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.1.0/src/ext.rs:165                         dur.secs() as c_int));
^~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.1.0/src/ext.rs:164:13: 165:47 note: in this expansion of try! (defined in <std macros>)
.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.1.0/src/ext.rs:272:46: 272:50 error: no method named `secs` found for type `std::time::Duration` in the current scope 
.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.1.0/src/ext.rs:272         Some(d) => libc::timeval { tv_sec: d.secs() as libc::time_t, tv_usec: 0 },
^~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.1.0/src/ext.rs:272:46: 272:50 note: did you mean to write `d.secs`? 
.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.1.0/src/ext.rs:272         Some(d) => libc::timeval { tv_sec: d.secs() as libc::time_t, tv_usec: 0 },
^~~~
error: Compilation failed, aborting rustdoc 
thread 'main' panicked at 'ChainedError {
error: failed to compile `net2 v0.1.0`, intermediate artifacts can be found at `/home/cratesfyi/net2-0.1.0`,
cause: ChainedError {
error: Could not document `net2`.,
cause: Process didn't exit successfully: `rustdoc .cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.1.0/src/lib.rs --crate-name net2 -o /home/cratesfyi/net2-0.1.0/doc -L dependency=/home/cratesfyi/net2-0.1.0/debug -L dependency=/home/cratesfyi/net2-0.1.0/debug/deps --extern libc=/home/cratesfyi/net2-0.1.0/debug/deps/liblibc-0c57a2126eb1e7e8.rlib` (exit code: 101)
}
}', src/bin/cratesfyi.rs:119
note: Run with `RUST_BACKTRACE=1` for a backtrace.