[INFO] crate tokio 0.2.0-alpha.4 is already in cache [INFO] checking tokio-0.2.0-alpha.4 against try#38f08371587f97c145dedb2c055ac7b01bf1e788 for pr-65294 [INFO] extracting crate tokio 0.2.0-alpha.4 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate tokio 0.2.0-alpha.4 on toolchain 38f08371587f97c145dedb2c055ac7b01bf1e788 [INFO] running `"/workspace/cargo-home/bin/cargo" "+38f08371587f97c145dedb2c055ac7b01bf1e788" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate tokio 0.2.0-alpha.4 [INFO] finished tweaking crates.io crate tokio 0.2.0-alpha.4 [INFO] tweaked toml for crates.io crate tokio 0.2.0-alpha.4 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate crates.io crate tokio 0.2.0-alpha.4 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+38f08371587f97c145dedb2c055ac7b01bf1e788" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+38f08371587f97c145dedb2c055ac7b01bf1e788" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 8e4bac3a1e688e3614f37f9c369c9c0f2389fd983df15340f183780d52038a6d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "8e4bac3a1e688e3614f37f9c369c9c0f2389fd983df15340f183780d52038a6d"` [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking tracing-core v0.1.5 [INFO] [stderr] Checking tokio-io v0.2.0-alpha.4 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio-codec v0.2.0-alpha.4 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling tracing-attributes v0.1.2 [INFO] [stderr] Compiling tokio-macros v0.2.0-alpha.4 [INFO] [stderr] Checking tracing v0.1.6 [INFO] [stderr] Checking tokio-executor v0.2.0-alpha.4 [INFO] [stderr] Checking tokio-timer v0.3.0-alpha.4 [INFO] [stderr] Checking tokio-fs v0.2.0-alpha.4 [INFO] [stderr] Checking tokio-net v0.2.0-alpha.4 [INFO] [stderr] Checking tokio v0.2.0-alpha.4 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> examples/proxy.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | use futures::{future::try_join, FutureExt, StreamExt}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> examples/proxy.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | use futures::{future::try_join, FutureExt, StreamExt}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `try_join` in this scope [INFO] [stderr] --> examples/proxy.rs:64:5 [INFO] [stderr] | [INFO] [stderr] 64 | try_join(client_to_server, server_to_client).await?; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 25 | use futures_util::try_future::try_join; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for type `tokio_net::tcp::incoming::Incoming` in the current scope [INFO] [stderr] --> examples/proxy.rs:42:44 [INFO] [stderr] | [INFO] [stderr] 42 | while let Some(Ok(inbound)) = incoming.next().await { [INFO] [stderr] | ^^^^ method not found in `tokio_net::tcp::incoming::Incoming` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 25 | use futures_util::stream::StreamExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map` found for type `impl core::future::future::Future` in the current scope [INFO] [stderr] --> examples/proxy.rs:43:63 [INFO] [stderr] | [INFO] [stderr] 43 | let transfer = transfer(inbound, server_addr.clone()).map(|r| { [INFO] [stderr] | ^^^ method not found in `impl core::future::future::Future` [INFO] [stderr] | [INFO] [stderr] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut impl core::future::future::Future : std::iter::Iterator` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 25 | use futures_util::future::FutureExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `tokio`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `tokio_test` [INFO] [stderr] --> tests/drop-core.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use tokio_test::{assert_err, assert_pending, assert_ready, task}; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_err` [INFO] [stderr] --> tests/drop-core.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | assert_err!(listener.accept().await); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ready` [INFO] [stderr] --> tests/drop-core.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | assert_ready!(task.poll()); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_err` [INFO] [stderr] --> tests/drop-core.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 31 | assert_err!(listener.accept().await); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_pending` [INFO] [stderr] --> tests/drop-core.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | assert_pending!(task.poll()); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ready` [INFO] [stderr] --> tests/drop-core.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | assert_ready!(task.poll()); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> examples/tinydb.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | use futures::{SinkExt, StreamExt}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `http` [INFO] [stderr] --> examples/tinyhttp.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use http::{header::HeaderValue, Request, Response, StatusCode}; [INFO] [stderr] | ^^^^ use of undeclared type or module `http` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> examples/tinyhttp.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use futures::{SinkExt, StreamExt}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_test` [INFO] [stderr] --> tests/buffered.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use tokio_test::assert_ok; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/buffered.rs:16:19 [INFO] [stderr] | [INFO] [stderr] 16 | let mut srv = assert_ok!(TcpListener::bind("127.0.0.1:0").await); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/buffered.rs:17:16 [INFO] [stderr] | [INFO] [stderr] 17 | let addr = assert_ok!(srv.local_addr()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/buffered.rs:22:21 [INFO] [stderr] | [INFO] [stderr] 22 | let mut s = assert_ok!(TcpStream::connect(&addr)); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/buffered.rs:25:25 [INFO] [stderr] | [INFO] [stderr] 25 | let mut s = assert_ok!(TcpStream::connect(&addr)); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/buffered.rs:27:13 [INFO] [stderr] | [INFO] [stderr] 27 | assert_ok!(s.read_exact(&mut b)); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/buffered.rs:34:23 [INFO] [stderr] | [INFO] [stderr] 34 | let res = assert_ok!(s.write(msg.as_bytes())); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] error[E0432]: unresolved import `http` [INFO] [stderr] --> examples/tinyhttp.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use http::{header::HeaderValue, Request, Response, StatusCode}; [INFO] [stderr] | ^^^^ use of undeclared type or module `http` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `serde` [INFO] [stderr] --> examples/tinyhttp.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use serde::Serialize; [INFO] [stderr] | ^^^^^ use of undeclared type or module `serde` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `time` [INFO] [stderr] --> examples/tinyhttp.rs:223:16 [INFO] [stderr] | [INFO] [stderr] 223 | use time::{self, Duration}; [INFO] [stderr] | ^^^^ no `time` external crate [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stderr] --> examples/tinyhttp.rs:72:22 [INFO] [stderr] | [INFO] [stderr] 72 | #[derive(Serialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/buffered.rs:41:22 [INFO] [stderr] | [INFO] [stderr] 41 | let (mut a, _) = assert_ok!(srv.accept().await); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/buffered.rs:42:22 [INFO] [stderr] | [INFO] [stderr] 42 | let (mut b, _) = assert_ok!(srv.accept().await); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/buffered.rs:44:13 [INFO] [stderr] | [INFO] [stderr] 44 | let n = assert_ok!(a.copy(&mut b).await); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: could not compile `tokio`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stderr] --> examples/tinyhttp.rs:76:13 [INFO] [stderr] | [INFO] [stderr] 76 | serde_json::to_string(&Message { [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `httparse` [INFO] [stderr] --> examples/tinyhttp.rs:160:39 [INFO] [stderr] | [INFO] [stderr] 160 | let mut parsed_headers = [httparse::EMPTY_HEADER; 16]; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `httparse` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `httparse` [INFO] [stderr] --> examples/tinyhttp.rs:161:25 [INFO] [stderr] | [INFO] [stderr] 161 | let mut r = httparse::Request::new(&mut parsed_headers); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `httparse` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `httparse` [INFO] [stderr] --> examples/tinyhttp.rs:168:17 [INFO] [stderr] | [INFO] [stderr] 168 | httparse::Status::Complete(amt) => amt, [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `httparse` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `httparse` [INFO] [stderr] --> examples/tinyhttp.rs:169:17 [INFO] [stderr] | [INFO] [stderr] 169 | httparse::Status::Partial => return Ok(None), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `httparse` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `http` [INFO] [stderr] --> examples/tinyhttp.rs:201:21 [INFO] [stderr] | [INFO] [stderr] 201 | ret.version(http::Version::HTTP_11); [INFO] [stderr] | ^^^^ use of undeclared type or module `http` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `HeaderValue` [INFO] [stderr] --> examples/tinyhttp.rs:207:34 [INFO] [stderr] | [INFO] [stderr] 207 | let value = unsafe { HeaderValue::from_shared_unchecked(data.slice(v.0, v.1)) }; [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `HeaderValue` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Duration` [INFO] [stderr] --> examples/tinyhttp.rs:283:38 [INFO] [stderr] | [INFO] [stderr] 283 | self.next_update = now + Duration::seconds(1); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Duration` [INFO] [stderr] warning: unused import: `tokio::net::TcpListener` [INFO] [stderr] --> tests/buffered.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio::net::TcpListener; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::prelude::*` [INFO] [stderr] --> tests/buffered.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use tokio::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::prelude::*` [INFO] [stderr] --> tests/buffered.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use std::io::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::net::TcpStream` [INFO] [stderr] --> tests/buffered.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::net::TcpStream; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for type `tokio_codec::framed::Framed` in the current scope [INFO] [stderr] --> examples/tinyhttp.rs:49:41 [INFO] [stderr] | [INFO] [stderr] 49 | while let Some(request) = transport.next().await { [INFO] [stderr] | ^^^^ method not found in `tokio_codec::framed::Framed` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 16 | use futures_util::stream::StreamExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for type `tokio_codec::framed::Framed` in the current scope [INFO] [stderr] --> examples/tinydb.rs:125:52 [INFO] [stderr] | [INFO] [stderr] 125 | while let Some(result) = lines.next().await { [INFO] [stderr] | ^^^^ method not found in `tokio_codec::framed::Framed` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 44 | use futures_util::stream::StreamExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stderr] --> examples/tinydb.rs:128:63 [INFO] [stderr] | [INFO] [stderr] 128 | ... let response = handle_request(&line, &db); [INFO] [stderr] | ^^^^^ doesn't have a size known at compile-time [INFO] [stderr] error[E0599]: no method named `send` found for type `tokio_codec::framed::Framed` in the current scope [INFO] [stderr] --> examples/tinyhttp.rs:53:27 [INFO] [stderr] | [INFO] [stderr] 53 | transport.send(response).await?; [INFO] [stderr] | ^^^^ method not found in `tokio_codec::framed::Framed` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 16 | use futures_util::sink::SinkExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `str` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: all local variables must have a statically known size [INFO] [stderr] = help: unsized locals are gated as an unstable feature [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `send` found for type `tokio_codec::framed::Framed` in the current scope [INFO] [stderr] --> examples/tinydb.rs:132:55 [INFO] [stderr] | [INFO] [stderr] 132 | ... if let Err(e) = lines.send(response).await { [INFO] [stderr] | ^^^^ method not found in `tokio_codec::framed::Framed` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 44 | use futures_util::sink::SinkExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] thread 'rustc' panicked at 'called `Option::unwrap()` on a `None` value', src/libcore/option.rs:378:21 [INFO] [stderr] stack backtrace: [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> examples/chat.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | use futures::{Poll, SinkExt, Stream, StreamExt}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> examples/chat.rs:170:33 [INFO] [stderr] | [INFO] [stderr] 170 | let result: Option<_> = futures::ready!(self.lines.poll_next_unpin(cx)); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `tokio`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tokio`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `tokio`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> benches/latency.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use futures::sync::mpsc; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> benches/latency.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use futures::sync::oneshot; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> benches/tcp.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | pub use futures::*; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio::reactor` [INFO] [stderr] --> benches/tcp.rs:9:20 [INFO] [stderr] | [INFO] [stderr] 9 | pub use tokio::reactor::Reactor; [INFO] [stderr] | ^^^^^^^ could not find `reactor` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_io::try_nb` [INFO] [stderr] --> benches/tcp.rs:152:9 [INFO] [stderr] | [INFO] [stderr] 152 | use tokio_io::try_nb; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ no `try_nb` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `stream` [INFO] [stderr] --> benches/tcp.rs:38:28 [INFO] [stderr] | [INFO] [stderr] 38 | let connects = stream::iter_result((0..NUM).map(|_| { [INFO] [stderr] | ^^^^^^ use of undeclared type or module `stream` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `sync` [INFO] [stderr] --> benches/tcp.rs:60:42 [INFO] [stderr] | [INFO] [stderr] 60 | let (shutdown_tx, shutdown_rx) = sync::oneshot::channel(); [INFO] [stderr] | ^^^^ use of undeclared type or module `sync` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `sync` [INFO] [stderr] --> benches/tcp.rs:61:34 [INFO] [stderr] | [INFO] [stderr] 61 | let (addr_tx, addr_rx) = sync::oneshot::channel(); [INFO] [stderr] | ^^^^ use of undeclared type or module `sync` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `stream` [INFO] [stderr] --> benches/tcp.rs:105:40 [INFO] [stderr] | [INFO] [stderr] 105 | let connects = stream::iter_result((0..(NUM / n)).map(|_| { [INFO] [stderr] | ^^^^^^ use of undeclared type or module `stream` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Async` [INFO] [stderr] --> benches/tcp.rs:170:36 [INFO] [stderr] | [INFO] [stderr] 170 | 0 => return Ok(Async::Ready(())), [INFO] [stderr] | ^^^^^ use of undeclared type or module `Async` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Async` [INFO] [stderr] --> benches/tcp.rs:196:16 [INFO] [stderr] | [INFO] [stderr] 196 | Ok(Async::Ready(())) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Async` [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> benches/latency.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use futures::try_ready; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_test` [INFO] [stderr] --> tests/runtime_current_thread.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use tokio_test::{assert_err, assert_ok}; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `env_logger` [INFO] [stderr] --> tests/runtime_current_thread.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use env_logger; [INFO] [stderr] | ^^^^^^^^^^ no `env_logger` external crate [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/runtime_current_thread.rs:16:22 [INFO] [stderr] | [INFO] [stderr] 16 | let mut server = assert_ok!(TcpListener::bind("127.0.0.1:0").await); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/runtime_current_thread.rs:19:16 [INFO] [stderr] | [INFO] [stderr] 19 | let addr = assert_ok!(server.local_addr()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/runtime_current_thread.rs:55:5 [INFO] [stderr] | [INFO] [stderr] 55 | assert_ok!(rx.try_recv()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/runtime_current_thread.rs:56:5 [INFO] [stderr] | [INFO] [stderr] 56 | assert_ok!(rx.try_recv()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/runtime_current_thread.rs:77:5 [INFO] [stderr] | [INFO] [stderr] 77 | assert_ok!(rx.try_recv()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/runtime_current_thread.rs:78:5 [INFO] [stderr] | [INFO] [stderr] 78 | assert_ok!(rx.try_recv()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/runtime_current_thread.rs:96:5 [INFO] [stderr] | [INFO] [stderr] 96 | assert_ok!(rx.try_recv()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_err` [INFO] [stderr] --> tests/runtime_current_thread.rs:97:5 [INFO] [stderr] | [INFO] [stderr] 97 | assert_err!(rx.try_recv()); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Future` in this scope [INFO] [stderr] --> benches/tcp.rs:161:10 [INFO] [stderr] | [INFO] [stderr] 161 | impl Future for Drain { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 150 | use core::future::Future; [INFO] [stderr] | [INFO] [stderr] 150 | use futures_core::Future; [INFO] [stderr] | [INFO] [stderr] 150 | use futures_core::core_reexport::future::Future; [INFO] [stderr] | [INFO] [stderr] 150 | use futures_core::future::Future; [INFO] [stderr] | [INFO] [stderr] and 4 other candidates [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Poll` in this scope [INFO] [stderr] --> benches/tcp.rs:165:31 [INFO] [stderr] | [INFO] [stderr] 165 | fn poll(&mut self) -> Poll<(), io::Error> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 150 | use core::task::Poll; [INFO] [stderr] | [INFO] [stderr] 150 | use futures_core::Poll; [INFO] [stderr] | [INFO] [stderr] 150 | use futures_core::core_reexport::task::Poll; [INFO] [stderr] | [INFO] [stderr] 150 | use futures_core::task::Poll; [INFO] [stderr] | [INFO] [stderr] and 3 other candidates [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Future` in this scope [INFO] [stderr] --> benches/tcp.rs:183:10 [INFO] [stderr] | [INFO] [stderr] 183 | impl Future for Transfer { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 150 | use core::future::Future; [INFO] [stderr] | [INFO] [stderr] 150 | use futures_core::Future; [INFO] [stderr] | [INFO] [stderr] 150 | use futures_core::core_reexport::future::Future; [INFO] [stderr] | [INFO] [stderr] 150 | use futures_core::future::Future; [INFO] [stderr] | [INFO] [stderr] and 4 other candidates [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Poll` in this scope [INFO] [stderr] --> benches/tcp.rs:187:31 [INFO] [stderr] | [INFO] [stderr] 187 | fn poll(&mut self) -> Poll<(), io::Error> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 150 | use core::task::Poll; [INFO] [stderr] | [INFO] [stderr] 150 | use futures_core::Poll; [INFO] [stderr] | [INFO] [stderr] 150 | use futures_core::core_reexport::task::Poll; [INFO] [stderr] | [INFO] [stderr] 150 | use futures_core::task::Poll; [INFO] [stderr] | [INFO] [stderr] and 3 other candidates [INFO] [stderr] [INFO] [stderr] error[E0603]: module `io` is private [INFO] [stderr] --> benches/tcp.rs:10:23 [INFO] [stderr] | [INFO] [stderr] 10 | pub use tokio_io::io::read_to_end; [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `TcpListener` [INFO] [stderr] --> tests/runtime_current_thread.rs:5:18 [INFO] [stderr] | [INFO] [stderr] 5 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> benches/tcp.rs:166:48 [INFO] [stderr] | [INFO] [stderr] 166 | let mut buf: [u8; 1024] = unsafe { mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 14 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0432, E0433, E0603. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> benches/latency.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use futures::{Future, Poll, Sink, Stream}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `try_ready` [INFO] [stderr] --> benches/latency.rs:41:17 [INFO] [stderr] | [INFO] [stderr] 41 | try_ready!(self.socket.poll_send_to(&self.buf[..size], &peer)); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `try_ready` [INFO] [stderr] --> benches/latency.rs:44:33 [INFO] [stderr] | [INFO] [stderr] 44 | self.to_send = Some(try_ready!(self.socket.poll_recv_from(&mut self.buf))); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stderr] --> benches/latency.rs:54:28 [INFO] [stderr] | [INFO] [stderr] 54 | let (stop_c, stop_p) = oneshot::channel::<()>(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `oneshot` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stderr] --> benches/latency.rs:55:20 [INFO] [stderr] | [INFO] [stderr] 55 | let (tx, rx) = oneshot::channel(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `oneshot` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> benches/latency.rs:92:30 [INFO] [stderr] | [INFO] [stderr] 92 | let (mut in_tx, in_rx) = mpsc::channel(32); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> benches/latency.rs:93:28 [INFO] [stderr] | [INFO] [stderr] 93 | let (out_tx, out_rx) = mpsc::channel::<_>(32); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `tokio`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tokio`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> examples/connect.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use futures::{SinkExt, Stream}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> examples/connect.rs:84:9 [INFO] [stderr] | [INFO] [stderr] 84 | use futures::{future, Sink, SinkExt, Stream, StreamExt}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] warning: unused import: `AsyncWriteExt` [INFO] [stderr] --> tests/runtime_current_thread.rs:4:31 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> examples/connect.rs:114:9 [INFO] [stderr] | [INFO] [stderr] 114 | use futures::{future, Sink, SinkExt, Stream, StreamExt}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error: could not compile `tokio`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `tokio`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] 0: 0x7f1f0dcff944 - backtrace::backtrace::libunwind::trace::hef6fc58b54b0c273 [INFO] [stderr] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.37/src/backtrace/libunwind.rs:88 [INFO] [stderr] 1: 0x7f1f0dcff944 - backtrace::backtrace::trace_unsynchronized::hed70e532b71a8977 [INFO] [stderr] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.37/src/backtrace/mod.rs:66 [INFO] [stderr] 2: 0x7f1f0dcff944 - std::sys_common::backtrace::_print_fmt::hb989f9624749a87e [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:77 [INFO] [stderr] 3: 0x7f1f0dcff944 - ::fmt::h752e880115b2e6b8 [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:61 [INFO] [stderr] 4: 0x7f1f0dd37bcc - core::fmt::write::h8587a0223398998a [INFO] [stderr] at src/libcore/fmt/mod.rs:1028 [INFO] [stderr] 5: 0x7f1f0dcf3c17 - std::io::Write::write_fmt::h739e1721b42dc764 [INFO] [stderr] at src/libstd/io/mod.rs:1412 [INFO] [stderr] 6: 0x7f1f0dd0417e - std::sys_common::backtrace::_print::he941da29bef7c30c [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:65 [INFO] [stderr] 7: 0x7f1f0dd0417e - std::sys_common::backtrace::print::haf56476e740dbe1b [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:50 [INFO] [stderr] 8: 0x7f1f0dd0417e - std::panicking::default_hook::{{closure}}::ha490775aa99416ce [INFO] [stderr] at src/libstd/panicking.rs:189 [INFO] [stderr] 9: 0x7f1f0dd03e81 - std::panicking::default_hook::h27c65cbf7bc04c7a [INFO] [stderr] at src/libstd/panicking.rs:206 [INFO] [stderr] 10: 0x7f1f0e203ca3 - rustc_driver::report_ice::h82fdcda1f8acf38a [INFO] [stderr] 11: 0x7f1f0dd0495c - std::panicking::rust_panic_with_hook::h5640e0014aa25ab8 [INFO] [stderr] at src/libstd/panicking.rs:473 [INFO] [stderr] 12: 0x7f1f0dd04412 - std::panicking::continue_panic_fmt::hcb7480b833c2eeb7 [INFO] [stderr] at src/libstd/panicking.rs:376 [INFO] [stderr] 13: 0x7f1f0dd04306 - rust_begin_unwind [INFO] [stderr] at src/libstd/panicking.rs:303 [INFO] [stderr] 14: 0x7f1f0dd3174a - core::panicking::panic_fmt::h10a13d576f8f5c74 [INFO] [stderr] at src/libcore/panicking.rs:84 [INFO] [stderr] 15: 0x7f1f0dd31689 - core::panicking::panic::h46349101be580b00 [INFO] [stderr] at src/libcore/panicking.rs:49 [INFO] [stderr] 16: 0x7f1f0e798540 - rustc_typeck::check::closure::::supplied_sig_of_closure::hf2d6e2d2afc227ee [INFO] [stderr] 17: 0x7f1f0e796006 - rustc_typeck::check::closure::::check_expr_closure::hd9372c2ad0c04456 [INFO] [stderr] 18: 0x7f1f0e77d51d - rustc_typeck::check::expr::::check_expr_kind::hdcedc606bb73cd36 [INFO] [stderr] 19: 0x7f1f0e77ce2b - rustc_typeck::check::expr::::check_expr_with_expectation_and_needs::h3e1f8892997d494a [INFO] [stderr] 20: 0x7f1f0e7b198d - rustc_typeck::check::FnCtxt::check_argument_types::h710fc9bf2ef2b626 [INFO] [stderr] 21: 0x7f1f0e79afbc - rustc_typeck::check::callee::::confirm_builtin_call::h5c794f118987f65b [INFO] [stderr] 22: 0x7f1f0e799491 - rustc_typeck::check::callee::::check_call::h53ac0c6ca7b0328e [INFO] [stderr] 23: 0x7f1f0e77d96a - rustc_typeck::check::expr::::check_expr_kind::hdcedc606bb73cd36 [INFO] [stderr] 24: 0x7f1f0e77ce2b - rustc_typeck::check::expr::::check_expr_with_expectation_and_needs::h3e1f8892997d494a [INFO] [stderr] 25: 0x7f1f0e78777b - rustc_typeck::check::expr::::check_return_expr::he1284693fe9141d2 [INFO] [stderr] 26: 0x7f1f0e7a2245 - rustc_typeck::check::check_fn::hce9d8330a9ec989d [INFO] [stderr] 27: 0x7f1f0e924ebb - rustc::ty::context::GlobalCtxt::enter_local::hbb1f6fa8fc02e0e5 [INFO] [stderr] 28: 0x7f1f0e7a1212 - rustc_typeck::check::typeck_tables_of::hfb2d754678aea9f1 [INFO] [stderr] 29: 0x7f1f0e9c099a - rustc::ty::query::__query_compute::typeck_tables_of::hfd73fffa116c5ca9 [INFO] [stderr] 30: 0x7f1f0e88530b - rustc::ty::query::::compute::h800e9555c0e7dc72 [INFO] [stderr] 31: 0x7f1f0e7eabfa - rustc::dep_graph::graph::DepGraph::with_task_impl::h08c38604c30a4a2a [INFO] [stderr] 32: 0x7f1f0e8cd717 - rustc::ty::query::plumbing::::get_query::h7e57ed821c74c2da [INFO] [stderr] 33: 0x7f1f0e9c099a - rustc::ty::query::__query_compute::typeck_tables_of::hfd73fffa116c5ca9 [INFO] [stderr] 34: 0x7f1f0e88530b - rustc::ty::query::::compute::h800e9555c0e7dc72 [INFO] [stderr] 35: 0x7f1f0e7eabfa - rustc::dep_graph::graph::DepGraph::with_task_impl::h08c38604c30a4a2a [INFO] [stderr] 36: 0x7f1f0e8cd717 - rustc::ty::query::plumbing::::get_query::h7e57ed821c74c2da [INFO] [stderr] 37: 0x7f1f0e8715bb - rustc_typeck::collect::checked_type_of::haec0dbf11a54b141 [INFO] [stderr] 38: 0x7f1f0e87099c - rustc_typeck::collect::type_of::hd07bc2baad892e0e [INFO] [stderr] 39: 0x7f1f0e9c2587 - rustc::ty::query::__query_compute::type_of::h0b2b74bef6d13867 [INFO] [stderr] 40: 0x7f1f0e884feb - rustc::ty::query::::compute::h441907d06836293d [INFO] [stderr] 41: 0x7f1f0e7fbe7a - rustc::dep_graph::graph::DepGraph::with_task_impl::hc2888fd95bcba6b4 [INFO] [stderr] 42: 0x7f1f0e8ec8d4 - rustc::ty::query::plumbing::::get_query::ha7c470da03412c14 [INFO] [stderr] 43: 0x7f1f0e945f10 - rustc::hir::intravisit::walk_expr::h1825960350d56a17 [INFO] [stderr] 44: 0x7f1f0e84fe2c - rustc::hir::intravisit::Visitor::visit_fn::hdd48dc36c575268d [INFO] [stderr] 45: 0x7f1f0e94c8b9 - rustc::hir::intravisit::walk_item::h6231a792f3bd6045 [INFO] [stderr] 46: 0x7f1f0e86c7bd - ::visit_item::hebb0b626d0bd8119 [INFO] [stderr] 47: 0x7f1f0e7c8ae3 - rustc::hir::map::Map::visit_item_likes_in_module::h909345058ab2ada5 [INFO] [stderr] 48: 0x7f1f0e86c484 - rustc_typeck::collect::collect_mod_item_types::h4867216e2f7ab0ca [INFO] [stderr] 49: 0x7f1f0e9c191a - rustc::ty::query::__query_compute::collect_mod_item_types::h36b0afb63fde5048 [INFO] [stderr] 50: 0x7f1f0e8854fb - rustc::ty::query::::compute::h3f9e9dace71ce340 [INFO] [stderr] 51: 0x7f1f0e7fab9d - rustc::dep_graph::graph::DepGraph::with_task_impl::hb58f74c1f3c88c92 [INFO] [stderr] 52: 0x7f1f0e895622 - rustc::ty::query::plumbing::::get_query::h0dc82a89c4ac3aea [INFO] [stderr] 53: 0x7f1f0e885b05 - rustc::ty::query::plumbing::::ensure_query::h7d648927e2830cb1 [INFO] [stderr] 54: 0x7f1f0e97f969 - rustc_typeck::check_crate::{{closure}}::{{closure}}::hfe79ccb0cdca660b [INFO] [stderr] 55: 0x7f1f0e978e66 - rustc::util::common::time::hf3cae9d8bcade6f9 [INFO] [stderr] 56: 0x7f1f0e9a8e1d - rustc_typeck::check_crate::h5d9504d3602cfcd8 [INFO] [stderr] 57: 0x7f1f0e2ac5eb - rustc_interface::passes::analysis::h36070bb5a92fce19 [INFO] [stderr] 58: 0x7f1f0e2487e1 - rustc::ty::query::__query_compute::analysis::h601c1db6cba1f061 [INFO] [stderr] 59: 0x7f1f0e25168d - rustc::dep_graph::graph::DepGraph::with_task_impl::h672b259b22ab96e2 [INFO] [stderr] 60: 0x7f1f0e1dec1e - rustc::ty::query::plumbing::::get_query::h3f15181e9724c780 [INFO] [stderr] 61: 0x7f1f0e1da56a - rustc_interface::passes::BoxedGlobalCtxt::access::{{closure}}::h0e43077014192120 [INFO] [stderr] 62: 0x7f1f0e2df7ca - rustc_interface::passes::create_global_ctxt::{{closure}}::ha6626c15dbf3eaac [INFO] [stderr] 63: 0x7f1f0e1da3ae - rustc_interface::passes::BoxedGlobalCtxt::enter::hf068a0d7a8d4ab6b [INFO] [stderr] 64: 0x7f1f0e210c0e - rustc_interface::interface::run_compiler_in_existing_thread_pool::ha784d6b3a27453e7 [INFO] [stderr] 65: 0x7f1f0e21d182 - std::thread::local::LocalKey::with::hf3ee15a28d4a4222 [INFO] [stderr] 66: 0x7f1f0e20d85e - scoped_tls::ScopedKey::set::h37c9a021c3ed7e3b [INFO] [stderr] 67: 0x7f1f0e23b012 - syntax::with_globals::hd792b50bac29e7b7 [INFO] [stderr] 68: 0x7f1f0e240032 - std::sys_common::backtrace::__rust_begin_short_backtrace::h9ab3b35a81bdce89 [INFO] [stderr] 69: 0x7f1f0dd1502a - __rust_maybe_catch_panic [INFO] [stderr] at src/libpanic_unwind/lib.rs:80 [INFO] [stderr] 70: 0x7f1f0e24d199 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h73f23e1826e96267 [INFO] [stderr] 71: 0x7f1f0dce60bf - as core::ops::function::FnOnce>::call_once::hcb6651e4c1963b39 [INFO] [stderr] at /rustc/38f08371587f97c145dedb2c055ac7b01bf1e788/src/liballoc/boxed.rs:932 [INFO] [stderr] 72: 0x7f1f0dd13cd0 - as core::ops::function::FnOnce>::call_once::hb173bbdfeb2a361e [INFO] [stderr] at /rustc/38f08371587f97c145dedb2c055ac7b01bf1e788/src/liballoc/boxed.rs:932 [INFO] [stderr] 73: 0x7f1f0dd13cd0 - std::sys_common::thread::start_thread::h44ce780fc34036b0 [INFO] [stderr] at src/libstd/sys_common/thread.rs:13 [INFO] [stderr] 74: 0x7f1f0dd13cd0 - std::sys::unix::thread::Thread::new::thread_start::hf95e011bc5c0167c [INFO] [stderr] at src/libstd/sys/unix/thread.rs:79 [INFO] [stderr] 75: 0x7f1f0da806db - start_thread [INFO] [stderr] 76: 0x7f1f0d39d88f - __clone [INFO] [stderr] 77: 0x0 - [INFO] [stderr] [INFO] [stderr] error: internal compiler error: unexpected panic [INFO] [stderr] [INFO] [stderr] note: the compiler unexpectedly panicked. this is a bug. [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports [INFO] [stderr] [INFO] [stderr] note: rustc 1.40.0-nightly (38f083715 2019-10-14) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: -C debuginfo=2 --crate-type bin [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] #0 [typeck_tables_of] processing `respond` [INFO] [stderr] #1 [typeck_tables_of] processing `respond::{{closure}}#0` [INFO] [stderr] #2 [type_of] processing `respond::{{closure}}#0` [INFO] [stderr] #3 [collect_mod_item_types] collecting item types in top-level module [INFO] [stderr] #4 [analysis] running analysis passes on this crate [INFO] [stderr] end of query stack [INFO] [stderr] error: aborting due to 16 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `tokio`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "8e4bac3a1e688e3614f37f9c369c9c0f2389fd983df15340f183780d52038a6d"` [INFO] running `"docker" "rm" "-f" "8e4bac3a1e688e3614f37f9c369c9c0f2389fd983df15340f183780d52038a6d"` [INFO] [stdout] 8e4bac3a1e688e3614f37f9c369c9c0f2389fd983df15340f183780d52038a6d