Skip to content

Instantly share code, notes, and snippets.

@gak
Created January 5, 2023 07:55
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 gak/d0e2d43ff4bc436de7b598624c4f9b1c to your computer and use it in GitHub Desktop.
Save gak/d0e2d43ff4bc436de7b598624c4f9b1c to your computer and use it in GitHub Desktop.
thread 'smol-1' panicked at 'there is no reactor running, must be called from the context of a Tokio 1.x runtime', .cargo\registry\src\github.com-1ecc6299db9ec823\interceptor-0.8.2\src\stats\interceptor.rs:101:9
stack backtrace:
0: std::panicking::begin_panic_handler
at /rustc/edf0182213a9e30982eb34f3925ddc4cf5ed3471/library\std\src\panicking.rs:575
1: core::panicking::panic_fmt
at /rustc/edf0182213a9e30982eb34f3925ddc4cf5ed3471/library\core\src\panicking.rs:65
2: core::panicking::panic_display<tokio::runtime::handle::TryCurrentError>
at /rustc/edf0182213a9e30982eb34f3925ddc4cf5ed3471\library\core\src\panicking.rs:139
3: enum2$<tokio::runtime::scheduler::Handle>::current
at .cargo\registry\src\github.com-1ecc6299db9ec823\tokio-1.23.0\src\runtime\scheduler\mod.rs:57
4: tokio::task::spawn::spawn_inner
at .cargo\registry\src\github.com-1ecc6299db9ec823\tokio-1.23.0\src\task\spawn.rs:184
5: tokio::task::spawn::spawn<core::future::from_generator::GenFuture<enum2$<interceptor::stats::interceptor::run_stats_reducer::async_fn_env$0> > >
at .cargo\registry\src\github.com-1ecc6299db9ec823\tokio-1.23.0\src\task\spawn.rs:171
6: interceptor::stats::interceptor::StatsInterceptor::new
at .cargo\registry\src\github.com-1ecc6299db9ec823\interceptor-0.8.2\src\stats\interceptor.rs:101
7: interceptor::stats::make_stats_interceptor
at .cargo\registry\src\github.com-1ecc6299db9ec823\interceptor-0.8.2\src\stats\mod.rs:12
8: core::future::from_generator::impl$1::poll
at /rustc/edf0182213a9e30982eb34f3925ddc4cf5ed3471\library\core\src\future\mod.rs:91
9: free::network::native_webrtc::connection::impl$1::answer::async_fn$0
at .\free\src\network\native_webrtc\connection.rs:83
10: core::future::from_generator::impl$1::poll
at /rustc/edf0182213a9e30982eb34f3925ddc4cf5ed3471\library\core\src\future\mod.rs:91
11: async_executor::impl$4::spawn::async_block$0
at .cargo\registry\src\github.com-1ecc6299db9ec823\async-executor-1.5.0\src\lib.rs:139
12: core::future::from_generator::impl$1::poll<enum2$<async_executor::impl$4::spawn::async_block_env$0<tuple$<>,core::future::from_generator::GenFuture<enum2$<free::network::native_webrtc::party::impl$0::handle_signalling_for_connection::async_fn_env$0> > > >
at /rustc/edf0182213a9e30982eb34f3925ddc4cf5ed3471\library\core\src\future\mod.rs:91
13: core::future::future::impl$1::poll
at /rustc/edf0182213a9e30982eb34f3925ddc4cf5ed3471\library\core\src\future\future.rs:124
14: async_task::raw::RawTask<core::pin::Pin<alloc::boxed::Box<core::future::from_generator::GenFuture<enum2$<async_executor::impl$4::spawn::async_block_env$0<tuple$<>,core::future::from_generator::GenFuture<enum2$<free::network::native_webrtc::party::impl$0::
at .cargo\registry\src\github.com-1ecc6299db9ec823\async-task-4.3.0\src\raw.rs:511
15: async_executor::impl$4::run::async_fn$0::async_block$0
at .cargo\registry\src\github.com-1ecc6299db9ec823\async-executor-1.5.0\src\lib.rs:230
16: core::future::from_generator::impl$1::poll<enum2$<async_executor::impl$4::run::async_fn$0::async_block_env$0<tuple$<>,futures_lite::future::Pending<tuple$<> > > > >
at /rustc/edf0182213a9e30982eb34f3925ddc4cf5ed3471\library\core\src\future\mod.rs:91
17: futures_lite::future::impl$12::poll
at .cargo\registry\src\github.com-1ecc6299db9ec823\futures-lite-1.12.0\src\future.rs:529
18: async_executor::impl$4::run::async_fn$0
at .cargo\registry\src\github.com-1ecc6299db9ec823\async-executor-1.5.0\src\lib.rs:237
19: core::future::from_generator::impl$1::poll<enum2$<async_executor::impl$4::run::async_fn_env$0<tuple$<>,futures_lite::future::Pending<tuple$<> > > > >
at /rustc/edf0182213a9e30982eb34f3925ddc4cf5ed3471\library\core\src\future\mod.rs:91
20: async_io::driver::block_on<tuple$<>,core::future::from_generator::GenFuture<enum2$<async_executor::impl$4::run::async_fn_env$0<tuple$<>,futures_lite::future::Pending<tuple$<> > > > > >
at .cargo\registry\src\github.com-1ecc6299db9ec823\async-io-1.12.0\src\driver.rs:146
21: smol::spawn::spawn::global::closure$0::closure$1::closure$0
at .cargo\registry\src\github.com-1ecc6299db9ec823\smol-1.3.0\src\spawn.rs:47
22: std::panicking::try::do_call
at /rustc/edf0182213a9e30982eb34f3925ddc4cf5ed3471\library\std\src\panicking.rs:483
23: std::panicking::try
at /rustc/edf0182213a9e30982eb34f3925ddc4cf5ed3471\library\std\src\panicking.rs:447
24: std::panic::catch_unwind
at /rustc/edf0182213a9e30982eb34f3925ddc4cf5ed3471\library\std\src\panic.rs:137
25: smol::spawn::spawn::global::closure$0::closure$1
at .cargo\registry\src\github.com-1ecc6299db9ec823\smol-1.3.0\src\spawn.rs:47
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