tls 0.0.3

Bindings for libressl's libtls
Build #90253 2018-03-06 02:26:27

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 tls v0.0.3 Documenting tls v0.0.3 Running `rustdoc --crate-name tls .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/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` error[E0432]: unresolved import `std::io::TcpListener` --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/lib.rs:4:15 | 4 | use std::io::{TcpListener, TcpStream}; | ^^^^^^^^^^^ no `TcpListener` in `io` error[E0432]: unresolved import `std::io::TcpStream` --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/lib.rs:4:28 | 4 | use std::io::{TcpListener, TcpStream}; | ^^^^^^^^^ no `TcpStream` in `io` error[E0432]: unresolved import `std::io::Acceptor` --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/lib.rs:5:15 | 5 | use std::io::{Acceptor, Listener}; | ^^^^^^^^ no `Acceptor` in `io` error[E0432]: unresolved import `std::io::Listener` --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/lib.rs:5:25 | 5 | use std::io::{Acceptor, Listener}; | ^^^^^^^^ no `Listener` in `io` error[E0432]: unresolved import `std::c_str` --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/tls.rs:8:10 | 8 | use std::c_str::ToCStr; | ^^^^^ Could not find `c_str` in `std` error[E0432]: unresolved import `std::io::IoResult` --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/tls.rs:11:15 | 11 | use std::io::{IoResult,IoError,IoErrorKind}; | ^^^^^^^^ no `IoResult` in `io`. Did you mean to use `Result`? error[E0432]: unresolved import `std::io::IoError` --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/tls.rs:11:24 | 11 | use std::io::{IoResult,IoError,IoErrorKind}; | ^^^^^^^ no `IoError` in `io`. Did you mean to use `Error`? error[E0432]: unresolved import `std::io::IoErrorKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/tls.rs:11:32 | 11 | use std::io::{IoResult,IoError,IoErrorKind}; | ^^^^^^^^^^^ no `IoErrorKind` in `io`. Did you mean to use `ErrorKind`? error[E0405]: cannot find trait `Reader` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/tls.rs:253:6 | 253 | impl Reader for TLS { | ^^^^^^ not found in this scope error[E0412]: cannot find type `uint` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/tls.rs:254:49 | 254 | fn read(&mut self, buf: &mut [u8]) -> IoResult<uint> { | ^^^^ not found in this scope error[E0405]: cannot find trait `Writer` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/tls.rs:282:6 | 282 | impl Writer for TLS { | ^^^^^^ not found in this scope error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:1:1 | 1 | extern crate libc; | ^^^^^^^^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:10:23 | 10 | pub fn tls_init() -> libc::c_int; | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:20:44 | 20 | pub fn tls_error(ctx: *mut tls) -> *const libc::c_char; | ^^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:50:73 | 50 | pub fn tls_config_set_ca_file(config: *mut tls_config, ca_file: *const libc::c_char) -> libc::c_int; | ^^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:50:90 | 50 | pub fn tls_config_set_ca_file(config: *mut tls_config, ca_file: *const libc::c_char) -> libc::c_int; | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:61:73 | 61 | pub fn tls_config_set_ca_path(config: *mut tls_config, ca_path: *const libc::c_char) -> libc::c_int; | ^^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:61:90 | 61 | pub fn tls_config_set_ca_path(config: *mut tls_config, ca_path: *const libc::c_char) -> libc::c_int; | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:72:77 | 72 | pub fn tls_config_set_cert_file(config: *mut tls_config, cert_file: *const libc::c_char) -> libc::c_int; | ^^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:72:94 | 72 | pub fn tls_config_set_cert_file(config: *mut tls_config, cert_file: *const libc::c_char) -> libc::c_int; | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:84:71 | 84 | pub fn tls_config_set_cert_mem(config: *mut tls_config, cert: *const libc::c_int, len: libc::c_int) -> libc::c_int; | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:84:89 | 84 | pub fn tls_config_set_cert_mem(config: *mut tls_config, cert: *const libc::c_int, len: libc::c_int) -> libc::c_int; | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:84:105 | 84 | pub fn tls_config_set_cert_mem(config: *mut tls_config, cert: *const libc::c_int, len: libc::c_int) -> libc::c_int; | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:95:73 | 95 | pub fn tls_config_set_ciphers(config: *mut tls_config, ciphers: *const libc::c_char) -> libc::c_int; | ^^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:95:90 | 95 | pub fn tls_config_set_ciphers(config: *mut tls_config, ciphers: *const libc::c_char) -> libc::c_int; | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:106:72 | 106 | pub fn tls_config_set_ecdhcurve(config: *mut tls_config, name: *const libc::c_char) -> libc::c_int; | ^^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:106:89 | 106 | pub fn tls_config_set_ecdhcurve(config: *mut tls_config, name: *const libc::c_char) -> libc::c_int; | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:117:75 | 117 | pub fn tls_config_set_key_file(config: *mut tls_config, key_file: *const libc::c_char) -> libc::c_int; | ^^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:117:92 | 117 | pub fn tls_config_set_key_file(config: *mut tls_config, key_file: *const libc::c_char) -> libc::c_int; | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:129:69 | 129 | pub fn tls_config_set_key_mem(config: *mut tls_config, key: *const libc::c_int, len: libc::c_int) -> libc::c_int; | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:129:87 | 129 | pub fn tls_config_set_key_mem(config: *mut tls_config, key: *const libc::c_int, len: libc::c_int) -> libc::c_int; | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:129:103 | 129 | pub fn tls_config_set_key_mem(config: *mut tls_config, key: *const libc::c_int, len: libc::c_int) -> libc::c_int; | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:140:70 | 140 | pub fn tls_config_set_protocols(config: *mut tls_config, protocols: libc::c_int); | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:151:76 | 151 | pub fn tls_config_set_verify_depth(config: *mut tls_config, verify_depth: libc::c_int); | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:220:66 | 220 | pub fn tls_configure(ctx: *mut tls, config: *mut tls_config) -> libc::c_int; | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:252:71 | 252 | pub fn tls_accept_socket(ctx: *mut tls, cctx: *mut *mut tls, socket: libc::c_int) -> libc::c_int; | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:252:87 | 252 | pub fn tls_accept_socket(ctx: *mut tls, cctx: *mut *mut tls, socket: libc::c_int) -> libc::c_int; | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:264:49 | 264 | pub fn tls_connect(ctx: *mut tls, host: *const libc::c_char, port: *const libc::c_char) -> libc::c_int; | ^^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:264:76 | 264 | pub fn tls_connect(ctx: *mut tls, host: *const libc::c_char, port: *const libc::c_char) -> libc::c_int; | ^^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:264:93 | 264 | pub fn tls_connect(ctx: *mut tls, host: *const libc::c_char, port: *const libc::c_char) -> libc::c_int; | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:277:49 | 277 | pub fn tls_connect_fds(ctx: *mut tls, fd_read: libc::c_int, fd_write: libc::c_int, hostname: *const libc::c_char) -> libc::c_int; | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:277:72 | 277 | pub fn tls_connect_fds(ctx: *mut tls, fd_read: libc::c_int, fd_write: libc::c_int, hostname: *const libc::c_char) -> libc::c_int; | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:277:102 | 277 | pub fn tls_connect_fds(ctx: *mut tls, fd_read: libc::c_int, fd_write: libc::c_int, hostname: *const libc::c_char) -> libc::c_int; | ^^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:277:119 | 277 | pub fn tls_connect_fds(ctx: *mut tls, fd_read: libc::c_int, fd_write: libc::c_int, hostname: *const libc::c_char) -> libc::c_int; | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:289:46 | 289 | pub fn tls_connect_socket(ctx: *mut tls, s: libc::c_int, hostname: *const libc::c_char) -> libc::c_int; | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:289:76 | 289 | pub fn tls_connect_socket(ctx: *mut tls, s: libc::c_int, hostname: *const libc::c_char) -> libc::c_int; | ^^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:289:93 | 289 | pub fn tls_connect_socket(ctx: *mut tls, s: libc::c_int, hostname: *const libc::c_char) -> libc::c_int; | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:302:43 | 302 | pub fn tls_read(ctx: *mut tls, buf: *mut libc::c_void, buflen: libc::c_int, outlen: *mut libc::size_t) -> libc::c_int; | ^^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:302:65 | 302 | pub fn tls_read(ctx: *mut tls, buf: *mut libc::c_void, buflen: libc::c_int, outlen: *mut libc::size_t) -> libc::c_int; | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:302:91 | 302 | pub fn tls_read(ctx: *mut tls, buf: *mut libc::c_void, buflen: libc::c_int, outlen: *mut libc::size_t) -> libc::c_int; | ^^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:302:108 | 302 | pub fn tls_read(ctx: *mut tls, buf: *mut libc::c_void, buflen: libc::c_int, outlen: *mut libc::size_t) -> libc::c_int; | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:315:46 | 315 | pub fn tls_write(ctx: *mut tls, buf: *const libc::c_void, buflen: libc::c_int, outlen: *mut libc::size_t) -> libc::c_int; | ^^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:315:68 | 315 | pub fn tls_write(ctx: *mut tls, buf: *const libc::c_void, buflen: libc::c_int, outlen: *mut libc::size_t) -> libc::c_int; | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:315:94 | 315 | pub fn tls_write(ctx: *mut tls, buf: *const libc::c_void, buflen: libc::c_int, outlen: *mut libc::size_t) -> libc::c_int; | ^^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:315:111 | 315 | pub fn tls_write(ctx: *mut tls, buf: *const libc::c_void, buflen: libc::c_int, outlen: *mut libc::size_t) -> libc::c_int; | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/bindings.rs:325:37 | 325 | pub fn tls_close(ctx: *mut tls) -> libc::c_int; | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/tls.rs:3:1 | 3 | extern crate libc; | ^^^^^^^^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/tls.rs:69:42 | 69 | pub fn set_cert_mem(&self, cert: *const libc::c_int, len: libc::c_int) | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/tls.rs:69:60 | 69 | pub fn set_cert_mem(&self, cert: *const libc::c_int, len: libc::c_int) | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/tls.rs:97:40 | 97 | pub fn set_key_mem(&self, key: *const libc::c_int, len: libc::c_int) | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/tls.rs:97:58 | 97 | pub fn set_key_mem(&self, key: *const libc::c_int, len: libc::c_int) | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/tls.rs:113:41 | 113 | pub fn set_protocols(&self, protocols: libc::c_int) { | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/tls.rs:118:47 | 118 | pub fn set_verify_depth(&self, verify_depth: libc::c_int) { | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/tls.rs:191:38 | 191 | pub fn accept_socket(&self, socket: libc::c_int) -> Result<TLS,&'static str> { | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/tls.rs:217:37 | 217 | pub fn connect_fds(&self, fd_read: libc::c_int, fd_write: libc::c_int, hostname: &str) | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/tls.rs:217:60 | 217 | pub fn connect_fds(&self, fd_read: libc::c_int, fd_write: libc::c_int, hostname: &str) | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783) --> .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/src/tls.rs:231:37 | 231 | pub fn connect_socket(&self, sock: libc::c_int, hostname: &str) -> Result<(), &'static str> { | ^^^^^^^^^^^ | = help: add #![feature(libc)] to the crate attributes to enable error: cannot continue compilation due to previous error You've got a few errors: E0405, E0412, E0432, E0658 If you want more information on an error, try using "rustc --explain E0405" thread 'main' panicked at 'Error( CargoError( ChainedError { error: Could not document `tls`., cause: process didn't exit successfully: `rustdoc --crate-name tls .cargo/registry/src/github.com-1ecc6299db9ec823/tls-0.0.3/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` (exit code: 101) } ), State { next_error: None, backtrace: None } )', src/bin/cratesfyi.rs:142:13 note: Run with `RUST_BACKTRACE=1` for a backtrace.