futures-tls 0.1.0

An implementation of TLS/SSL streams on top of the `futures_io` crate giving an implementation of TLS for nonblocking I/O streams.
Build #103058 2018-06-06T02:38:46.777478+00:00
# rustc version
rustc 1.28.0-dev (b9bf4f162 2018-06-02)# docs.rs version
cratesfyi 0.5.0 (579f83b 2018-03-05)# build log
Build failed, waiting for other jobs to finish...
Build failed, waiting for other jobs to finish...
Updating registry `https://github.com/rust-lang/crates.io-index`
Fresh cfg-if v0.1.3
Fresh futures v0.1.21
Fresh libc v0.2.42
Fresh pkg-config v0.3.11
Fresh bitflags v0.7.0
Fresh gcc v0.3.54
Fresh lazy_static v0.2.11
Fresh log v0.4.1
Fresh log v0.3.9
Compiling futures-io v0.1.0
Compiling openssl v0.7.14
Fresh openssl-sys v0.7.17
Compiling openssl-sys-extras v0.7.14
Running `rustc --crate-name futures_io .cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.1.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=1c51b9fa68622fec -C extra-filename=-1c51b9fa68622fec --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern log=/home/cratesfyi/cratesfyi/debug/deps/liblog-1e6cb20f8b19266a.rlib --extern-version log=log,0.3.9 --extern futures=/home/cratesfyi/cratesfyi/debug/deps/libfutures-598c411fba99bc6b.rlib --extern-version futures=futures,0.1.21 --cap-lints allow`
Running `/home/cratesfyi/cratesfyi/debug/build/openssl-5643e7fc215043a9/build-script-build`
Running `/home/cratesfyi/cratesfyi/debug/build/openssl-sys-extras-abe14868179e9a5e/build-script-build`
error: failed to run custom build command for `openssl v0.7.14`
process didn't exit successfully: `/home/cratesfyi/cratesfyi/debug/build/openssl-5643e7fc215043a9/build-script-build` (exit code: 101)
--- stdout
TARGET = Some("x86_64-unknown-linux-gnu")
OPT_LEVEL = Some("0")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CC_x86_64-unknown-linux-gnu = None
CC_x86_64_unknown_linux_gnu = None
HOST_CC = None
CC = None
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CFLAGS_x86_64-unknown-linux-gnu = None
CFLAGS_x86_64_unknown_linux_gnu = None
HOST_CFLAGS = None
CFLAGS = None
DEBUG = Some("true")
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-m64" "-Wall" "-Wextra" "-o" "/home/cratesfyi/cratesfyi/debug/build/openssl-56b1b41302837114/out/src/c_helpers.o" "-c" "src/c_helpers.c"
cargo:warning=src/c_helpers.c: In function ‘rust_SSL_clone’:
cargo:warning=src/c_helpers.c:4:5: warning: implicit declaration of function ‘CRYPTO_add’ [-Wimplicit-function-declaration]
cargo:warning=     CRYPTO_add(&ssl->references, 1, CRYPTO_LOCK_SSL);
cargo:warning=     ^~~~~~~~~~
cargo:warning=src/c_helpers.c:4:20: error: dereferencing pointer to incomplete type ‘SSL {aka struct ssl_st}’
cargo:warning=     CRYPTO_add(&ssl->references, 1, CRYPTO_LOCK_SSL);
cargo:warning=                    ^~
cargo:warning=src/c_helpers.c:4:37: error: ‘CRYPTO_LOCK_SSL’ undeclared (first use in this function)
cargo:warning=     CRYPTO_add(&ssl->references, 1, CRYPTO_LOCK_SSL);
cargo:warning=                                     ^~~~~~~~~~~~~~~
cargo:warning=src/c_helpers.c:4:37: note: each undeclared identifier is reported only once for each function it appears in
cargo:warning=src/c_helpers.c: In function ‘rust_SSL_CTX_clone’:
cargo:warning=src/c_helpers.c:8:20: error: dereferencing pointer to incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
cargo:warning=     CRYPTO_add(&ctx->references,1,CRYPTO_LOCK_SSL_CTX);
cargo:warning=                    ^~
cargo:warning=src/c_helpers.c:8:35: error: ‘CRYPTO_LOCK_SSL_CTX’ undeclared (first use in this function)
cargo:warning=     CRYPTO_add(&ctx->references,1,CRYPTO_LOCK_SSL_CTX);
cargo:warning=                                   ^~~~~~~~~~~~~~~~~~~
cargo:warning=src/c_helpers.c: In function ‘rust_X509_clone’:
cargo:warning=src/c_helpers.c:12:21: error: dereferencing pointer to incomplete type ‘X509 {aka struct x509_st}’
cargo:warning=     CRYPTO_add(&x509->references,1,CRYPTO_LOCK_X509);
cargo:warning=                     ^~
cargo:warning=src/c_helpers.c:12:36: error: ‘CRYPTO_LOCK_X509’ undeclared (first use in this function)
cargo:warning=     CRYPTO_add(&x509->references,1,CRYPTO_LOCK_X509);
cargo:warning=                                    ^~~~~~~~~~~~~~~~
exit code: 1

--- stderr
thread 'main' panicked at '

Internal error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-m64" "-Wall" "-Wextra" "-o" "/home/cratesfyi/cratesfyi/debug/build/openssl-56b1b41302837114/out/src/c_helpers.o" "-c" "src/c_helpers.c" with args "cc" did not execute successfully (status code exit code: 1).

', .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.3.54/src/lib.rs:1670:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.

error: failed to run custom build command for `openssl-sys-extras v0.7.14`
process didn't exit successfully: `/home/cratesfyi/cratesfyi/debug/build/openssl-sys-extras-abe14868179e9a5e/build-script-build` (exit code: 101)
--- stdout
TARGET = Some("x86_64-unknown-linux-gnu")
OPT_LEVEL = Some("0")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CC_x86_64-unknown-linux-gnu = None
CC_x86_64_unknown_linux_gnu = None
HOST_CC = None
CC = None
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CFLAGS_x86_64-unknown-linux-gnu = None
CFLAGS_x86_64_unknown_linux_gnu = None
HOST_CFLAGS = None
CFLAGS = None
DEBUG = Some("true")
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-m64" "-Wall" "-Wextra" "-o" "/home/cratesfyi/cratesfyi/debug/build/openssl-sys-extras-e60f1107e2e04baa/out/src/openssl_shim.o" "-c" "src/openssl_shim.c"
cargo:warning=src/openssl_shim.c: In function ‘SSL_CTX_set_ecdh_auto_shim’:
cargo:warning=src/openssl_shim.c:121:41: warning: unused parameter ‘ctx’ [-Wunused-parameter]
cargo:warning= int SSL_CTX_set_ecdh_auto_shim(SSL_CTX *ctx, int onoff) {
cargo:warning=                                         ^~~
cargo:warning=src/openssl_shim.c: In function ‘DH_new_from_params’:
cargo:warning=src/openssl_shim.c:132:7: error: dereferencing pointer to incomplete type ‘DH {aka struct dh_st}’
cargo:warning=     dh->p = p;
cargo:warning=       ^~
cargo:warning=src/openssl_shim.c: In function ‘X509_get_extensions_shim’:
cargo:warning=src/openssl_shim.c:143:13: error: dereferencing pointer to incomplete type ‘X509 {aka struct x509_st}’
cargo:warning=     return x->cert_info ? x->cert_info->extensions : NULL;
cargo:warning=             ^~
cargo:warning=src/openssl_shim.c:144:1: warning: control reaches end of non-void function [-Wreturn-type]
cargo:warning= }
cargo:warning= ^
exit code: 1

--- stderr
thread 'main' panicked at '

Internal error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-m64" "-Wall" "-Wextra" "-o" "/home/cratesfyi/cratesfyi/debug/build/openssl-sys-extras-e60f1107e2e04baa/out/src/openssl_shim.o" "-c" "src/openssl_shim.c" with args "cc" did not execute successfully (status code exit code: 1).

', .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.3.54/src/lib.rs:1670:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.

error[E0432]: unresolved import `futures::Task`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.1.0/src/lib.rs:9:5
|
9 | use futures::Task;
|     ^^^^^^^^^^^^^ no `Task` in the root. Did you mean to use `task`?

error[E0432]: unresolved import `futures::Task`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.1.0/src/impls.rs:3:5
|
3 | use futures::Task;
|     ^^^^^^^^^^^^^ no `Task` in the root. Did you mean to use `task`?

error[E0432]: unresolved import `futures::Task`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.1.0/src/buf_reader.rs:6:21
|
6 | use futures::{Poll, Task};
|                     ^^^^ no `Task` in the root. Did you mean to use `task`?

error[E0432]: unresolved import `futures::Task`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.1.0/src/buf_writer.rs:4:21
|
4 | use futures::{Poll, Task};
|                     ^^^^ no `Task` in the root. Did you mean to use `task`?

error[E0432]: unresolved import `futures::Task`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.1.0/src/chain.rs:3:21
|
3 | use futures::{Poll, Task};
|                     ^^^^ no `Task` in the root. Did you mean to use `task`?

error[E0432]: unresolved import `futures::Task`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.1.0/src/copy.rs:3:29
|
3 | use futures::{Future, Poll, Task};
|                             ^^^^ no `Task` in the root. Did you mean to use `task`?

error[E0432]: unresolved import `futures::Task`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.1.0/src/empty.rs:3:15
|
3 | use futures::{Task, Poll};
|               ^^^^ no `Task` in the root. Did you mean to use `task`?

error[E0432]: unresolved import `futures::Task`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.1.0/src/flush.rs:3:21
|
3 | use futures::{Poll, Task, Future};
|                     ^^^^ no `Task` in the root. Did you mean to use `task`?

error[E0432]: unresolved import `futures::Task`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.1.0/src/read_to_end.rs:4:21
|
4 | use futures::{Poll, Task, Future};
|                     ^^^^ no `Task` in the root. Did you mean to use `task`?

error[E0432]: unresolved import `futures::Task`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.1.0/src/repeat.rs:3:15
|
3 | use futures::{Task, Poll};
|               ^^^^ no `Task` in the root. Did you mean to use `task`?

error[E0432]: unresolved import `futures::Task`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.1.0/src/ready_tracker.rs:3:21
|
3 | use futures::{Poll, Task};
|                     ^^^^ no `Task` in the root. Did you mean to use `task`?

error[E0432]: unresolved import `futures::Task`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.1.0/src/sink.rs:3:15
|
3 | use futures::{Task, Poll};
|               ^^^^ no `Task` in the root. Did you mean to use `task`?

error[E0432]: unresolved import `futures::Task`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.1.0/src/take.rs:4:21
|
4 | use futures::{Poll, Task};
|                     ^^^^ no `Task` in the root. Did you mean to use `task`?

error[E0432]: unresolved import `futures::Task`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.1.0/src/task.rs:5:23
|
5 | use futures::{Future, Task, TaskData, Poll, store};
|                       ^^^^ no `Task` in the root. Did you mean to use `task`?

error[E0432]: unresolved import `futures::TaskData`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.1.0/src/task.rs:5:29
|
5 | use futures::{Future, Task, TaskData, Poll, store};
|                             ^^^^^^^^ no `TaskData` in the root

error[E0432]: unresolved import `futures::store`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.1.0/src/task.rs:5:45
|
5 | use futures::{Future, Task, TaskData, Poll, store};
|                                             ^^^^^ no `store` in the root

error[E0407]: method `schedule` is not a member of trait `Stream`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.1.0/src/buf_reader.rs:58:5
|
58 | /     fn schedule(&mut self, task: &mut Task) {
59 | |         if self.pos < self.cap {
60 | |             task.notify()
61 | |         } else {
62 | |             self.inner.schedule(task)
63 | |         }
64 | |     }
| |_____^ not a member of trait `Stream`

error[E0407]: method `schedule` is not a member of trait `Stream`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.1.0/src/buf_writer.rs:85:5
|
85 | /     fn schedule(&mut self, task: &mut Task) {
86 | |         // Notify immediately if we have some capacity, but also ask our
87 | |         // underlying stream for readiness so it'll be ready by the time that we
88 | |         // need to flush.
...  |
92 | |         self.inner.schedule(task)
93 | |     }
| |_____^ not a member of trait `Stream`

error[E0407]: method `schedule` is not a member of trait `Stream`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.1.0/src/chain.rs:40:5
|
40 | /     fn schedule(&mut self, task: &mut Task) {
41 | |         if self.first {
42 | |             self.a.schedule(task)
43 | |         } else {
44 | |             self.b.schedule(task)
45 | |         }
46 | |     }
| |_____^ not a member of trait `Stream`

error: cannot find macro `try_poll!` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.1.0/src/copy.rs:52:27
|
52 |                     match try_poll!(self.reader.poll(task)) {
|                           ^^^^^^^^

error: cannot find macro `try_poll!` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.1.0/src/copy.rs:81:27
|
81 |                     match try_poll!(self.writer.poll(task)) {
|                           ^^^^^^^^

error[E0407]: method `schedule` is not a member of trait `Future`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.1.0/src/copy.rs:122:5
|
122 | /     fn schedule(&mut self, task: &mut Task) {
123 | |         if self.read_ready && self.write_ready {
124 | |             task.notify();
125 | |         }
...   |
131 | |         }
132 | |     }
| |_____^ not a member of trait `Future`

error[E0407]: method `schedule` is not a member of trait `Stream`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.1.0/src/empty.rs:24:5
|
24 | /     fn schedule(&mut self, task: &mut Task) {
25 | |         task.notify();
26 | |     }
| |_____^ not a member of trait `Stream`

error[E0407]: method `schedule` is not a member of trait `Future`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.1.0/src/flush.rs:35:5
|
35 | /     fn schedule(&mut self, task: &mut Task) {
36 | |         if let Some(ref mut a) = self.a {
37 | |             a.schedule(task);
38 | |         }
39 | |     }
| |_____^ not a member of trait `Future`

error: cannot find macro `try_poll!` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.1.0/src/read_to_end.rs:42:19
|
42 |             match try_poll!(self.a.poll(task)) {
|                   ^^^^^^^^

error[E0407]: method `schedule` is not a member of trait `Future`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.1.0/src/read_to_end.rs:73:5
|
73 | /     fn schedule(&mut self, task: &mut Task) {
74 | |         self.a.schedule(task)
75 | |     }
| |_____^ not a member of trait `Future`

error[E0407]: method `schedule` is not a member of trait `Stream`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.1.0/src/repeat.rs:24:5
|
24 | /     fn schedule(&mut self, task: &mut Task) {
25 | |         task.notify();
26 | |     }
| |_____^ not a member of trait `Stream`

error[E0407]: method `schedule` is not a member of trait `Stream`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.1.0/src/ready_tracker.rs:53:5
|
53 | /     fn schedule(&mut self, task: &mut Task) {
54 | |         self.inner.schedule(task)
55 | |     }
| |_____^ not a member of trait `Stream`

error[E0407]: method `schedule` is not a member of trait `Stream`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.1.0/src/sink.rs:24:5
|
24 | /     fn schedule(&mut self, task: &mut Task) {
25 | |         task.notify()
26 | |     }
| |_____^ not a member of trait `Stream`

error[E0407]: method `schedule` is not a member of trait `Stream`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.1.0/src/take.rs:37:5
|
37 | /     fn schedule(&mut self, task: &mut Task) {
38 | |         if self.left == 0 {
39 | |             task.notify()
40 | |         } else {
41 | |             self.a.schedule(task)
42 | |         }
43 | |     }
| |_____^ not a member of trait `Stream`

error: cannot find macro `try_poll!` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.1.0/src/task.rs:86:27
|
86 |         let found = match try_poll!(state.object.poll(self.task)) {
|                           ^^^^^^^^

error[E0407]: method `schedule` is not a member of trait `Stream`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.1.0/src/task.rs:151:5
|
151 | /     fn schedule(&mut self, task: &mut Task) {
152 | |         TaskIoTake::new(task, &self.handle).schedule(Ready::ReadWrite)
153 | |     }
| |_____^ not a member of trait `Stream`

error[E0407]: method `schedule` is not a member of trait `Stream`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.1.0/src/task.rs:196:5
|
196 | /     fn schedule(&mut self, task: &mut Task) {
197 | |         TaskIoTake::new(task, &self.handle).schedule(Ready::Read)
198 | |     }
| |_____^ not a member of trait `Stream`

error[E0407]: method `schedule` is not a member of trait `Stream`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.1.0/src/task.rs:227:5
|
227 | /     fn schedule(&mut self, task: &mut Task) {
228 | |         TaskIoTake::new(task, &self.handle).schedule(Ready::Write)
229 | |     }
| |_____^ not a member of trait `Stream`

error: aborting due to 34 previous errors

Some errors occurred: E0407, E0432.
For more information about an error, try `rustc --explain E0407`.
thread 'main' panicked at 'Error(
CargoError(
build failed
),
State {
next_error: None,
backtrace: None
}
)', src/bin/cratesfyi.rs:142:13
note: Run with `RUST_BACKTRACE=1` for a backtrace.