[INFO] fetching crate tokio-executor 0.2.0-alpha.4... [INFO] checking tokio-executor-0.2.0-alpha.4 against master#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] extracting crate tokio-executor 0.2.0-alpha.4 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate tokio-executor 0.2.0-alpha.4 on toolchain 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate tokio-executor 0.2.0-alpha.4 [INFO] finished tweaking crates.io crate tokio-executor 0.2.0-alpha.4 [INFO] tweaked toml for crates.io crate tokio-executor 0.2.0-alpha.4 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fb0b733ddf49ff93b91514b6a071c425d4be0c390ff848dd92bc929d142975c9 [INFO] running `"docker" "start" "-a" "fb0b733ddf49ff93b91514b6a071c425d4be0c390ff848dd92bc929d142975c9"` [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.18 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.18 [INFO] [stderr] Checking tokio-executor v0.2.0-alpha.4 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `tokio_executor::threadpool` [INFO] [stderr] --> benches/threadpool_depth.rs:11:25 [INFO] [stderr] | [INFO] [stderr] 11 | use tokio_executor::threadpool::*; [INFO] [stderr] | ^^^^^^^^^^ could not find `threadpool` in `tokio_executor` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `futures_cpupool` [INFO] [stderr] --> benches/threadpool_depth.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | use futures_cpupool::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `futures_cpupool` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> benches/threadpool_depth.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | use futures::future; [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/threadpool_depth.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | use futures::future::{self, Executor}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `futures`, `futures::future::Executor` [INFO] [stderr] --> benches/threadpool_depth.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | use futures::future::{self, Executor}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `num_cpus` [INFO] [stderr] --> benches/threadpool_depth.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | use num_cpus; [INFO] [stderr] | ^^^^^^^^ no `num_cpus` external crate [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ThreadPool` [INFO] [stderr] --> benches/threadpool_depth.rs:15:26 [INFO] [stderr] | [INFO] [stderr] 15 | let threadpool = ThreadPool::new(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `ThreadPool` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CpuPool` [INFO] [stderr] --> benches/threadpool_depth.rs:48:20 [INFO] [stderr] | [INFO] [stderr] 48 | let pool = CpuPool::new(num_cpus::get()); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `CpuPool` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> benches/threadpool_depth.rs:17:27 [INFO] [stderr] | [INFO] [stderr] 17 | fn spawn(pool_tx: Sender, res_tx: mpsc::Sender<()>, n: usize) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 17 | fn spawn(pool_tx: Send, res_tx: mpsc::Sender<()>, n: usize) { [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 9 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `CpuPool` in this scope [INFO] [stderr] --> benches/threadpool_depth.rs:50:24 [INFO] [stderr] | [INFO] [stderr] 50 | fn spawn(pool: CpuPool, res_tx: mpsc::Sender<()>, n: usize) { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_executor::threadpool` [INFO] [stderr] --> benches/blocking.rs:11:25 [INFO] [stderr] | [INFO] [stderr] 11 | use tokio_executor::threadpool::{blocking, Builder}; [INFO] [stderr] | ^^^^^^^^^^ could not find `threadpool` in `tokio_executor` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_executor::threadpool` [INFO] [stderr] --> benches/blocking.rs:42:25 [INFO] [stderr] | [INFO] [stderr] 42 | use tokio_executor::threadpool::Builder; [INFO] [stderr] | ^^^^^^^^^^ could not find `threadpool` in `tokio_executor` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> benches/blocking.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | use futures::future::*; [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/blocking.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | use futures::future::*; [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/blocking.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | use futures::sync::oneshot; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `rand`, `futures::sync::oneshot` [INFO] [stderr] --> benches/blocking.rs:82:9 [INFO] [stderr] | [INFO] [stderr] 41 | use futures::sync::oneshot; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 82 | use rand::*; [INFO] [stderr] | ^^^^ use of undeclared type or module `rand` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `threadpool` [INFO] [stderr] --> benches/blocking.rs:48:24 [INFO] [stderr] | [INFO] [stderr] 48 | let blocking = threadpool::ThreadPool::new(20); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `threadpool` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stderr] --> benches/blocking.rs:59:36 [INFO] [stderr] | [INFO] [stderr] 59 | 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 `rand` [INFO] [stderr] --> benches/blocking.rs:85:19 [INFO] [stderr] | [INFO] [stderr] 85 | let mut rng = rand::thread_rng(); [INFO] [stderr] | ^^^^ use of undeclared type or module `rand` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `lazy` in this scope [INFO] [stderr] --> benches/blocking.rs:23:28 [INFO] [stderr] | [INFO] [stderr] 23 | pool.spawn(lazy(move || { [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] 9 | use futures_util::future::lazy; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `poll_fn` in this scope [INFO] [stderr] --> benches/blocking.rs:24:21 [INFO] [stderr] | [INFO] [stderr] 24 | poll_fn(|| blocking(|| perform_complex_computation()).map_err(|_| panic!())) [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] 9 | use futures_util::future::poll_fn; [INFO] [stderr] | [INFO] [stderr] 9 | use futures_util::stream::poll_fn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `lazy` in this scope [INFO] [stderr] --> benches/blocking.rs:57:28 [INFO] [stderr] | [INFO] [stderr] 57 | pool.spawn(lazy(move || { [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] 39 | use futures_util::future::lazy; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error[E0432]: unresolved import `tokio_executor::threadpool` [INFO] [stderr] --> tests/threadpool_blocking.rs:3:21 [INFO] [stderr] | [INFO] [stderr] 3 | use tokio_executor::threadpool::*; [INFO] [stderr] | ^^^^^^^^^^ could not find `threadpool` in `tokio_executor` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_test` [INFO] [stderr] --> tests/threadpool_blocking.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio_test::*; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stderr] [INFO] [stderr] error: could not compile `tokio-executor`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `futures_core` [INFO] [stderr] --> tests/threadpool_blocking.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use futures_core::ready; [INFO] [stderr] | ^^^^^^^^^^^^ help: a similar path exists: `futures_util::futures_core` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `rand` [INFO] [stderr] --> tests/threadpool_blocking.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use rand::*; [INFO] [stderr] | ^^^^ use of undeclared type or module `rand` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_sync` [INFO] [stderr] --> tests/threadpool_blocking.rs:94:9 [INFO] [stderr] | [INFO] [stderr] 94 | use tokio_sync::oneshot; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_sync` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_ready` in this scope [INFO] [stderr] --> tests/threadpool_blocking.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | assert_ready!(res).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^ help: a macro with a similar name exists: `assert_eq` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_ready` in this scope [INFO] [stderr] --> tests/threadpool_blocking.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | assert_ready!(res).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^ help: a macro with a similar name exists: `assert_eq` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_pending` in this scope [INFO] [stderr] --> tests/threadpool_blocking.rs:145:21 [INFO] [stderr] | [INFO] [stderr] 145 | assert_pending!(res); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `assert_pending` in this scope [INFO] [stderr] --> tests/threadpool_blocking.rs:165:21 [INFO] [stderr] | [INFO] [stderr] 165 | assert_pending!(res); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `ready` [INFO] [stderr] --> tests/threadpool_blocking.rs:260:21 [INFO] [stderr] | [INFO] [stderr] 260 | ready!(res).unwrap(); [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 `Builder` [INFO] [stderr] --> tests/threadpool_blocking.rs:18:16 [INFO] [stderr] | [INFO] [stderr] 18 | let pool = Builder::new().pool_size(1).max_blocking(1).build(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Builder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Builder` [INFO] [stderr] --> tests/threadpool_blocking.rs:41:16 [INFO] [stderr] | [INFO] [stderr] 41 | let pool = Builder::new().pool_size(1).max_blocking(1).build(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Builder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Builder` [INFO] [stderr] --> tests/threadpool_blocking.rs:61:16 [INFO] [stderr] | [INFO] [stderr] 61 | let pool = Builder::new().pool_size(1).max_blocking(1).build(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Builder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Builder` [INFO] [stderr] --> tests/threadpool_blocking.rs:98:16 [INFO] [stderr] | [INFO] [stderr] 98 | let pool = Builder::new().pool_size(1).max_blocking(1).build(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Builder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Builder` [INFO] [stderr] --> tests/threadpool_blocking.rs:183:16 [INFO] [stderr] | [INFO] [stderr] 183 | let pool = Builder::new().pool_size(2).max_blocking(1).build(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Builder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Builder` [INFO] [stderr] --> tests/threadpool_blocking.rs:244:20 [INFO] [stderr] | [INFO] [stderr] 244 | let pool = Builder::new().pool_size(4).max_blocking(1).build(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Builder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Builder` [INFO] [stderr] --> tests/threadpool_blocking.rs:299:13 [INFO] [stderr] | [INFO] [stderr] 299 | Builder::new() [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Builder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Builder` [INFO] [stderr] --> tests/threadpool_blocking.rs:365:24 [INFO] [stderr] | [INFO] [stderr] 365 | let pool = Builder::new() [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Builder` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `blocking` in this scope [INFO] [stderr] --> tests/threadpool_blocking.rs:24:19 [INFO] [stderr] | [INFO] [stderr] 24 | let res = blocking(|| { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `blocking` in this scope [INFO] [stderr] --> tests/threadpool_blocking.rs:46:19 [INFO] [stderr] | [INFO] [stderr] 46 | let res = blocking(|| { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `blocking` in this scope [INFO] [stderr] --> tests/threadpool_blocking.rs:72:17 [INFO] [stderr] | [INFO] [stderr] 72 | blocking(|| { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `blocking` in this scope [INFO] [stderr] --> tests/threadpool_blocking.rs:108:13 [INFO] [stderr] | [INFO] [stderr] 108 | blocking(|| { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `blocking` in this scope [INFO] [stderr] --> tests/threadpool_blocking.rs:120:13 [INFO] [stderr] | [INFO] [stderr] 120 | blocking(|| { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `blocking` in this scope [INFO] [stderr] --> tests/threadpool_blocking.rs:143:31 [INFO] [stderr] | [INFO] [stderr] 143 | let res = blocking(|| unreachable!()).map_err(|_| panic!()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `blocking` in this scope [INFO] [stderr] --> tests/threadpool_blocking.rs:163:31 [INFO] [stderr] | [INFO] [stderr] 163 | let res = blocking(|| unreachable!()).map_err(|_| panic!()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `blocking` in this scope [INFO] [stderr] --> tests/threadpool_blocking.rs:196:17 [INFO] [stderr] | [INFO] [stderr] 196 | blocking(|| { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `blocking` in this scope [INFO] [stderr] --> tests/threadpool_blocking.rs:213:23 [INFO] [stderr] | [INFO] [stderr] 213 | let res = blocking(|| {}); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `blocking` in this scope [INFO] [stderr] --> tests/threadpool_blocking.rs:256:31 [INFO] [stderr] | [INFO] [stderr] 256 | let res = blocking(|| { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `blocking` in this scope [INFO] [stderr] --> tests/threadpool_blocking.rs:262:31 [INFO] [stderr] | [INFO] [stderr] 262 | let res = blocking(|| { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `blocking` in this scope [INFO] [stderr] --> tests/threadpool_blocking.rs:318:27 [INFO] [stderr] | [INFO] [stderr] 318 | let res = blocking(|| { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `blocking` in this scope [INFO] [stderr] --> tests/threadpool_blocking.rs:381:25 [INFO] [stderr] | [INFO] [stderr] 381 | blocking(|| { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `thread_rng` in this scope [INFO] [stderr] --> tests/threadpool_blocking.rs:388:46 [INFO] [stderr] | [INFO] [stderr] 388 | ... let ms = thread_rng().gen_range(3, 12); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 12 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: aborting due to 32 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `tokio-executor`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tokio-executor`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `tokio_executor::threadpool` [INFO] [stderr] --> tests/threadpool_hammer.rs:3:21 [INFO] [stderr] | [INFO] [stderr] 3 | use tokio_executor::threadpool::*; [INFO] [stderr] | ^^^^^^^^^^ could not find `threadpool` in `tokio_executor` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_sync` [INFO] [stderr] --> tests/threadpool_hammer.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio_sync::{mpsc, oneshot}; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_sync` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Builder` [INFO] [stderr] --> tests/threadpool_hammer.rs:41:20 [INFO] [stderr] | [INFO] [stderr] 41 | let pool = Builder::new() [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Builder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> tests/current_thread.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use tokio::sync::oneshot; [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `tokio_executor::current_thread`, `tokio_executor::current_thread` [INFO] [stderr] --> tests/current_thread.rs:4:38 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio_executor::current_thread::{self, block_on_all, CurrentThread, TaskExecutor}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^ no `current_thread` in the root [INFO] [stderr] | | [INFO] [stderr] | could not find `current_thread` in `tokio_executor` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stderr] --> tests/current_thread.rs:52:20 [INFO] [stderr] | [INFO] [stderr] 52 | 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 `oneshot` [INFO] [stderr] --> tests/current_thread.rs:394:24 [INFO] [stderr] | [INFO] [stderr] 394 | 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 `oneshot` [INFO] [stderr] --> tests/current_thread.rs:494:30 [INFO] [stderr] | [INFO] [stderr] 494 | let (sender, receiver) = 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] --> tests/current_thread.rs:540:20 [INFO] [stderr] | [INFO] [stderr] 540 | sender: Option>, [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] --> tests/current_thread.rs:576:30 [INFO] [stderr] | [INFO] [stderr] 576 | let (sender, receiver) = 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] --> tests/current_thread.rs:577:34 [INFO] [stderr] | [INFO] [stderr] 577 | let (sender_2, receiver_2) = 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] --> tests/current_thread.rs:578:34 [INFO] [stderr] | [INFO] [stderr] 578 | let (sender_3, receiver_3) = 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] --> tests/current_thread.rs:674:30 [INFO] [stderr] | [INFO] [stderr] 674 | let (sender, receiver) = 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] --> tests/current_thread.rs:694:34 [INFO] [stderr] | [INFO] [stderr] 694 | let (sender_1, receiver_1) = 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] --> tests/current_thread.rs:726:20 [INFO] [stderr] | [INFO] [stderr] 726 | let (tx, rx) = oneshot::channel(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `oneshot` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 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-executor`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0433]: failed to resolve: could not find `threadpool` in `tokio_executor` [INFO] [stderr] --> tests/threadpool.rs:5:21 [INFO] [stderr] | [INFO] [stderr] 5 | use tokio_executor::threadpool::park::{DefaultPark, DefaultUnpark}; [INFO] [stderr] | ^^^^^^^^^^ could not find `threadpool` in `tokio_executor` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_executor::threadpool` [INFO] [stderr] --> tests/threadpool.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio_executor::threadpool; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `threadpool` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_executor::threadpool` [INFO] [stderr] --> tests/threadpool.rs:6:21 [INFO] [stderr] | [INFO] [stderr] 6 | use tokio_executor::threadpool::*; [INFO] [stderr] | ^^^^^^^^^^ could not find `threadpool` in `tokio_executor` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> tests/threadpool.rs:224:9 [INFO] [stderr] | [INFO] [stderr] 224 | use tokio::sync::mpsc; [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `tokio_test`, `tokio::sync::mpsc` [INFO] [stderr] --> tests/threadpool.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use tokio_test::assert_pending; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stderr] ... [INFO] [stderr] 224 | use tokio::sync::mpsc; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_sync` [INFO] [stderr] --> tests/threadpool.rs:326:9 [INFO] [stderr] | [INFO] [stderr] 326 | use tokio_sync::oneshot; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_sync` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_sync` [INFO] [stderr] --> tests/threadpool.rs:406:9 [INFO] [stderr] | [INFO] [stderr] 406 | use tokio_sync::oneshot; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_sync` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_pending` [INFO] [stderr] --> tests/threadpool.rs:347:13 [INFO] [stderr] | [INFO] [stderr] 347 | assert_pending!(Pin::new(&mut self.as_mut().0).poll(cx)); [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 `Builder` [INFO] [stderr] --> tests/threadpool.rs:33:17 [INFO] [stderr] | [INFO] [stderr] 33 | Builder::new() [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Builder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Builder` [INFO] [stderr] --> tests/threadpool.rs:113:20 [INFO] [stderr] | [INFO] [stderr] 113 | let pool = Builder::new() [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Builder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Builder` [INFO] [stderr] --> tests/threadpool.rs:167:20 [INFO] [stderr] | [INFO] [stderr] 167 | let pool = Builder::new() [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Builder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ThreadPool` [INFO] [stderr] --> tests/threadpool.rs:202:20 [INFO] [stderr] | [INFO] [stderr] 202 | let pool = ThreadPool::new(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `ThreadPool` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ThreadPool` [INFO] [stderr] --> tests/threadpool.rs:231:20 [INFO] [stderr] | [INFO] [stderr] 231 | let pool = ThreadPool::new(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `ThreadPool` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ThreadPool` [INFO] [stderr] --> tests/threadpool.rs:301:16 [INFO] [stderr] | [INFO] [stderr] 301 | let pool = ThreadPool::new(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `ThreadPool` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ThreadPool` [INFO] [stderr] --> tests/threadpool.rs:320:16 [INFO] [stderr] | [INFO] [stderr] 320 | let pool = ThreadPool::new(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `ThreadPool` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Builder` [INFO] [stderr] --> tests/threadpool.rs:329:16 [INFO] [stderr] | [INFO] [stderr] 329 | let pool = Builder::new().pool_size(4).max_blocking(2).build(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Builder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ThreadPool` [INFO] [stderr] --> tests/threadpool.rs:363:16 [INFO] [stderr] | [INFO] [stderr] 363 | let pool = ThreadPool::new(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `ThreadPool` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ThreadPool` [INFO] [stderr] --> tests/threadpool.rs:408:17 [INFO] [stderr] | [INFO] [stderr] 408 | let pool1 = ThreadPool::new(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `ThreadPool` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ThreadPool` [INFO] [stderr] --> tests/threadpool.rs:409:17 [INFO] [stderr] | [INFO] [stderr] 409 | let pool2 = ThreadPool::new(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `ThreadPool` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `DefaultPark` [INFO] [stderr] --> tests/threadpool.rs:476:20 [INFO] [stderr] | [INFO] [stderr] 476 | inner: DefaultPark::new(), [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `DefaultPark` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Shutdown` in this scope [INFO] [stderr] --> tests/threadpool.rs:341:32 [INFO] [stderr] | [INFO] [stderr] 341 | struct IdleFut<'a>(&'a mut Shutdown); [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] 3 | use std::net::Shutdown; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DefaultPark` in this scope [INFO] [stderr] --> tests/threadpool.rs:431:16 [INFO] [stderr] | [INFO] [stderr] 431 | inner: DefaultPark, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DefaultPark` in this scope [INFO] [stderr] --> tests/threadpool.rs:439:23 [INFO] [stderr] | [INFO] [stderr] 439 | type Error = ::Error; [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DefaultUnpark` in this scope [INFO] [stderr] --> tests/threadpool.rs:458:16 [INFO] [stderr] | [INFO] [stderr] 458 | inner: DefaultUnpark, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 0 parameters but 1 parameter was supplied [INFO] [stderr] --> tests/threadpool.rs:238:44 [INFO] [stderr] | [INFO] [stderr] 238 | let (start_tx, mut chain_rx) = mpsc::channel(10); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ expected 0 parameters [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 0 parameters but 1 parameter was supplied [INFO] [stderr] --> tests/threadpool.rs:241:46 [INFO] [stderr] | [INFO] [stderr] 241 | let (mut next_tx, next_rx) = mpsc::channel(10); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ expected 0 parameters [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::result::Result<_, std::sync::mpsc::RecvError>: std::future::Future` is not satisfied [INFO] [stderr] --> tests/threadpool.rs:246:45 [INFO] [stderr] | [INFO] [stderr] 246 | while let Some(v) = chain_rx.recv().await { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ the trait `std::future::Future` is not implemented for `std::result::Result<_, std::sync::mpsc::RecvError>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::result::Result<(), std::sync::mpsc::SendError<_>>: std::future::Future` is not satisfied [INFO] [stderr] --> tests/threadpool.rs:247:29 [INFO] [stderr] | [INFO] [stderr] 247 | ... next_tx.send(v).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ the trait `std::future::Future` is not implemented for `std::result::Result<(), std::sync::mpsc::SendError<_>>` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 0 parameters but 1 parameter was supplied [INFO] [stderr] --> tests/threadpool.rs:256:44 [INFO] [stderr] | [INFO] [stderr] 256 | let (mut final_tx, final_rx) = mpsc::channel(10); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ expected 0 parameters [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::result::Result<_, std::sync::mpsc::RecvError>: std::future::Future` is not satisfied [INFO] [stderr] --> tests/threadpool.rs:263:35 [INFO] [stderr] | [INFO] [stderr] 263 | let msg = chain_rx.recv().await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ the trait `std::future::Future` is not implemented for `std::result::Result<_, std::sync::mpsc::RecvError>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::result::Result<(), std::sync::mpsc::SendError<_>>: std::future::Future` is not satisfied [INFO] [stderr] --> tests/threadpool.rs:268:29 [INFO] [stderr] | [INFO] [stderr] 268 | ... final_tx.send(msg).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::future::Future` is not implemented for `std::result::Result<(), std::sync::mpsc::SendError<_>>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::result::Result<(), std::sync::mpsc::SendError<_>>: std::future::Future` is not satisfied [INFO] [stderr] --> tests/threadpool.rs:270:29 [INFO] [stderr] | [INFO] [stderr] 270 | ... cycle_tx.send(msg).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::future::Future` is not implemented for `std::result::Result<(), std::sync::mpsc::SendError<_>>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::result::Result<(), std::sync::mpsc::SendError<&str>>: std::future::Future` is not satisfied [INFO] [stderr] --> tests/threadpool.rs:285:21 [INFO] [stderr] | [INFO] [stderr] 285 | start_tx.send("ping").await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::future::Future` is not implemented for `std::result::Result<(), std::sync::mpsc::SendError<&str>>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::result::Result<&str, std::sync::mpsc::RecvError>: std::future::Future` is not satisfied [INFO] [stderr] --> tests/threadpool.rs:289:21 [INFO] [stderr] | [INFO] [stderr] 289 | final_rx.recv().await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ the trait `std::future::Future` is not implemented for `std::result::Result<&str, std::sync::mpsc::RecvError>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 12 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[E0432]: unresolved import `tokio_executor::threadpool` [INFO] [stderr] --> benches/threadpool.rs:16:25 [INFO] [stderr] | [INFO] [stderr] 16 | use tokio_executor::threadpool::*; [INFO] [stderr] | ^^^^^^^^^^ could not find `threadpool` in `tokio_executor` [INFO] [stderr] [INFO] [stderr] error: aborting due to 34 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0412, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error[E0432]: unresolved import `futures_cpupool` [INFO] [stderr] --> benches/threadpool.rs:90:9 [INFO] [stderr] | [INFO] [stderr] 90 | use futures_cpupool::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `futures_cpupool` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> benches/threadpool.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | use futures::{future, task, Async}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] error: could not compile `tokio-executor`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `num_cpus` [INFO] [stderr] --> benches/threadpool.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | use num_cpus; [INFO] [stderr] | ^^^^^^^^ no `num_cpus` external crate [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> benches/threadpool.rs:88:9 [INFO] [stderr] | [INFO] [stderr] 88 | use futures::future::{self, Executor}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `futures`, `futures::future::Executor` [INFO] [stderr] --> benches/threadpool.rs:88:9 [INFO] [stderr] | [INFO] [stderr] 88 | use futures::future::{self, Executor}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error: could not compile `tokio-executor`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> benches/threadpool.rs:89:9 [INFO] [stderr] | [INFO] [stderr] 89 | use futures::{task, Async}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `num_cpus` [INFO] [stderr] --> benches/threadpool.rs:91:9 [INFO] [stderr] | [INFO] [stderr] 91 | use num_cpus; [INFO] [stderr] | ^^^^^^^^ no `num_cpus` external crate [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ThreadPool` [INFO] [stderr] --> benches/threadpool.rs:20:26 [INFO] [stderr] | [INFO] [stderr] 20 | let threadpool = ThreadPool::new(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `ThreadPool` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ThreadPool` [INFO] [stderr] --> benches/threadpool.rs:47:26 [INFO] [stderr] | [INFO] [stderr] 47 | let threadpool = ThreadPool::new(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `ThreadPool` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CpuPool` [INFO] [stderr] --> benches/threadpool.rs:98:20 [INFO] [stderr] | [INFO] [stderr] 98 | let pool = CpuPool::new(num_cpus::get()); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `CpuPool` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CpuPool` [INFO] [stderr] --> benches/threadpool.rs:127:20 [INFO] [stderr] | [INFO] [stderr] 127 | let pool = CpuPool::new(num_cpus::get()); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `CpuPool` [INFO] [stderr] [INFO] [stderr] error: aborting due to 12 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-executor`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "fb0b733ddf49ff93b91514b6a071c425d4be0c390ff848dd92bc929d142975c9"` [INFO] running `"docker" "rm" "-f" "fb0b733ddf49ff93b91514b6a071c425d4be0c390ff848dd92bc929d142975c9"` [INFO] [stdout] fb0b733ddf49ff93b91514b6a071c425d4be0c390ff848dd92bc929d142975c9