Skip to content

Instantly share code, notes, and snippets.

@Toma400
Created February 28, 2023 10:09
Show Gist options
  • Save Toma400/b4752dc2afe790f2ca544d67a7f92ed9 to your computer and use it in GitHub Desktop.
Save Toma400/b4752dc2afe790f2ca544d67a7f92ed9 to your computer and use it in GitHub Desktop.
AG Permissions issue
thread 'main' panicked at 'REASON', src\main.rs:653:38
stack backtrace:
0: 0x7ff7de423f52 - std::backtrace_rs::backtrace::dbghelp::trace
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library\std\src\..\..\backtrace\src\backtrace\dbghelp.rs:98
1: 0x7ff7de423f52 - std::backtrace_rs::backtrace::trace_unsynchronized
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library\std\src\..\..\backtrace\src\backtrace\mod.rs:66
2: 0x7ff7de423f52 - std::sys_common::backtrace::_print_fmt
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library\std\src\sys_common\backtrace.rs:65
3: 0x7ff7de423f52 - std::sys_common::backtrace::_print::impl$0::fmt
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library\std\src\sys_common\backtrace.rs:44
4: 0x7ff7de43cf3b - core::fmt::write
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library\core\src\fmt\mod.rs:1209
5: 0x7ff7de41e3ea - std::io::Write::write_fmt<std::sys::windows::stdio::Stderr>
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library\std\src\io\mod.rs:1682
6: 0x7ff7de423c9b - std::sys_common::backtrace::_print
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library\std\src\sys_common\backtrace.rs:47
7: 0x7ff7de423c9b - std::sys_common::backtrace::print
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library\std\src\sys_common\backtrace.rs:34
8: 0x7ff7de426659 - std::panicking::default_hook::closure$1
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library\std\src\panicking.rs:267
9: 0x7ff7de4262da - std::panicking::default_hook
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library\std\src\panicking.rs:286
10: 0x7ff7de426ee1 - std::panicking::rust_panic_with_hook
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library\std\src\panicking.rs:688
11: 0x7ff7de426c6d - std::panicking::begin_panic_handler::closure$0
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library\std\src\panicking.rs:579
12: 0x7ff7de42497f - std::sys_common::backtrace::__rust_end_short_backtrace<std::panicking::begin_panic_handler::closure_env$0,never$>
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library\std\src\sys_common\backtrace.rs:137
13: 0x7ff7de426930 - std::panicking::begin_panic_handler
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library\std\src\panicking.rs:575
14: 0x7ff7de45f435 - core::panicking::panic_fmt
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library\core\src\panicking.rs:65
15: 0x7ff7de43ad90 - core::panicking::panic_display<str>
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library\core\src\panicking.rs:139
16: 0x7ff7de43ad3b - core::panicking::panic_str
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library\core\src\panicking.rs:123
17: 0x7ff7de45f3f9 - core::option::expect_failed
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library\core\src\option.rs:1879
18: 0x7ff7dd94388c - enum2$<core::option::Option<serenity::model::guild::member::Member> >::expect<serenity::model::guild::member::Member>
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943\library\core\src\option.rs:741
19: 0x7ff7dd958b3e - AirshipGuard::impl$1::message::async_block$0
at D:\Ministerstwo Kalibracyjne\Atom_Projects\AirshipGuard\src\main.rs:653
20: 0x7ff7dd9492a4 - core::future::from_generator::impl$1::poll<enum2$<AirshipGuard::impl$1::message::async_block_env$0> >
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943\library\core\src\future\mod.rs:91
21: 0x7ff7ddbc29bc - core::future::future::impl$1::poll<alloc::boxed::Box<dyn$<core::future::future::Future<assoc$<Output,tuple$<> > >,core::marker::Send>,alloc::alloc::Global> >
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943\library\core\src\future\future.rs:124
22: 0x7ff7ddb07db5 - serenity::client::dispatch::dispatch_message::async_fn$0::async_block$0
at C:\Users\Ryzen 5\.cargo\registry\src\github.com-1ecc6299db9ec823\serenity-0.9.4\src\client\dispatch.rs:307
23: 0x7ff7ddbe2c44 - core::future::from_generator::impl$1::poll<enum2$<serenity::client::dispatch::dispatch_message::async_fn$0::async_block_env$0> >
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943\library\core\src\future\mod.rs:91
24: 0x7ff7ddc32797 - tokio::runtime::task::core::impl$3::poll::closure$0<core::future::from_generator::GenFuture<enum2$<serenity::client::dispatch::dispatch_message::async_fn$0::async_block_env$0> >,alloc::sync::Arc<tokio::runtime::basic_scheduler::Shared> >
at C:\Users\Ryzen 5\.cargo\registry\src\github.com-1ecc6299db9ec823\tokio-0.2.25\src\runtime\task\core.rs:173
25: 0x7ff7ddc15df2 - tokio::loom::std::unsafe_cell::UnsafeCell<enum2$<tokio::runtime::task::core::Stage<core::future::from_generator::GenFuture<enum2$<serenity::client::dispatch::dispatch_message::async_fn$0::async_block_env$0> > > > >::with_mut<enum2$<tokio::runtime::task::c
at C:\Users\Ryzen 5\.cargo\registry\src\github.com-1ecc6299db9ec823\tokio-0.2.25\src\loom\std\unsafe_cell.rs:14
26: 0x7ff7ddc30b93 - tokio::runtime::task::core::Core<core::future::from_generator::GenFuture<enum2$<serenity::client::dispatch::dispatch_message::async_fn$0::async_block_env$0> >,alloc::sync::Arc<tokio::runtime::basic_scheduler::Shared> >::poll<core::future::from_generator::
at C:\Users\Ryzen 5\.cargo\registry\src\github.com-1ecc6299db9ec823\tokio-0.2.25\src\runtime\task\core.rs:158
27: 0x7ff7ddd23255 - tokio::runtime::task::harness::impl$1::poll::closure$0<core::future::from_generator::GenFuture<enum2$<serenity::client::dispatch::dispatch_message::async_fn$0::async_block_env$0> >,alloc::sync::Arc<tokio::runtime::basic_scheduler::Shared> >
at C:\Users\Ryzen 5\.cargo\registry\src\github.com-1ecc6299db9ec823\tokio-0.2.25\src\runtime\task\harness.rs:107
28: 0x7ff7dd98f06a - core::ops::function::FnOnce::call_once<tokio::runtime::task::harness::impl$1::poll::closure_env$0<core::future::from_generator::GenFuture<enum2$<serenity::client::dispatch::dispatch_message::async_fn$0::async_block_env$0> >,alloc::sync::Arc<tokio::runtime
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943\library\core\src\ops\function.rs:251
29: 0x7ff7ddae76eb - core::panic::unwind_safe::impl$23::call_once<enum2$<core::task::poll::Poll<enum2$<core::result::Result<tuple$<>,tokio::runtime::task::error::JoinError> > > >,tokio::runtime::task::harness::impl$1::poll::closure_env$0<core::future::from_generator::GenFutur
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943\library\core\src\panic\unwind_safe.rs:271
30: 0x7ff7ddb5d349 - std::panicking::try::do_call<core::panic::unwind_safe::AssertUnwindSafe<tokio::runtime::task::harness::impl$1::poll::closure_env$0<core::future::from_generator::GenFuture<enum2$<serenity::client::dispatch::dispatch_message::async_fn$0::async_block_env$0>
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943\library\std\src\panicking.rs:483
31: 0x7ff7ddb836a3 - serenity::error::impl$13::fmt
32: 0x7ff7ddb56e34 - std::panicking::try<enum2$<core::task::poll::Poll<enum2$<core::result::Result<tuple$<>,tokio::runtime::task::error::JoinError> > > >,core::panic::unwind_safe::AssertUnwindSafe<tokio::runtime::task::harness::impl$1::poll::closure_env$0<core::future::from_g
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943\library\std\src\panicking.rs:447
33: 0x7ff7dd9cf9eb - std::panic::catch_unwind<core::panic::unwind_safe::AssertUnwindSafe<tokio::runtime::task::harness::impl$1::poll::closure_env$0<core::future::from_generator::GenFuture<enum2$<serenity::client::dispatch::dispatch_message::async_fn$0::async_block_env$0> >,al
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943\library\std\src\panic.rs:137
34: 0x7ff7ddd18c12 - tokio::runtime::task::harness::Harness<core::future::from_generator::GenFuture<enum2$<serenity::client::dispatch::dispatch_message::async_fn$0::async_block_env$0> >,alloc::sync::Arc<tokio::runtime::basic_scheduler::Shared> >::poll<core::future::from_gener
at C:\Users\Ryzen 5\.cargo\registry\src\github.com-1ecc6299db9ec823\tokio-0.2.25\src\runtime\task\harness.rs:89
35: 0x7ff7ddaf67d2 - tokio::runtime::task::raw::poll<core::future::from_generator::GenFuture<enum2$<serenity::client::dispatch::dispatch_message::async_fn$0::async_block_env$0> >,alloc::sync::Arc<tokio::runtime::basic_scheduler::Shared> >
at C:\Users\Ryzen 5\.cargo\registry\src\github.com-1ecc6299db9ec823\tokio-0.2.25\src\runtime\task\raw.rs:104
36: 0x7ff7de1fe560 - tokio::runtime::task::raw::RawTask::poll
at C:\Users\Ryzen 5\.cargo\registry\src\github.com-1ecc6299db9ec823\tokio-0.2.25\src\runtime\task\raw.rs:66
37: 0x7ff7dd8ccec7 - tokio::runtime::task::Notified<alloc::sync::Arc<tokio::runtime::basic_scheduler::Shared> >::run<alloc::sync::Arc<tokio::runtime::basic_scheduler::Shared> >
at C:\Users\Ryzen 5\.cargo\registry\src\github.com-1ecc6299db9ec823\tokio-0.2.25\src\runtime\task\mod.rs:169
38: 0x7ff7dd97aa3e - tokio::runtime::basic_scheduler::impl$0::block_on::closure$0::closure$3<enum2$<tokio::park::either::Either<tokio::time::driver::Driver<enum2$<tokio::park::either::Either<tokio::io::driver::Driver,tokio::park::thread::ParkThread> > >,enum2$<tokio::park::ei
at C:\Users\Ryzen 5\.cargo\registry\src\github.com-1ecc6299db9ec823\tokio-0.2.25\src\runtime\basic_scheduler.rs:155
39: 0x7ff7dd8ce005 - tokio::coop::with_budget::closure$0<tuple$<>,tokio::runtime::basic_scheduler::impl$0::block_on::closure$0::closure_env$3<enum2$<tokio::park::either::Either<tokio::time::driver::Driver<enum2$<tokio::park::either::Either<tokio::io::driver::Driver,tokio::par
at C:\Users\Ryzen 5\.cargo\registry\src\github.com-1ecc6299db9ec823\tokio-0.2.25\src\coop.rs:127
40: 0x7ff7dd8e80fa - std::thread::local::LocalKey<core::cell::Cell<tokio::coop::Budget> >::try_with<core::cell::Cell<tokio::coop::Budget>,tokio::coop::with_budget::closure_env$0<tuple$<>,tokio::runtime::basic_scheduler::impl$0::block_on::closure$0::closure_env$3<enum2$<tokio:
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943\library\std\src\thread\local.rs:446
41: 0x7ff7dd8e7d44 - std::thread::local::LocalKey<core::cell::Cell<tokio::coop::Budget> >::with<core::cell::Cell<tokio::coop::Budget>,tokio::coop::with_budget::closure_env$0<tuple$<>,tokio::runtime::basic_scheduler::impl$0::block_on::closure$0::closure_env$3<enum2$<tokio::par
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943\library\std\src\thread\local.rs:422
42: 0x7ff7dd97a725 - tokio::coop::with_budget
at C:\Users\Ryzen 5\.cargo\registry\src\github.com-1ecc6299db9ec823\tokio-0.2.25\src\coop.rs:120
43: 0x7ff7dd97a725 - tokio::coop::budget
at C:\Users\Ryzen 5\.cargo\registry\src\github.com-1ecc6299db9ec823\tokio-0.2.25\src\coop.rs:96
44: 0x7ff7dd97a725 - tokio::runtime::basic_scheduler::impl$0::block_on::closure$0<enum2$<tokio::park::either::Either<tokio::time::driver::Driver<enum2$<tokio::park::either::Either<tokio::io::driver::Driver,tokio::park::thread::ParkThread> > >,enum2$<tokio::park::either::Eithe
at C:\Users\Ryzen 5\.cargo\registry\src\github.com-1ecc6299db9ec823\tokio-0.2.25\src\runtime\basic_scheduler.rs:155
45: 0x7ff7dd97adf0 - tokio::runtime::basic_scheduler::enter::closure$0<tokio::runtime::basic_scheduler::impl$0::block_on::closure_env$0<enum2$<tokio::park::either::Either<tokio::time::driver::Driver<enum2$<tokio::park::either::Either<tokio::io::driver::Driver,tokio::park::thr
at C:\Users\Ryzen 5\.cargo\registry\src\github.com-1ecc6299db9ec823\tokio-0.2.25\src\runtime\basic_scheduler.rs:213
46: 0x7ff7dd96ca87 - tokio::macros::scoped_tls::ScopedKey<tokio::runtime::basic_scheduler::Context>::set<tokio::runtime::basic_scheduler::Context,tokio::runtime::basic_scheduler::enter::closure_env$0<tokio::runtime::basic_scheduler::impl$0::block_on::closure_env$0<enum2$<toki
at C:\Users\Ryzen 5\.cargo\registry\src\github.com-1ecc6299db9ec823\tokio-0.2.25\src\macros\scoped_tls.rs:63
47: 0x7ff7dd97ac78 - tokio::runtime::basic_scheduler::enter<tokio::runtime::basic_scheduler::impl$0::block_on::closure_env$0<enum2$<tokio::park::either::Either<tokio::time::driver::Driver<enum2$<tokio::park::either::Either<tokio::io::driver::Driver,tokio::park::thread::ParkTh
at C:\Users\Ryzen 5\.cargo\registry\src\github.com-1ecc6299db9ec823\tokio-0.2.25\src\runtime\basic_scheduler.rs:213
48: 0x7ff7dd97a293 - tokio::runtime::basic_scheduler::BasicScheduler<enum2$<tokio::park::either::Either<tokio::time::driver::Driver<enum2$<tokio::park::either::Either<tokio::io::driver::Driver,tokio::park::thread::ParkThread> > >,enum2$<tokio::park::either::Either<tokio::io::
at C:\Users\Ryzen 5\.cargo\registry\src\github.com-1ecc6299db9ec823\tokio-0.2.25\src\runtime\basic_scheduler.rs:123
49: 0x7ff7dd8f6ef5 - tokio::runtime::impl$0::block_on::closure$0<core::future::from_generator::GenFuture<enum2$<AirshipGuard::main::async_block_env$0> > >
at C:\Users\Ryzen 5\.cargo\registry\src\github.com-1ecc6299db9ec823\tokio-0.2.25\src\runtime\mod.rs:444
50: 0x7ff7dd8f1ed9 - tokio::runtime::context::enter<tokio::runtime::impl$0::block_on::closure_env$0<core::future::from_generator::GenFuture<enum2$<AirshipGuard::main::async_block_env$0> > >,tuple$<> >
at C:\Users\Ryzen 5\.cargo\registry\src\github.com-1ecc6299db9ec823\tokio-0.2.25\src\runtime\context.rs:72
51: 0x7ff7dd8f0f2d - tokio::runtime::handle::Handle::enter<tokio::runtime::impl$0::block_on::closure_env$0<core::future::from_generator::GenFuture<enum2$<AirshipGuard::main::async_block_env$0> > >,tuple$<> >
at C:\Users\Ryzen 5\.cargo\registry\src\github.com-1ecc6299db9ec823\tokio-0.2.25\src\runtime\handle.rs:76
52: 0x7ff7dd8f6e2d - tokio::runtime::Runtime::block_on<core::future::from_generator::GenFuture<enum2$<AirshipGuard::main::async_block_env$0> > >
at C:\Users\Ryzen 5\.cargo\registry\src\github.com-1ecc6299db9ec823\tokio-0.2.25\src\runtime\mod.rs:441
53: 0x7ff7dd964cf0 - AirshipGuard::main
at D:\Ministerstwo Kalibracyjne\Atom_Projects\AirshipGuard\src\main.rs:830
54: 0x7ff7dd97b50b - core::ops::function::FnOnce::call_once<void (*)(),tuple$<> >
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943\library\core\src\ops\function.rs:251
55: 0x7ff7dd8f826e - std::sys_common::backtrace::__rust_begin_short_backtrace<void (*)(),tuple$<> >
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943\library\std\src\sys_common\backtrace.rs:121
56: 0x7ff7dd8f826e - std::sys_common::backtrace::__rust_begin_short_backtrace<void (*)(),tuple$<> >
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943\library\std\src\sys_common\backtrace.rs:121
57: 0x7ff7dd8ef651 - std::rt::lang_start::closure$0<tuple$<> >
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943\library\std\src\rt.rs:166
58: 0x7ff7de41a11e - core::ops::function::impls::impl$2::call_once
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library\core\src\ops\function.rs:286
59: 0x7ff7de41a11e - std::panicking::try::do_call
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library\std\src\panicking.rs:483
60: 0x7ff7de41a11e - std::panicking::try
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library\std\src\panicking.rs:447
61: 0x7ff7de41a11e - std::panic::catch_unwind
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library\std\src\panic.rs:137
62: 0x7ff7de41a11e - std::rt::lang_start_internal::closure$2
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library\std\src\rt.rs:148
63: 0x7ff7de41a11e - std::panicking::try::do_call
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library\std\src\panicking.rs:483
64: 0x7ff7de41a11e - std::panicking::try
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library\std\src\panicking.rs:447
65: 0x7ff7de41a11e - std::panic::catch_unwind
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library\std\src\panic.rs:137
66: 0x7ff7de41a11e - std::rt::lang_start_internal
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library\std\src\rt.rs:148
67: 0x7ff7dd8ef62a - std::rt::lang_start<tuple$<> >
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943\library\std\src\rt.rs:165
68: 0x7ff7dd964d99 - main
69: 0x7ff7de45c7dc - invoke_main
at D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:78
70: 0x7ff7de45c7dc - __scrt_common_main_seh
at D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
71: 0x7ffa373b7614 - BaseThreadInitThunk
72: 0x7ffa378e26a1 - RtlUserThreadStart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment