Skip to content

Instantly share code, notes, and snippets.

@captbaritone
Created April 22, 2025 18:03
Show Gist options
  • Save captbaritone/7c8cafd4b85365f9ebd7c6c81b420a9a to your computer and use it in GitHub Desktop.
Save captbaritone/7c8cafd4b85365f9ebd7c6c81b420a9a to your computer and use it in GitHub Desktop.
thread 'typescript_resolver_with_context' panicked at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/spin-0.9.8/src/once.rs:230:42:
Once panicked
stack backtrace:
0: 0x1035d6dfc - std::backtrace_rs::backtrace::libunwind::trace::h766402c5a352d06e
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
1: 0x1035d6dfc - std::backtrace_rs::backtrace::trace_unsynchronized::hc3869f900690ffb5
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2: 0x1035d6dfc - std::sys::backtrace::_print_fmt::hf5652c8929173e8f
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/std/src/sys/backtrace.rs:66:9
3: 0x1035d6dfc - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h60a58853ec454374
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/std/src/sys/backtrace.rs:39:26
4: 0x1035f6c40 - core::fmt::rt::Argument::fmt::ha66153f1ae971eca
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/core/src/fmt/rt.rs:177:76
5: 0x1035f6c40 - core::fmt::write::hc62a486244fd47f0
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/core/src/fmt/mod.rs:1186:21
6: 0x1035d2790 - std::io::Write::write_fmt::ha1de93d1c2ff4358
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/std/src/io/mod.rs:1839:15
7: 0x1035d6cb0 - std::sys::backtrace::BacktraceLock::print::hd8a991a5763194ea
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/std/src/sys/backtrace.rs:42:9
8: 0x1035d801c - std::panicking::default_hook::{{closure}}::hfd7d59ab50b99fa4
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/std/src/panicking.rs:268:22
9: 0x1035d7e2c - std::panicking::default_hook::h48a1b86ddc539ae3
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/std/src/panicking.rs:292:9
10: 0x1027ee168 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hbc4c3d0fab74e612
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/alloc/src/boxed.rs:2468:9
11: 0x1027ee168 - test::test_main::{{closure}}::hd1873c1338b5ade7
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/test/src/lib.rs:133:21
12: 0x1035d880c - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hb36854f340e5920b
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/alloc/src/boxed.rs:2468:9
13: 0x1035d880c - std::panicking::rust_panic_with_hook::heb564e4c3222cc86
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/std/src/panicking.rs:809:13
14: 0x1035d845c - std::panicking::begin_panic_handler::{{closure}}::h891690b7f4a3a90d
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/std/src/panicking.rs:667:13
15: 0x1035d72c0 - std::sys::backtrace::__rust_end_short_backtrace::h4349fc57639cd3f2
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/std/src/sys/backtrace.rs:170:18
16: 0x1035d813c - rust_begin_unwind
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/std/src/panicking.rs:665:5
17: 0x1036a581c - core::panicking::panic_fmt::ha4e3076a65e35b6e
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/core/src/panicking.rs:74:14
18: 0x1036a588c - core::panicking::panic::h87747c88e1002142
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/core/src/panicking.rs:148:5
19: 0x10369b69c - spin::once::Once<T,R>::try_call_once_slow::hfdc9375245f74549
at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/spin-0.9.8/src/once.rs:230:42
20: 0x103455290 - spin::once::Once<T,R>::try_call_once::h9689a5cb5c884449
at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/spin-0.9.8/src/once.rs:212:13
21: 0x103455850 - spin::once::Once<T,R>::call_once::h86bd419ea875c3e8
at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/spin-0.9.8/src/once.rs:169:15
22: 0x10345d164 - lazy_static::lazy::Lazy<T>::get::hcf277e7ed97868e4
at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/lazy_static-1.5.0/src/core_lazy.rs:22:9
23: 0x10345d164 - <fixture_tests::WORKSPACE_ROOT as core::ops::deref::Deref>::deref::__stability::h0bc6ecce8d046e77
at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/lazy_static-1.5.0/src/lib.rs:135:21
24: 0x10345d164 - <fixture_tests::WORKSPACE_ROOT as core::ops::deref::Deref>::deref::h6b98b693e1187f4e
at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/lazy_static-1.5.0/src/lib.rs:137:17
25: 0x102710318 - fixture_tests::test_fixture::{{closure}}::hfba287ce35c68420
at /Users/runner/work/relay/relay/compiler/crates/fixture-tests/src/lib.rs:176:30
26: 0x102621dec - relay_compiler_relay_compiler_integration_test::typescript_resolver_with_context::{{closure}}::h9260412f1e60aab6
at /Users/runner/work/relay/relay/compiler/crates/relay-compiler/tests/relay_compiler_integration_test.rs:467:186
27: 0x10274ae24 - <core::pin::Pin<P> as core::future::future::Future>::poll::h96ba330dd62f60a6
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/core/src/future/future.rs:123:9
28: 0x10274ad74 - <core::pin::Pin<P> as core::future::future::Future>::poll::h8b518c5d6544c9d5
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/core/src/future/future.rs:123:9
29: 0x102708550 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::hafd6452c9e5d8b63
at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:729:57
30: 0x102708480 - tokio::runtime::coop::with_budget::h5ed619ede9673f37
at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.43.0/src/runtime/coop.rs:107:5
31: 0x102708480 - tokio::runtime::coop::budget::h88de288a404ca577
at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.43.0/src/runtime/coop.rs:73:5
32: 0x102708480 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::hfb372c04226cfd33
at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:729:25
33: 0x102706730 - tokio::runtime::scheduler::current_thread::Context::enter::he1d472ab3e60c7ff
at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:428:19
34: 0x102707d78 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::he16b22b90c2a3f7b
at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:728:36
35: 0x102707528 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h920a5d899cb86dff
at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:807:68
36: 0x10278bf00 - tokio::runtime::context::scoped::Scoped<T>::set::hadd3bf593c629d3f
at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.43.0/src/runtime/context/scoped.rs:40:9
37: 0x1025f4d78 - tokio::runtime::context::set_scheduler::{{closure}}::h8e2b8a598f098c07
at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.43.0/src/runtime/context.rs:180:26
38: 0x102670448 - std::thread::local::LocalKey<T>::try_with::h64e491c5ae829bf3
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/std/src/thread/local.rs:283:12
39: 0x10266e8fc - std::thread::local::LocalKey<T>::with::h848ce3c158b0578a
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/std/src/thread/local.rs:260:9
40: 0x1025f4ca4 - tokio::runtime::context::set_scheduler::h576b421bb77cda31
at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.43.0/src/runtime/context.rs:180:9
41: 0x102707354 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::he303c2fe7e8dc7b7
at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:807:27
42: 0x102707550 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h19757bfaac4b0c4a
at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:716:19
43: 0x102704fb0 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::h7e428a012abff20e
at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:196:28
44: 0x102732c64 - tokio::runtime::context::runtime::enter_runtime::hec0e21c08106705c
at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.43.0/src/runtime/context/runtime.rs:65:16
45: 0x102704a14 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h8036d8e55b920c3c
at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:184:9
46: 0x1026da284 - tokio::runtime::runtime::Runtime::block_on_inner::h20d50442302b34a5
at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.43.0/src/runtime/runtime.rs:368:47
47: 0x1026da43c - tokio::runtime::runtime::Runtime::block_on::h1826524d4dc7fea1
at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.43.0/src/runtime/runtime.rs:342:13
48: 0x1027bbb44 - relay_compiler_relay_compiler_integration_test::typescript_resolver_with_context::hdf6e57d3c3bc25f6
at /Users/runner/work/relay/relay/compiler/crates/relay-compiler/tests/relay_compiler_integration_test.rs:467:5
49: 0x102621bf0 - relay_compiler_relay_compiler_integration_test::typescript_resolver_with_context::{{closure}}::ha7b3db56fae91e1c
at /Users/runner/work/relay/relay/compiler/crates/relay-compiler/tests/relay_compiler_integration_test.rs:464:44
50: 0x10279397c - core::ops::function::FnOnce::call_once::h5e946312b6c8a39c
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/core/src/ops/function.rs:250:5
51: 0x1027f1b74 - core::ops::function::FnOnce::call_once::h59e2586f8944cb97
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/core/src/ops/function.rs:250:5
52: 0x1027f1b74 - test::__rust_begin_short_backtrace::h5c95d250035152e6
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/test/src/lib.rs:621:18
53: 0x1027f15dc - test::run_test_in_process::{{closure}}::h4040bdc9e20fd086
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/test/src/lib.rs:644:60
54: 0x1027f15dc - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h7ed10a32157bc1dd
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/core/src/panic/unwind_safe.rs:272:9
55: 0x1027f15dc - std::panicking::try::do_call::hf927f14147739642
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/std/src/panicking.rs:557:40
56: 0x1027f15dc - std::panicking::try::hf56cd1fa6f5ebc84
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/std/src/panicking.rs:520:19
57: 0x1027f15dc - std::panic::catch_unwind::ha5106942f2570d4e
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/std/src/panic.rs:358:14
58: 0x1027f15dc - test::run_test_in_process::hedbf9e99d7c9060f
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/test/src/lib.rs:644:27
59: 0x1027f15dc - test::run_test::{{closure}}::hacb15eefb83ffbc9
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/test/src/lib.rs:565:43
60: 0x1027c18d8 - test::run_test::{{closure}}::hd2f196dd22a137c8
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/test/src/lib.rs:595:41
61: 0x1027c18d8 - std::sys::backtrace::__rust_begin_short_backtrace::h3224b8aeaed10881
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/std/src/sys/backtrace.rs:154:18
62: 0x1027c4878 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9de40830b408ae1c
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/std/src/thread/mod.rs:538:17
63: 0x1027c4878 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::he1f693f59dcd114e
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/core/src/panic/unwind_safe.rs:272:9
64: 0x1027c4878 - std::panicking::try::do_call::hd173d37eda4b0952
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/std/src/panicking.rs:557:40
65: 0x1027c4878 - std::panicking::try::hda4bb4fb4e37f2c2
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/std/src/panicking.rs:520:19
66: 0x1027c4878 - std::panic::catch_unwind::h7433160c8a9a0efa
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/std/src/panic.rs:358:14
67: 0x1027c4878 - std::thread::Builder::spawn_unchecked_::{{closure}}::hc05d3ca4ff4d589c
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/std/src/thread/mod.rs:537:30
68: 0x1027c4878 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h923c8be127d89880
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/core/src/ops/function.rs:250:5
69: 0x1035dcba0 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h04c57ee102b740c1
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/alloc/src/boxed.rs:2454:9
70: 0x1035dcba0 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7c117ca01fa1f8c1
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/alloc/src/boxed.rs:2454:9
71: 0x1035dcba0 - std::sys::pal::unix::thread::Thread::new::thread_start::hff8b5817d21bfb9e
at /rustc/6b9676b45431a1e531b9c5f7bd289fc36a312749/library/std/src/sys/pal/unix/thread.rs:105:17
72: 0x18610df94 - __pthread_joiner_wake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment