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.26.0-dev (5c1d29af0 2018-03-03)# docs.rs version
cratesfyi 0.5.0 (579f83b 2018-03-05)# build log
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading connected_socket v0.0.6
Fresh libc v0.2.39
Fresh byteorder v0.3.13
Fresh time v0.1.39
Documenting connected_socket v0.0.6
Running `rustdoc --crate-name connected_socket .cargo/registry/src/github.com-1ecc6299db9ec823/connected_socket-0.0.6/src/lib.rs -o /home/cratesfyi/cratesfyi/doc -Z unstable-options --resource-suffix -20180303-1.26.0-dev-5c1d29af0 -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern time=/home/cratesfyi/cratesfyi/debug/deps/libtime-4c6165ce5ca72e17.rlib --extern-version time=time,0.1.39 --extern byteorder=/home/cratesfyi/cratesfyi/debug/deps/libbyteorder-b3164db7b79754a4.rlib --extern-version byteorder=byteorder,0.3.13 --extern libc=/home/cratesfyi/cratesfyi/debug/deps/liblibc-f854cf2dcfbf787e.rlib --extern-version libc=libc,0.2.39`
error[E0433]: failed to resolve. Could not find `funcs` in `libc`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/connected_socket-0.0.6/src/lib.rs:5:11
|
5 | use libc::funcs::bsd43::connect;
| ^^^^^ Could not find `funcs` in `libc`
error[E0433]: failed to resolve. Could not find `types` in `libc`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/connected_socket-0.0.6/src/lib.rs:18:11
|
18 | use libc::types::os::common::bsd44::socklen_t;
| ^^^^^ Could not find `types` in `libc`
error[E0433]: failed to resolve. Could not find `types` in `libc`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/connected_socket-0.0.6/src/lib.rs:19:11
|
19 | use libc::types::os::common::bsd44::sockaddr_in;
| ^^^^^ Could not find `types` in `libc`
error[E0433]: failed to resolve. Could not find `types` in `libc`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/connected_socket-0.0.6/src/lib.rs:20:11
|
20 | use libc::types::os::common::bsd44::sockaddr_in6;
| ^^^^^ Could not find `types` in `libc`
error[E0433]: failed to resolve. Could not find `types` in `libc`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/connected_socket-0.0.6/src/lib.rs:21:11
|
21 | use libc::types::os::common::bsd44::in_addr;
| ^^^^^ Could not find `types` in `libc`
error[E0433]: failed to resolve. Could not find `types` in `libc`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/connected_socket-0.0.6/src/lib.rs:22:11
|
22 | use libc::types::os::common::bsd44::in6_addr;
| ^^^^^ Could not find `types` in `libc`
error[E0433]: failed to resolve. Could not find `types` in `libc`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/connected_socket-0.0.6/src/lib.rs:23:11
|
23 | use libc::types::os::common::bsd44::sa_family_t;
| ^^^^^ Could not find `types` in `libc`
error[E0433]: failed to resolve. Could not find `types` in `libc`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/connected_socket-0.0.6/src/lib.rs:24:11
|
24 | use libc::types::os::common::posix01::timeval;
| ^^^^^ Could not find `types` in `libc`
error[E0433]: failed to resolve. Could not find `funcs` in `libc`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/connected_socket-0.0.6/src/lib.rs:25:11
|
25 | use libc::funcs::bsd43::setsockopt;
| ^^^^^ Could not find `funcs` in `libc`
error[E0433]: failed to resolve. Could not find `consts` in `libc`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/connected_socket-0.0.6/src/lib.rs:26:11
|
26 | use libc::consts::os::bsd44::SOL_SOCKET;
| ^^^^^^ Could not find `consts` in `libc`
error[E0433]: failed to resolve. Could not find `consts` in `libc`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/connected_socket-0.0.6/src/lib.rs:27:11
|
27 | use libc::consts::os::bsd44::AF_INET;
| ^^^^^^ Could not find `consts` in `libc`
error[E0433]: failed to resolve. Could not find `consts` in `libc`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/connected_socket-0.0.6/src/lib.rs:28:11
|
28 | use libc::consts::os::bsd44::AF_INET6;
| ^^^^^^ Could not find `consts` in `libc`
error[E0433]: failed to resolve. Could not find `types` in `libc`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/connected_socket-0.0.6/src/lib.rs:29:11
|
29 | use libc::types::os::arch::c95::c_int;
| ^^^^^ Could not find `types` in `libc`
error[E0433]: failed to resolve. Could not find `types` in `libc`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/connected_socket-0.0.6/src/lib.rs:30:11
|
30 | use libc::types::os::arch::c95::c_char;
| ^^^^^ Could not find `types` in `libc`
error[E0433]: failed to resolve. Could not find `types` in `libc`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/connected_socket-0.0.6/src/lib.rs:31:11
|
31 | use libc::types::common::c95::c_void;
| ^^^^^ Could not find `types` in `libc`
error[E0433]: failed to resolve. Could not find `funcs` in `libc`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/connected_socket-0.0.6/src/lib.rs:32:11
|
32 | use libc::funcs::bsd43::send;
| ^^^^^ Could not find `funcs` in `libc`
error[E0433]: failed to resolve. Could not find `funcs` in `libc`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/connected_socket-0.0.6/src/lib.rs:33:11
|
33 | use libc::funcs::bsd43::recv;
| ^^^^^ Could not find `funcs` in `libc`
error[E0412]: cannot find type `c_int` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/connected_socket-0.0.6/src/lib.rs:38:19
|
38 | const SO_RCVTIMEO:c_int = 20;
| ^^^^^ not found in this scope
help: possible candidates are found in other modules, you can import them into scope
|
5 | use libc::c_int;
|
5 | use std::os::raw::c_int;
|
error[E0412]: cannot find type `c_int` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/connected_socket-0.0.6/src/lib.rs:41:23
|
41 | fn inet_pton(family: c_int, src: *const c_char, dst: *mut c_void) -> c_int;
| ^^^^^ not found in this scope
help: possible candidates are found in other modules, you can import them into scope
|
5 | use libc::c_int;
|
5 | use std::os::raw::c_int;
|
error[E0412]: cannot find type `c_char` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/connected_socket-0.0.6/src/lib.rs:41:42
|
41 | fn inet_pton(family: c_int, src: *const c_char, dst: *mut c_void) -> c_int;
| ^^^^^^ did you mean `char`?
help: possible candidates are found in other modules, you can import them into scope
|
5 | use libc::c_char;
|
5 | use std::os::raw::c_char;
|
error[E0412]: cannot find type `c_void` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/connected_socket-0.0.6/src/lib.rs:41:60
|
41 | fn inet_pton(family: c_int, src: *const c_char, dst: *mut c_void) -> c_int;
| ^^^^^^ not found in this scope
help: possible candidates are found in other modules, you can import them into scope
|
5 | use libc::c_void;
|
5 | use std::os::raw::c_void;
|
error[E0412]: cannot find type `c_int` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/connected_socket-0.0.6/src/lib.rs:41:71
|
41 | fn inet_pton(family: c_int, src: *const c_char, dst: *mut c_void) -> c_int;
| ^^^^^ not found in this scope
help: possible candidates are found in other modules, you can import them into scope
|
5 | use libc::c_int;
|
5 | use std::os::raw::c_int;
|
error[E0412]: cannot find type `sockaddr_in` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/connected_socket-0.0.6/src/lib.rs:76:5
|
76 | V4(sockaddr_in),
| ^^^^^^^^^^^ did you mean `SockaddrIn`?
help: possible candidate is found in another module, you can import it into scope
|
5 | use libc::sockaddr_in;
|
error[E0412]: cannot find type `sockaddr_in6` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/connected_socket-0.0.6/src/lib.rs:77:5
|
77 | V6(sockaddr_in6),
| ^^^^^^^^^^^^ did you mean `SockaddrIn`?
help: possible candidate is found in another module, you can import it into scope
|
5 | use libc::sockaddr_in6;
|
error[E0412]: cannot find type `sockaddr_in` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/connected_socket-0.0.6/src/lib.rs:82:25
|
82 | fn new_sockaddr_in() -> sockaddr_in {
| ^^^^^^^^^^^ did you mean `SockaddrIn`?
help: possible candidate is found in another module, you can import it into scope
|
5 | use libc::sockaddr_in;
|
error[E0412]: cannot find type `sockaddr_in6` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/connected_socket-0.0.6/src/lib.rs:109:26
|
109 | fn new_sockaddr_in6() -> sockaddr_in6 {
| ^^^^^^^^^^^^ did you mean `SockaddrIn`?
help: possible candidate is found in another module, you can import it into scope
|
5 | use libc::sockaddr_in6;
|
error[E0277]: the trait bound `Self: std::marker::Sized` is not satisfied in `ConnectedSocket<Self>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/connected_socket-0.0.6/src/lib.rs:186:2
|
186 | fn connect<A: ToSocketAddrs + ?Sized>(self, addr: &A) -> Result<ConnectedSocket<Self>,Error>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Self` does not have a constant size known at compile-time
|
= help: within `ConnectedSocket<Self>`, the trait `std::marker::Sized` is not implemented for `Self`
= help: consider adding a `where Self: std::marker::Sized` bound
= note: required because it appears within the type `ConnectedSocket<Self>`
= note: required by `std::result::Result`
error: Compilation failed, aborting rustdoc
You've got a few errors: E0277, E0412, E0433
If you want more information on an error, try using "rustc --explain E0277"
thread 'main' panicked at 'Error(
CargoError(
ChainedError {
error: Could not document `connected_socket`.,
cause: process didn't exit successfully: `rustdoc --crate-name connected_socket .cargo/registry/src/github.com-1ecc6299db9ec823/connected_socket-0.0.6/src/lib.rs -o /home/cratesfyi/cratesfyi/doc -Z unstable-options --resource-suffix -20180303-1.26.0-dev-5c1d29af0 -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern time=/home/cratesfyi/cratesfyi/debug/deps/libtime-4c6165ce5ca72e17.rlib --extern-version time=time,0.1.39 --extern byteorder=/home/cratesfyi/cratesfyi/debug/deps/libbyteorder-b3164db7b79754a4.rlib --extern-version byteorder=byteorder,0.3.13 --extern libc=/home/cratesfyi/cratesfyi/debug/deps/liblibc-f854cf2dcfbf787e.rlib --extern-version libc=libc,0.2.39` (exit code: 101)
}
),
State {
next_error: None,
backtrace: None
}
)', src/bin/cratesfyi.rs:142:13
note: Run with `RUST_BACKTRACE=1` for a backtrace.