tauri-apps/tauri

[bug] Tauri Crash on missing method in webkit on MacOS 10.14.6 while working fine on Linux

Opened this issue · 1 comments

Describe the bug

Tauri app works fine on Linux but crash on MacOS with the following error message:

failed overriding protocol method -[WKNavigationDelegate webView:navigationAction:didBecomeDownload:]: method not found

Reproduction

This works fine on Linux so it might indicate something missing on my macbook

Expected behavior

To build like it build fine on Linux

Full tauri info output

[✔] Environment
    - OS: Mac OS 10.14.6 x86_64 (X64)
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.82.0 (f6e511eec 2024-10-15)
    ✔ cargo: 1.82.0 (8f40fc59f 2024-08-21)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-apple-darwin (default)
    - node: 18.20.4
    - npm: 10.7.0

[-] Packages
    - tauri 🦀: 2.0.3
    - tauri-build 🦀: 2.0.1
    - wry 🦀: 0.46.0
    - tao 🦀: 0.30.3
    - @tauri-apps/api : 2.0.2 (outdated, latest: 2.0.3)
    - @tauri-apps/cli : 2.0.3 (outdated, latest: 2.0.4)

[-] Plugins
    - tauri-plugin-fs 🦀: 2.0.1
    - @tauri-apps/plugin-fs : 2.0.0 (outdated, latest: 2.0.1)
    - tauri-plugin-shell 🦀: 2.0.1
    - @tauri-apps/plugin-shell : 2.0.0 (outdated, latest: 2.0.1)
    - tauri-plugin-dialog 🦀: 2.0.1
    - @tauri-apps/plugin-dialog : 2.0.0 (outdated, latest: 2.0.1)

[-] App
    - build-type: bundle
    - CSP: img-src 'self' asset: http://asset.localhost blob: data:
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: React
    - bundler: Vite

Stack trace

Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.40s
thread 'main' panicked at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc2-0.5.2/src/__macro_helpers/declare_class.rs:339:21:
failed overriding protocol method -[WKNavigationDelegate webView:navigationAction:didBecomeDownload:]: method not found
stack backtrace:
   0: rust_begin_unwind
             at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:662:5
   1: core::panicking::panic_fmt
             at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/panicking.rs:74:14
   2: objc2::__macro_helpers::declare_class::ClassProtocolMethodsBuilder<T>::add_method::{{closure}}
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc2-0.5.2/src/__macro_helpers/declare_class.rs:339:21
   3: core::option::Option<T>::unwrap_or_else
             at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/option.rs:1010:21
   4: objc2::__macro_helpers::declare_class::ClassProtocolMethodsBuilder<T>::add_method
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc2-0.5.2/src/__macro_helpers/declare_class.rs:332:26
   5: wry::wkwebview::class::wry_navigation_delegate::_::<impl objc2::top_level_traits::ClassType for wry::wkwebview::class::wry_navigation_delegate::WryNavigationDelegate>::class::{{closure}}
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc2-0.5.2/src/macros/declare_class.rs:444:25
   6: std::sync::once::Once::call_once::{{closure}}
             at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sync/once.rs:158:41
   7: std::sys::sync::once::queue::Once::call
             at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/sync/once/queue.rs:211:21
   8: std::sync::once::Once::call_once
             at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sync/once.rs:158:9
   9: wry::wkwebview::class::wry_navigation_delegate::_::<impl objc2::top_level_traits::ClassType for wry::wkwebview::class::wry_navigation_delegate::WryNavigationDelegate>::class
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc2-0.5.2/src/macros/declare_class.rs:440:21
  10: objc2_foundation::thread::MainThreadMarker::alloc
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc2-foundation-0.2.2/src/thread.rs:276:31
  11: wry::wkwebview::class::wry_navigation_delegate::WryNavigationDelegate::new
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wry-0.46.0/src/wkwebview/class/wry_navigation_delegate.rs:152:20
  12: wry::wkwebview::InnerWebView::new_ns_view
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wry-0.46.0/src/wkwebview/mod.rs:429:40
  13: wry::wkwebview::InnerWebView::new
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wry-0.46.0/src/wkwebview/mod.rs:150:14
  14: wry::WebViewBuilder::build
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wry-0.46.0/src/lib.rs:1120:5
  15: tauri_runtime_wry::create_webview
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-runtime-wry-2.1.0/src/lib.rs:4258:21
  16: tauri_runtime_wry::create_window
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-runtime-wry-2.1.0/src/lib.rs:3896:19
  17: tauri_runtime_wry::Context<T>::create_window::{{closure}}
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-runtime-wry-2.1.0/src/lib.rs:279:11
  18: core::ops::function::FnOnce::call_once{{vtable.shim}}
             at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ops/function.rs:250:5
  19: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/boxed.rs:2231:9
  20: tauri_runtime_wry::handle_user_message
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-runtime-wry-2.1.0/src/lib.rs:3399:56
  21: tauri_runtime_wry::send_user_message
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-runtime-wry-2.1.0/src/lib.rs:204:5
  22: tauri_runtime_wry::Context<T>::create_window
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-runtime-wry-2.1.0/src/lib.rs:274:5
  23: <tauri_runtime_wry::WryHandle<T> as tauri_runtime::RuntimeHandle<T>>::create_window
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-runtime-wry-2.1.0/src/lib.rs:2278:5
  24: tauri::window::WindowBuilder<R,M>::build_internal
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-2.0.3/src/window/mod.rs:372:51
  25: tauri::window::WindowBuilder<R,M>::with_webview
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-2.0.3/src/window/mod.rs:327:18
  26: tauri::webview::webview_window::WebviewWindowBuilder<R,M>::build
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-2.0.3/src/webview/webview_window.rs:355:29
  27: tauri::app::setup
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-2.0.3/src/app.rs:2105:5
  28: tauri::app::App<R>::run::{{closure}}
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-2.0.3/src/app.rs:1129:25
  29: tauri_runtime_wry::handle_event_loop
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-runtime-wry-2.1.0/src/lib.rs:3477:7
  30: <tauri_runtime_wry::Wry<T> as tauri_runtime::Runtime<T>>::run::{{closure}}
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-runtime-wry-2.1.0/src/lib.rs:2746:7
  31: <tao::platform_impl::platform::app_state::EventLoopHandler<T> as tao::platform_impl::platform::app_state::EventHandler>::handle_nonuser_event::{{closure}}
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tao-0.30.3/src/platform_impl/macos/app_state.rs:105:9
  32: tao::platform_impl::platform::app_state::EventLoopHandler<T>::with_callback
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tao-0.30.3/src/platform_impl/macos/app_state.rs:79:7
  33: <tao::platform_impl::platform::app_state::EventLoopHandler<T> as tao::platform_impl::platform::app_state::EventHandler>::handle_nonuser_event
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tao-0.30.3/src/platform_impl/macos/app_state.rs:100:5
  34: tao::platform_impl::platform::app_state::Handler::handle_nonuser_event
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tao-0.30.3/src/platform_impl/macos/app_state.rs:208:11
  35: tao::platform_impl::platform::app_state::AppState::launched
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tao-0.30.3/src/platform_impl/macos/app_state.rs:300:5
  36: tao::platform_impl::platform::app_delegate::did_finish_launching
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tao-0.30.3/src/platform_impl/macos/app_delegate.rs:105:3
  37: _CFStringFindCharacterFromSet
  38: _CFStringFindCharacterFromSet
  39: _CFStringFindCharacterFromSet
  40: _CFRunLoopTimerSetNextFireDate
  41: _CFStringFindWithOptionsAndLocale
  42: -[_CFXNotificationRegistrar find:object:observer:enumerator:]
  43: -[NSNotificationCenter postNotificationName:object:userInfo:]
  44: -[NSApplication _postDidFinishNotification]
  45: -[NSApplication _sendFinishLaunchingNotification]
  46: -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:]
  47: -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:]
  48: -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:]
  49: __NSAppleEventManagerGenericHandler
  50: __Z20aeDispatchAppleEventPK6AEDescPS_jPh
  51: __ZL25dispatchEventAndSendReplyPK6AEDescPS_
  52: _aeProcessAppleEvent
  53: _AEProcessAppleEvent
  54: __DPSNextEvent
  55: -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]
  56: -[NSApplication run]
  57: <() as objc::message::MessageArguments>::invoke
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc-0.2.7/src/message/mod.rs:128:17
  58: objc::message::platform::send_unverified
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc-0.2.7/src/message/apple/mod.rs:27:9
  59: objc::message::send_message
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc-0.2.7/src/message/mod.rs:178:5
  60: tao::platform_impl::platform::event_loop::EventLoop<T>::run_return
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tao-0.30.3/src/platform_impl/macos/event_loop.rs:225:16
  61: tao::platform_impl::platform::event_loop::EventLoop<T>::run
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tao-0.30.3/src/platform_impl/macos/event_loop.rs:192:21
  62: tao::event_loop::EventLoop<T>::run
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tao-0.30.3/src/event_loop.rs:215:5
  63: <tauri_runtime_wry::Wry<T> as tauri_runtime::Runtime<T>>::run
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-runtime-wry-2.1.0/src/lib.rs:2726:5
  64: tauri::app::App<R>::run
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-2.0.3/src/app.rs:1127:5
  65: tauri::app::Builder<R>::run
             at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-2.0.3/src/app.rs:2030:5
  66: concevent_dashboard_rust_lib::run
             at ./src/lib.rs:21:5
  67: concevent_dashboard_rust::main
             at ./src/main.rs:5:5
  68: core::ops::function::FnOnce::call_once
             at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
thread 'main' panicked at core/src/panicking.rs:221:5:
panic in a function that cannot unwind
stack backtrace:
   0:        0x108bf8076 - std::backtrace_rs::backtrace::libunwind::trace::hae28e9d8ee6f0f1b
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
   1:        0x108bf8076 - std::backtrace_rs::backtrace::trace_unsynchronized::h97ac52ce5b001ab9
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:        0x108bf8076 - std::sys::backtrace::_print_fmt::h121f81f3e644bc1c
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:66:9
   3:        0x108bf8076 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hcaf66bc4c0c453df
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:39:26
   4:        0x108c1e54b - core::fmt::rt::Argument::fmt::hfeba5accca924a15
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/fmt/rt.rs:177:76
   5:        0x108c1e54b - core::fmt::write::hc9c5f1836b413410
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/fmt/mod.rs:1178:21
   6:        0x108bf3562 - std::io::Write::write_fmt::h49df280499063c09
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/io/mod.rs:1823:15
   7:        0x108bf94c8 - std::sys::backtrace::BacktraceLock::print::he68bab4b1e212a89
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:42:9
   8:        0x108bf94c8 - std::panicking::default_hook::{{closure}}::h52c0b2f44f6107c5
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:266:22
   9:        0x108bf910e - std::panicking::default_hook::h5a6cf31501c161b2
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:293:9
  10:        0x108bfa243 - std::panicking::rust_panic_with_hook::hda4640ee332466e9
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:797:13
  11:        0x108bf9ae2 - std::panicking::begin_panic_handler::{{closure}}::haa3060694b34ea3d
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:664:13
  12:        0x108bf8559 - std::sys::backtrace::__rust_end_short_backtrace::h8eb44913cfe71457
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:170:18
  13:        0x108bf975c - rust_begin_unwind
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:662:5
  14:        0x108c1b91c - core::panicking::panic_nounwind_fmt::runtime::h192b7a91100d1ba6
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/panicking.rs:112:18
  15:        0x108c1b91c - core::panicking::panic_nounwind_fmt::hfed0a2f12e4318b1
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/panicking.rs:122:5
  16:        0x108c1b9ca - core::panicking::panic_nounwind::h659854746b9fc37d
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/panicking.rs:221:5
  17:        0x108c1bbe5 - core::panicking::panic_cannot_unwind::hd982c2e1ccbf0ef4
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/panicking.rs:310:5
  18:        0x107ecc20a - tao::platform_impl::platform::app_delegate::did_finish_launching::hcedbd60b1e4b5d40
                               at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tao-0.30.3/src/platform_impl/macos/app_delegate.rs:103:1
  19:     0x7fff3916e8a2 - _CFStringFindCharacterFromSet
  20:     0x7fff3916e81c - _CFStringFindCharacterFromSet
  21:     0x7fff3916e786 - _CFStringFindCharacterFromSet
  22:     0x7fff39176c34 - _CFRunLoopTimerSetNextFireDate
  23:     0x7fff390df424 - _CFStringFindWithOptionsAndLocale
  24:     0x7fff390de7d7 - -[_CFXNotificationRegistrar find:object:observer:enumerator:]
  25:     0x7fff3b36a33b - -[NSNotificationCenter postNotificationName:object:userInfo:]
  26:     0x7fff367076b0 - -[NSApplication _postDidFinishNotification]
  27:     0x7fff36707003 - -[NSApplication _sendFinishLaunchingNotification]
  28:     0x7fff36705157 - -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:]
  29:     0x7fff36704da7 - -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:]
  30:     0x7fff3b3b40e0 - -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:]
  31:     0x7fff3b3b3f5d - __NSAppleEventManagerGenericHandler
  32:     0x7fff3a332397 - __Z20aeDispatchAppleEventPK6AEDescPS_jPh
  33:     0x7fff3a331c29 - __ZL25dispatchEventAndSendReplyPK6AEDescPS_
  34:     0x7fff3a331b01 - _aeProcessAppleEvent
  35:     0x7fff383728b7 - _AEProcessAppleEvent
  36:     0x7fff367011a9 - __DPSNextEvent
  37:     0x7fff366ffb77 - -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]
  38:     0x7fff366f9c94 - -[NSApplication run]
  39:        0x107f07411 - <() as objc::message::MessageArguments>::invoke::hea88c508e358e846
                               at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc-0.2.7/src/message/mod.rs:128:17
  40:        0x107f0680d - objc::message::platform::send_unverified::hacdf4e0d3f246733
                               at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc-0.2.7/src/message/apple/mod.rs:27:9
  41:        0x1074f39e5 - objc::message::send_message::h32ea6e9de332492d
                               at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc-0.2.7/src/message/mod.rs:178:5
  42:        0x1074f39e5 - tao::platform_impl::platform::event_loop::EventLoop<T>::run_return::h2af1d3d4c29a1e86
                               at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tao-0.30.3/src/platform_impl/macos/event_loop.rs:225:16
  43:        0x1074f48b1 - tao::platform_impl::platform::event_loop::EventLoop<T>::run::h9f82d086fe230c8d
                               at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tao-0.30.3/src/platform_impl/macos/event_loop.rs:192:21
  44:        0x1071b74f8 - tao::event_loop::EventLoop<T>::run::h1ea67eee648dbe82
                               at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tao-0.30.3/src/event_loop.rs:215:5
  45:        0x10791427b - <tauri_runtime_wry::Wry<T> as tauri_runtime::Runtime<T>>::run::hada784e6b0d0a0e1
                               at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-runtime-wry-2.1.0/src/lib.rs:2726:5
  46:        0x10743729a - tauri::app::App<R>::run::h7db9c26935f46b5d
                               at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-2.0.3/src/app.rs:1127:5
  47:        0x107437d75 - tauri::app::Builder<R>::run::h54289a9c85be0fd9
                               at /Users/salsabeleawissat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-2.0.3/src/app.rs:2030:5
  48:        0x1071a65a0 - concevent_dashboard_rust_lib::run::hbc4ad65f3f445195
                               at /Users/salsabeleawissat/Documents/concevent-dashboard-rust/src-tauri/src/lib.rs:21:5
  49:        0x1071015e9 - concevent_dashboard_rust::main::hf4078f6f52c8061d
                               at /Users/salsabeleawissat/Documents/concevent-dashboard-rust/src-tauri/src/main.rs:5:5
  50:        0x10710163e - core::ops::function::FnOnce::call_once::h500b11360424ef99
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ops/function.rs:250:5
  51:        0x1071016b1 - std::sys::backtrace::__rust_begin_short_backtrace::hf03dc97872c786e5
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:154:18
  52:        0x1071015c4 - std::rt::lang_start::{{closure}}::h32acaa2058290298
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/rt.rs:164:18
  53:        0x108bedb3f - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h57d1f2389e2919e9
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ops/function.rs:284:13
  54:        0x108bedb3f - std::panicking::try::do_call::h47b836309ad2925a
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:554:40
  55:        0x108bedb3f - std::panicking::try::hcc79b4069713f450
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:518:19
  56:        0x108bedb3f - std::panic::catch_unwind::h34090fdb34bc5e00
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panic.rs:345:14
  57:        0x108bedb3f - std::rt::lang_start_internal::{{closure}}::hb9c7217a630c43c9
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/rt.rs:143:48
  58:        0x108bedb3f - std::panicking::try::do_call::h43e7c27d402b50a4
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:554:40
  59:        0x108bedb3f - std::panicking::try::h4d79f623873fbc60
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:518:19
  60:        0x108bedb3f - std::panic::catch_unwind::hb32f8cfbf49d3dee
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panic.rs:345:14
  61:        0x108bedb3f - std::rt::lang_start_internal::hb1473645dbe40065
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/rt.rs:143:20
  62:        0x107101597 - std::rt::lang_start::hbc6647ff35b170de
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/rt.rs:163:17
  63:        0x107101608 - _main
thread caused non-unwinding panic. aborting.

Additional context

No response

/upstream tauri-apps/wry