You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
» RUST_BACKTRACE=1 cargo run
Finished dev [unoptimized + debuginfo] target(s) in 0.05s
Running `target/debug/roa-tokio-test`
thread 'main' panicked at 'there is no reactor running, must be called from the context of a Tokio 0.2.x runtime', /home/you06/.cargo/registry/src/mirrors.sjtug.sjtu.edu.cn-4f7dbcce21e258a2/tokio-0.2.25/src/io/driver/mod.rs:203:30
stack backtrace:
0: rust_begin_unwind
at /rustc/08095fc1f875c89e507f17cf6c6a780c8ffa4c01/library/std/src/panicking.rs:515:5
1: core::panicking::panic_fmt
at /rustc/08095fc1f875c89e507f17cf6c6a780c8ffa4c01/library/core/src/panicking.rs:92:14
2: core::option::expect_failed
at /rustc/08095fc1f875c89e507f17cf6c6a780c8ffa4c01/library/core/src/option.rs:1578:5
3: core::option::Option<T>::expect
at /rustc/08095fc1f875c89e507f17cf6c6a780c8ffa4c01/library/core/src/option.rs:685:21
4: tokio::io::driver::Handle::current
at /home/you06/.cargo/registry/src/mirrors.sjtug.sjtu.edu.cn-4f7dbcce21e258a2/tokio-0.2.25/src/io/driver/mod.rs:203:9
5: tokio::io::registration::Registration::new_with_ready
at /home/you06/.cargo/registry/src/mirrors.sjtug.sjtu.edu.cn-4f7dbcce21e258a2/tokio-0.2.25/src/io/registration.rs:106:22
6: tokio::io::poll_evented::PollEvented<E>::new_with_ready
at /home/you06/.cargo/registry/src/mirrors.sjtug.sjtu.edu.cn-4f7dbcce21e258a2/tokio-0.2.25/src/io/poll_evented.rs:206:28
7: tokio::io::poll_evented::PollEvented<E>::new
at /home/you06/.cargo/registry/src/mirrors.sjtug.sjtu.edu.cn-4f7dbcce21e258a2/tokio-0.2.25/src/io/poll_evented.rs:178:9
8: tokio::net::tcp::listener::TcpListener::from_std
at /home/you06/.cargo/registry/src/mirrors.sjtug.sjtu.edu.cn-4f7dbcce21e258a2/tokio-0.2.25/src/net/tcp/listener.rs:268:18
9: roa_tokio::net::TcpIncoming::from_std
at /home/you06/.cargo/registry/src/mirrors.sjtug.sjtu.edu.cn-4f7dbcce21e258a2/roa-tokio-0.5.1/src/net.rs:37:23
10: roa_tokio::net::TcpIncoming::bind
at /home/you06/.cargo/registry/src/mirrors.sjtug.sjtu.edu.cn-4f7dbcce21e258a2/roa-tokio-0.5.1/src/net.rs:30:9
11: roa_tokio_test::main::{{closure}}
at ./src/main.rs:12:20
12: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
at /rustc/08095fc1f875c89e507f17cf6c6a780c8ffa4c01/library/core/src/future/mod.rs:80:19
13: tokio::park::thread::CachedParkThread::block_on::{{closure}}
at /home/you06/.cargo/registry/src/mirrors.sjtug.sjtu.edu.cn-4f7dbcce21e258a2/tokio-1.15.0/src/park/thread.rs:263:54
14: tokio::coop::with_budget::{{closure}}
at /home/you06/.cargo/registry/src/mirrors.sjtug.sjtu.edu.cn-4f7dbcce21e258a2/tokio-1.15.0/src/coop.rs:102:9
15: std::thread::local::LocalKey<T>::try_with
at /rustc/08095fc1f875c89e507f17cf6c6a780c8ffa4c01/library/std/src/thread/local.rs:399:16
16: std::thread::local::LocalKey<T>::with
at /rustc/08095fc1f875c89e507f17cf6c6a780c8ffa4c01/library/std/src/thread/local.rs:375:9
17: tokio::coop::with_budget
at /home/you06/.cargo/registry/src/mirrors.sjtug.sjtu.edu.cn-4f7dbcce21e258a2/tokio-1.15.0/src/coop.rs:95:5
18: tokio::coop::budget
at /home/you06/.cargo/registry/src/mirrors.sjtug.sjtu.edu.cn-4f7dbcce21e258a2/tokio-1.15.0/src/coop.rs:72:5
19: tokio::park::thread::CachedParkThread::block_on
at /home/you06/.cargo/registry/src/mirrors.sjtug.sjtu.edu.cn-4f7dbcce21e258a2/tokio-1.15.0/src/park/thread.rs:263:31
20: tokio::runtime::enter::Enter::block_on
at /home/you06/.cargo/registry/src/mirrors.sjtug.sjtu.edu.cn-4f7dbcce21e258a2/tokio-1.15.0/src/runtime/enter.rs:151:13
21: tokio::runtime::thread_pool::ThreadPool::block_on
at /home/you06/.cargo/registry/src/mirrors.sjtug.sjtu.edu.cn-4f7dbcce21e258a2/tokio-1.15.0/src/runtime/thread_pool/mod.rs:77:9
22: tokio::runtime::Runtime::block_on
at /home/you06/.cargo/registry/src/mirrors.sjtug.sjtu.edu.cn-4f7dbcce21e258a2/tokio-1.15.0/src/runtime/mod.rs:463:43
23: roa_tokio_test::main
at ./src/main.rs:15:5
24: core::ops::function::FnOnce::call_once
at /rustc/08095fc1f875c89e507f17cf6c6a780c8ffa4c01/library/core/src/ops/function.rs:227:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
The text was updated successfully, but these errors were encountered:
I tried this case and got failed.
Dependencies.
The text was updated successfully, but these errors were encountered: