Skip to content

Instantly share code, notes, and snippets.

@Janonard
Created December 21, 2018 11:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Janonard/bd7f865654ff5bd4224e28a2d426f21a to your computer and use it in GitHub Desktop.
Save Janonard/bd7f865654ff5bd4224e28a2d426f21a to your computer and use it in GitHub Desktop.
thread 'tokio-runtime-worker-2' panicked at 'NoopWake cannot wake', /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-async-await-0.1.4/src/compat/backward.rs:87:9
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
1: std::sys_common::backtrace::_print
at src/libstd/sys_common/backtrace.rs:72
2: std::panicking::default_hook::{{closure}}
at src/libstd/sys_common/backtrace.rs:60
at src/libstd/panicking.rs:210
3: std::panicking::default_hook
at src/libstd/panicking.rs:225
4: std::panicking::rust_panic_with_hook
at src/libstd/panicking.rs:488
5: std::panicking::begin_panic
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/panicking.rs:422
6: <tokio_async_await::compat::backward::NoopWaker as core::task::wake::UnsafeWake>::wake
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-async-await-0.1.4/src/compat/backward.rs:87
7: core::task::wake::Waker::wake
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libcore/task/wake.rs:51
8: <async_test::SenderPoll<'a> as core::future::future::Future>::poll
at src/main.rs:104
9: std::future::poll_with_tls_waker::{{closure}}
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/future.rs:110
10: std::future::get_task_waker
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/future.rs:101
11: std::future::poll_with_tls_waker
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/future.rs:110
12: async_test::send::{{closure}}
at src/main.rs:117
13: <std::future::GenFuture<T> as core::future::future::Future>::poll::{{closure}}
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/future.rs:46
14: std::future::set_task_waker
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/future.rs:77
15: <std::future::GenFuture<T> as core::future::future::Future>::poll
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/future.rs:46
16: std::future::poll_with_tls_waker::{{closure}}
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/future.rs:110
17: std::future::get_task_waker
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/future.rs:101
18: std::future::poll_with_tls_waker
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/future.rs:110
19: tokio::async_await::map_ok::{{closure}}
at ./<::std::macros::await macros>:4
20: <std::future::GenFuture<T> as core::future::future::Future>::poll::{{closure}}
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/future.rs:46
21: std::future::set_task_waker
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/future.rs:77
22: <std::future::GenFuture<T> as core::future::future::Future>::poll
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/future.rs:46
23: <tokio_async_await::compat::backward::Compat<T> as futures::future::Future>::poll
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-async-await-0.1.4/src/compat/backward.rs:54
24: <alloc::boxed::Box<F> as futures::future::Future>::poll
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/future/mod.rs:113
25: <futures::task_impl::Spawn<T>>::poll_future_notify::{{closure}}
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/task_impl/mod.rs:326
26: <futures::task_impl::Spawn<T>>::enter::{{closure}}
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/task_impl/mod.rs:396
27: futures::task_impl::std::set
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/task_impl/std/mod.rs:78
28: <futures::task_impl::Spawn<T>>::enter
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/task_impl/mod.rs:396
29: <futures::task_impl::Spawn<T>>::poll_fn_notify
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/task_impl/mod.rs:288
30: <futures::task_impl::Spawn<T>>::poll_future_notify
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/task_impl/mod.rs:326
31: tokio_threadpool::task::Task::run::{{closure}}
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.9/src/task/mod.rs:127
32: core::ops::function::FnOnce::call_once
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libcore/ops/function.rs:241
33: <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/panic.rs:319
34: std::panicking::try::do_call
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/panicking.rs:307
35: __rust_maybe_catch_panic
at src/libpanic_unwind/lib.rs:102
36: std::panicking::try
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/panicking.rs:286
37: std::panic::catch_unwind
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/panic.rs:398
38: tokio_threadpool::task::Task::run
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.9/src/task/mod.rs:113
39: tokio_threadpool::worker::Worker::run_task2
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.9/src/worker/mod.rs:560
40: tokio_threadpool::worker::Worker::run_task
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.9/src/worker/mod.rs:461
41: tokio_threadpool::worker::Worker::try_run_owned_task
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.9/src/worker/mod.rs:401
42: tokio_threadpool::worker::Worker::try_run_task
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.9/src/worker/mod.rs:309
43: tokio_threadpool::worker::Worker::run
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.9/src/worker/mod.rs:250
44: tokio::runtime::builder::Builder::build::{{closure}}::{{closure}}::{{closure}}::{{closure}}
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.13/src/runtime/builder.rs:340
45: tokio_timer::timer::handle::with_default::{{closure}}
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-timer-0.2.8/src/timer/handle.rs:94
46: <std::thread::local::LocalKey<T>>::try_with
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/thread/local.rs:309
47: <std::thread::local::LocalKey<T>>::with
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/thread/local.rs:255
48: tokio_timer::timer::handle::with_default
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-timer-0.2.8/src/timer/handle.rs:81
49: tokio::runtime::builder::Builder::build::{{closure}}::{{closure}}::{{closure}}
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.13/src/runtime/builder.rs:339
50: tokio_timer::clock::clock::with_default::{{closure}}
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-timer-0.2.8/src/clock/clock.rs:136
51: <std::thread::local::LocalKey<T>>::try_with
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/thread/local.rs:309
52: <std::thread::local::LocalKey<T>>::with
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/thread/local.rs:255
53: tokio_timer::clock::clock::with_default
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-timer-0.2.8/src/clock/clock.rs:119
54: tokio::runtime::builder::Builder::build::{{closure}}::{{closure}}
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.13/src/runtime/builder.rs:338
55: tokio_reactor::with_default::{{closure}}
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-reactor-0.1.7/src/lib.rs:229
56: <std::thread::local::LocalKey<T>>::try_with
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/thread/local.rs:309
57: <std::thread::local::LocalKey<T>>::with
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/thread/local.rs:255
58: tokio_reactor::with_default
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-reactor-0.1.7/src/lib.rs:212
59: tokio::runtime::builder::Builder::build::{{closure}}
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.13/src/runtime/builder.rs:337
60: tokio_threadpool::callback::Callback::call
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.9/src/callback.rs:21
61: tokio_threadpool::worker::Worker::do_run::{{closure}}::{{closure}}
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.9/src/worker/mod.rs:132
62: tokio_executor::global::with_default::{{closure}}
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-executor-0.1.5/src/global.rs:192
63: <std::thread::local::LocalKey<T>>::try_with
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/thread/local.rs:309
64: <std::thread::local::LocalKey<T>>::with
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/thread/local.rs:255
65: tokio_executor::global::with_default
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-executor-0.1.5/src/global.rs:162
66: tokio_threadpool::worker::Worker::do_run::{{closure}}
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.9/src/worker/mod.rs:130
67: <std::thread::local::LocalKey<T>>::try_with
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/thread/local.rs:309
68: <std::thread::local::LocalKey<T>>::with
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/thread/local.rs:255
69: tokio_threadpool::worker::Worker::do_run
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.9/src/worker/mod.rs:121
70: tokio_threadpool::pool::Pool::spawn_thread::{{closure}}
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.9/src/pool/mod.rs:386
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment