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 unix_socket 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=\"default\" --cfg feature=\"cargo-build\" -C metadata=0c57a2126eb1e7e8 -C extra-filename=-0c57a2126eb1e7e8 --out-dir /home/cratesfyi/unix_socket-0.1.0/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/unix_socket-0.1.0/debug/deps -L dependency=/home/cratesfyi/unix_socket-0.1.0/debug/deps --cap-lints allow`
Documenting unix_socket v0.1.0
Running `rustdoc .cargo/registry/src/github.com-1ecc6299db9ec823/unix_socket-0.1.0/src/lib.rs --crate-name unix_socket -o /home/cratesfyi/unix_socket-0.1.0/doc -L dependency=/home/cratesfyi/unix_socket-0.1.0/debug -L dependency=/home/cratesfyi/unix_socket-0.1.0/debug/deps --extern libc=/home/cratesfyi/unix_socket-0.1.0/debug/deps/liblibc-0c57a2126eb1e7e8.rlib`
.cargo/registry/src/github.com-1ecc6299db9ec823/unix_socket-0.1.0/src/lib.rs:10:5: 10:22 error: unresolved import `std::ffi::AsOsStr`. There is no `AsOsStr` in `std::ffi`. Did you mean to use `OsStr`? [E0432]
.cargo/registry/src/github.com-1ecc6299db9ec823/unix_socket-0.1.0/src/lib.rs:10 use std::ffi::AsOsStr;
^~~~~~~~~~~~~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/unix_socket-0.1.0/src/lib.rs:14:5: 14:18 error: unresolved import `std::num::Int`. There is no `Int` in `std::num` [E0432]
.cargo/registry/src/github.com-1ecc6299db9ec823/unix_socket-0.1.0/src/lib.rs:14 use std::num::Int;
^~~~~~~~~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/unix_socket-0.1.0/src/lib.rs:15:21: 15:23 error: unresolved import `std::os::unix::Fd`. There is no `Fd` in `std::os::unix` [E0432]
.cargo/registry/src/github.com-1ecc6299db9ec823/unix_socket-0.1.0/src/lib.rs:15 use std::os::unix::{Fd, OsStrExt, AsRawFd};
^~
.cargo/registry/src/github.com-1ecc6299db9ec823/unix_socket-0.1.0/src/lib.rs:15:25: 15:33 error: unresolved import `std::os::unix::OsStrExt`. There is no `OsStrExt` in `std::os::unix` [E0432]
.cargo/registry/src/github.com-1ecc6299db9ec823/unix_socket-0.1.0/src/lib.rs:15 use std::os::unix::{Fd, OsStrExt, AsRawFd};
^~~~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/unix_socket-0.1.0/src/lib.rs:15:35: 15:42 error: unresolved import `std::os::unix::AsRawFd`. There is no `AsRawFd` in `std::os::unix` [E0432]
.cargo/registry/src/github.com-1ecc6299db9ec823/unix_socket-0.1.0/src/lib.rs:15 use std::os::unix::{Fd, OsStrExt, AsRawFd};
^~~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/unix_socket-0.1.0/src/lib.rs:16:5: 16:22 error: unresolved import `std::path::AsPath`. There is no `AsPath` in `std::path`. Did you mean to use `Path`? [E0432]
.cargo/registry/src/github.com-1ecc6299db9ec823/unix_socket-0.1.0/src/lib.rs:16 use std::path::AsPath;
^~~~~~~~~~~~~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/unix_socket-0.1.0/src/lib.rs:40:26: 40:32 error: `AsPath` is not a trait [E0404]
.cargo/registry/src/github.com-1ecc6299db9ec823/unix_socket-0.1.0/src/lib.rs:40 unsafe fn sockaddr_un<P: AsPath + ?Sized>(path: &P) -> io::Result<libc::sockaddr_un> {
^~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/unix_socket-0.1.0/src/lib.rs:65:23: 65:29 error: `AsPath` is not a trait [E0404]
.cargo/registry/src/github.com-1ecc6299db9ec823/unix_socket-0.1.0/src/lib.rs:65 pub fn connect<P: AsPath + ?Sized>(path: &P) -> io::Result<UnixStream> {
^~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/unix_socket-0.1.0/src/lib.rs:85:31: 85:46 error: `Int` is not a trait [E0404]
.cargo/registry/src/github.com-1ecc6299db9ec823/unix_socket-0.1.0/src/lib.rs:85 cmp::min(<libc::size_t as Int>::max_value() as usize, buf.len()) as libc::size_t
^~~~~~~~~~~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/unix_socket-0.1.0/src/lib.rs:85:31: 85:46 error: failed to resolve. Use of undeclared type or module `Int` [E0433]
.cargo/registry/src/github.com-1ecc6299db9ec823/unix_socket-0.1.0/src/lib.rs:85 cmp::min(<libc::size_t as Int>::max_value() as usize, buf.len()) as libc::size_t
^~~~~~~~~~~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/unix_socket-0.1.0/src/lib.rs:120:6: 120:13 error: `AsRawFd` is not a trait [E0404]
.cargo/registry/src/github.com-1ecc6299db9ec823/unix_socket-0.1.0/src/lib.rs:120 impl AsRawFd for UnixStream {
^~~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/unix_socket-0.1.0/src/lib.rs:133:20: 133:26 error: `AsPath` is not a trait [E0404]
.cargo/registry/src/github.com-1ecc6299db9ec823/unix_socket-0.1.0/src/lib.rs:133 pub fn bind<P: AsPath + ?Sized>(path: &P) -> io::Result<UnixListener> {
^~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/unix_socket-0.1.0/src/lib.rs:180:6: 180:13 error: `AsRawFd` is not a trait [E0404]
.cargo/registry/src/github.com-1ecc6299db9ec823/unix_socket-0.1.0/src/lib.rs:180 impl AsRawFd for UnixListener {
^~~~~~~
error: cannot continue compilation due to previous error
thread 'main' panicked at 'ChainedError {
error: failed to compile `unix_socket v0.1.0`, intermediate artifacts can be found at `/home/cratesfyi/unix_socket-0.1.0`,
cause: ChainedError {
error: Could not document `unix_socket`.,
cause: Process didn't exit successfully: `rustdoc .cargo/registry/src/github.com-1ecc6299db9ec823/unix_socket-0.1.0/src/lib.rs --crate-name unix_socket -o /home/cratesfyi/unix_socket-0.1.0/doc -L dependency=/home/cratesfyi/unix_socket-0.1.0/debug -L dependency=/home/cratesfyi/unix_socket-0.1.0/debug/deps --extern libc=/home/cratesfyi/unix_socket-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.