Skip to content

Instantly share code, notes, and snippets.

@JOOpdenhoevel
Created December 21, 2018 11:24
Show Gist options
  • Save JOOpdenhoevel/e5b346e9842a289e0bf1cfb79ddc8478 to your computer and use it in GitHub Desktop.
Save JOOpdenhoevel/e5b346e9842a289e0bf1cfb79ddc8478 to your computer and use it in GitHub Desktop.
thread 'tokio-runtime-worker-2' panicked at 'called `Result::unwrap()` on an `Err` value: ()', src/libcore/result.rs:1009:5
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::continue_panic_fmt
at src/libstd/panicking.rs:395
6: rust_begin_unwind
at src/libstd/panicking.rs:322
7: core::panicking::panic_fmt
at src/libcore/panicking.rs:95
8: core::result::unwrap_failed
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libcore/macros.rs:26
9: <core::result::Result<T, E>>::unwrap
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libcore/result.rs:808
10: noopwake_bug::send::{{closure}}
at src/main.rs:117
11: <std::future::GenFuture<T> as core::future::future::Future>::poll::{{closure}}
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/future.rs:46
12: std::future::set_task_waker
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/future.rs:77
13: <std::future::GenFuture<T> as core::future::future::Future>::poll
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/future.rs:46
14: std::future::poll_with_tls_waker::{{closure}}
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/future.rs:110
15: std::future::get_task_waker
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/future.rs:101
16: std::future::poll_with_tls_waker
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/future.rs:110
17: tokio::async_await::map_ok::{{closure}}
at ./<::std::macros::await macros>:4
18: <std::future::GenFuture<T> as core::future::future::Future>::poll::{{closure}}
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/future.rs:46
19: std::future::set_task_waker
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/future.rs:77
20: <std::future::GenFuture<T> as core::future::future::Future>::poll
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/future.rs:46
21: <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
22: <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
23: <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
24: <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
25: 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
26: <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
27: <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
28: <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
29: 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
30: core::ops::function::FnOnce::call_once
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libcore/ops/function.rs:241
31: <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/panic.rs:319
32: std::panicking::try::do_call
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/panicking.rs:307
33: __rust_maybe_catch_panic
at src/libpanic_unwind/lib.rs:102
34: std::panicking::try
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/panicking.rs:286
35: std::panic::catch_unwind
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/panic.rs:398
36: tokio_threadpool::task::Task::run
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.9/src/task/mod.rs:113
37: 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
38: 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
39: 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
40: 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
41: tokio_threadpool::worker::Worker::run
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.9/src/worker/mod.rs:250
42: 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
43: 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
44: <std::thread::local::LocalKey<T>>::try_with
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/thread/local.rs:309
45: <std::thread::local::LocalKey<T>>::with
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/thread/local.rs:255
46: 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
47: 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
48: 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
49: <std::thread::local::LocalKey<T>>::try_with
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/thread/local.rs:309
50: <std::thread::local::LocalKey<T>>::with
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/thread/local.rs:255
51: 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
52: 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
53: tokio_reactor::with_default::{{closure}}
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-reactor-0.1.7/src/lib.rs:229
54: <std::thread::local::LocalKey<T>>::try_with
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/thread/local.rs:309
55: <std::thread::local::LocalKey<T>>::with
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/thread/local.rs:255
56: tokio_reactor::with_default
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-reactor-0.1.7/src/lib.rs:212
57: tokio::runtime::builder::Builder::build::{{closure}}
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.13/src/runtime/builder.rs:337
58: tokio_threadpool::callback::Callback::call
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.9/src/callback.rs:21
59: 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
60: tokio_executor::global::with_default::{{closure}}
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-executor-0.1.5/src/global.rs:192
61: <std::thread::local::LocalKey<T>>::try_with
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/thread/local.rs:309
62: <std::thread::local::LocalKey<T>>::with
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/thread/local.rs:255
63: tokio_executor::global::with_default
at /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-executor-0.1.5/src/global.rs:162
64: 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
65: <std::thread::local::LocalKey<T>>::try_with
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/thread/local.rs:309
66: <std::thread::local::LocalKey<T>>::with
at /rustc/09d6ab90e556bf692ff3f8790d97b3ca4fee94b0/src/libstd/thread/local.rs:255
67: 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
68: 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