Created
January 4, 2023 23:46
-
-
Save mytecor/89f92d9024bf4ce264371dfb4b08bdf5 to your computer and use it in GitHub Desktop.
panic
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 'already borrowed: BorrowMutError', src/hid_wrapper.rs:30:28 | |
stack backtrace: | |
0: 0x105278a88 - std::backtrace_rs::backtrace::libunwind::trace::hbe97f4303076f99a | |
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 | |
1: 0x105278a88 - std::backtrace_rs::backtrace::trace_unsynchronized::hb462a91ac605b16b | |
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 | |
2: 0x105278a88 - std::sys_common::backtrace::_print_fmt::h555c176cf2344151 | |
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/sys_common/backtrace.rs:65:5 | |
3: 0x105278a88 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::he84d5e26d26c914d | |
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/sys_common/backtrace.rs:44:22 | |
4: 0x105294bdc - core::fmt::write::h07c7e4739f78f3b0 | |
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/core/src/fmt/mod.rs:1209:17 | |
5: 0x10527245c - std::io::Write::write_fmt::h4a3c5f094ffc65e8 | |
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/io/mod.rs:1682:15 | |
6: 0x10527889c - std::sys_common::backtrace::_print::h03a1c9ac6001091a | |
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/sys_common/backtrace.rs:47:5 | |
7: 0x10527889c - std::sys_common::backtrace::print::h6fc2cc8be2392a8e | |
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/sys_common/backtrace.rs:34:9 | |
8: 0x10527a278 - std::panicking::default_hook::{{closure}}::h3bb44ba6ff437e23 | |
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/panicking.rs:267:22 | |
9: 0x105279fd0 - std::panicking::default_hook::h92c6668a1a98ae8c | |
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/panicking.rs:286:9 | |
10: 0x10527a8b4 - std::panicking::rust_panic_with_hook::h9b8acc949e1fb807 | |
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/panicking.rs:688:13 | |
11: 0x10527a6c4 - std::panicking::begin_panic_handler::{{closure}}::hfc38b2cc56e3623c | |
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/panicking.rs:579:13 | |
12: 0x105278ef0 - std::sys_common::backtrace::__rust_end_short_backtrace::hbafd151207fc448f | |
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/sys_common/backtrace.rs:137:18 | |
13: 0x10527a418 - rust_begin_unwind | |
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/panicking.rs:575:5 | |
14: 0x1052b3488 - core::panicking::panic_fmt::h8c7f3d540a75578f | |
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/core/src/panicking.rs:65:14 | |
15: 0x1052b3670 - core::result::unwrap_failed::h666d2c7e0d130ea0 | |
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/core/src/result.rs:1791:5 | |
16: 0x104967a2c - core::result::Result<T,E>::expect::h21720e463ccc0744 | |
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/core/src/result.rs:1070:23 | |
17: 0x104b08648 - core::cell::RefCell<T>::borrow_mut::hab74b4531261d68c | |
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/core/src/cell.rs:958:9 | |
18: 0x104aca670 - nucon::hid_wrapper::hid_scan::{{closure}}::h79908bf8268ce940 | |
at /Users/mytecor/Desktop/projects/nucon/src-tauri/src/hid_wrapper.rs:30:23 | |
19: 0x104a9b7d4 - std::thread::local::LocalKey<T>::try_with::hd46d41b1f45b423b | |
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/thread/local.rs:446:16 | |
20: 0x104a994d4 - std::thread::local::LocalKey<T>::with::h0559076bf954c638 | |
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/thread/local.rs:422:9 | |
21: 0x1049de494 - nucon::hid_wrapper::hid_scan::h84d0390d4c0a3862 | |
at /Users/mytecor/Desktop/projects/nucon/src-tauri/src/hid_wrapper.rs:29:5 | |
22: 0x104b15dd0 - nucon::main::{{closure}}::h209533f033475bdb | |
at /Users/mytecor/Desktop/projects/nucon/src-tauri/src/main.rs:19:34 | |
23: 0x10498aa14 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h9957292b683a6857 | |
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/alloc/src/boxed.rs:2001:9 | |
24: 0x1048489fc - tauri::manager::WindowManager<R>::run_invoke_handler::h7e65cfee5a095b85 | |
at /Users/mytecor/.cargo/registry/src/github.com-1ecc6299db9ec823/tauri-1.2.3/src/manager.rs:1084:5 | |
25: 0x104aa902c - tauri::window::Window<R>::on_message::h5bd411e7381503ea | |
at /Users/mytecor/.cargo/registry/src/github.com-1ecc6299db9ec823/tauri-1.2.3/src/window.rs:1287:11 | |
26: 0x104848d38 - tauri::manager::WindowManager<R>::prepare_ipc_handler::{{closure}}::h9a3b97d517dc6d80 | |
at /Users/mytecor/.cargo/registry/src/github.com-1ecc6299db9ec823/tauri-1.2.3/src/manager.rs:782:19 | |
27: 0x10498aab4 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h9d39b2178f687773 | |
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/alloc/src/boxed.rs:2001:9 | |
28: 0x104a8e124 - tauri_runtime_wry::create_ipc_handler::{{closure}}::h72a4c115b02c91d0 | |
at /Users/mytecor/.cargo/registry/src/github.com-1ecc6299db9ec823/tauri-runtime-wry-0.12.2/src/lib.rs:3124:5 | |
29: 0x104dce884 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::he3a8b31a25307f9e | |
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/alloc/src/boxed.rs:2001:9 | |
30: 0x104dce884 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::he3a8b31a25307f9e | |
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/alloc/src/boxed.rs:2001:9 | |
31: 0x104dbfaa4 - wry::webview::wkwebview::InnerWebView::new::did_receive::hb9d52e821fb35a35 | |
at /Users/mytecor/.cargo/registry/src/github.com-1ecc6299db9ec823/wry-0.23.4/src/webview/wkwebview/mod.rs:102:11 | |
32: 0x1a44c4814 - <unknown> | |
33: 0x1a4847af8 - <unknown> | |
fatal runtime error: failed to initiate panic, error 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment