Created
December 23, 2020 23:15
-
-
Save caulagi/f067daef063650b2afe8a129529c079b to your computer and use it in GitHub Desktop.
there is no reactor running
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
thread 'main' panicked at 'there is no reactor running, must be called from the context of Tokio runtime', /Users/pradip.caulagi/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.24/src/io/driver/mod.rs:204:14 | |
stack backtrace: | |
0: rust_begin_unwind | |
at /rustc/7eac88abb2e57e752f3302f02be5f3ce3d7adfb4/library/std/src/panicking.rs:483 | |
1: core::panicking::panic_fmt | |
at /rustc/7eac88abb2e57e752f3302f02be5f3ce3d7adfb4/library/core/src/panicking.rs:85 | |
2: core::option::expect_failed | |
at /rustc/7eac88abb2e57e752f3302f02be5f3ce3d7adfb4/library/core/src/option.rs:1226 | |
3: core::option::Option<T>::expect | |
at /Users/pradip.caulagi/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/core/src/option.rs:346 | |
4: tokio::io::driver::Handle::current | |
at /Users/pradip.caulagi/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.24/src/io/driver/mod.rs:203 | |
5: tokio::io::registration::Registration::new_with_ready | |
at /Users/pradip.caulagi/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.24/src/io/registration.rs:106 | |
6: tokio::io::poll_evented::PollEvented<E>::new_with_ready | |
at /Users/pradip.caulagi/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.24/src/io/poll_evented.rs:206 | |
7: tokio::io::poll_evented::PollEvented<E>::new | |
at /Users/pradip.caulagi/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.24/src/io/poll_evented.rs:178 | |
8: tokio::net::tcp::listener::TcpListener::from_std | |
at /Users/pradip.caulagi/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.24/src/net/tcp/listener.rs:268 | |
9: hyper::server::tcp::AddrIncoming::from_std | |
at /Users/pradip.caulagi/.cargo/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.9/src/server/tcp.rs:33 | |
10: hyper::server::tcp::AddrIncoming::new | |
at /Users/pradip.caulagi/.cargo/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.9/src/server/tcp.rs:29 | |
11: hyper::server::tcp::AddrIncoming::bind | |
at /Users/pradip.caulagi/.cargo/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.9/src/server/tcp.rs:47 | |
12: tonic::transport::server::incoming::TcpIncoming::new | |
at /Users/pradip.caulagi/.cargo/registry/src/github.com-1ecc6299db9ec823/tonic-0.3.1/src/transport/server/incoming.rs:54 | |
13: tonic::transport::server::Router<A,B>::serve::{{closure}} | |
at /Users/pradip.caulagi/.cargo/registry/src/github.com-1ecc6299db9ec823/tonic-0.3.1/src/transport/server/mod.rs:419 | |
14: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll | |
at /Users/pradip.caulagi/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/core/src/future/mod.rs:80 | |
15: quotation_server::main::{{closure}} | |
at ./src/main.rs:68 | |
16: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll | |
at /Users/pradip.caulagi/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/core/src/future/mod.rs:80 | |
17: tokio::park::thread::CachedParkThread::block_on::{{closure}} | |
at /Users/pradip.caulagi/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.0.0/src/park/thread.rs:263 | |
18: tokio::coop::with_budget::{{closure}} | |
at /Users/pradip.caulagi/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.0.0/src/coop.rs:121 | |
19: std::thread::local::LocalKey<T>::try_with | |
at /Users/pradip.caulagi/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/std/src/thread/local.rs:272 | |
20: std::thread::local::LocalKey<T>::with | |
at /Users/pradip.caulagi/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/std/src/thread/local.rs:248 | |
21: tokio::coop::with_budget | |
at /Users/pradip.caulagi/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.0.0/src/coop.rs:114 | |
22: tokio::coop::budget | |
at /Users/pradip.caulagi/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.0.0/src/coop.rs:98 | |
23: tokio::park::thread::CachedParkThread::block_on | |
at /Users/pradip.caulagi/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.0.0/src/park/thread.rs:263 | |
24: tokio::runtime::enter::Enter::block_on | |
at /Users/pradip.caulagi/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.0.0/src/runtime/enter.rs:151 | |
25: tokio::runtime::thread_pool::ThreadPool::block_on | |
at /Users/pradip.caulagi/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.0.0/src/runtime/thread_pool/mod.rs:71 | |
26: tokio::runtime::Runtime::block_on | |
at /Users/pradip.caulagi/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.0.0/src/runtime/mod.rs:452 | |
27: quotation_server::main | |
at ./src/main.rs:60 | |
28: core::ops::function::FnOnce::call_once | |
at /Users/pradip.caulagi/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/core/src/ops/function.rs:227 | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment