RuntimeError: unreachable with 0.76.0 and @swc/core 1.3.57
kaelig opened this issue · 2 comments
kaelig commented
thread '<unnamed>' panicked at 'failed to invoke plugin: failed to invoke plugin on 'Some("/home/circleci/project/node_modules/vfile/lib/index.js")'
Caused by:
0: failed to invoke `jest_workaround` as js transform plugin at node_modules/jest_workaround/jest_workaround.wasm
1: RuntimeError: unreachable
at __rust_start_panic (<module>[1859]:0x7fcc7)
at rust_panic (<module>[1855]:0x7fc7a)
at std::panicking::rust_panic_with_hook::h53f3fdca929f741f (<module>[1854]:0x7fc4a)
at std::panicking::begin_panic_handler::{{closure}}::hda540cd53c390dc8 (<module>[1843]:0x7f2f8)
at std::sys_common::backtrace::__rust_end_short_backtrace::h70e30ae5ec54511f (<module>[1842]:0x7f222)
at rust_begin_unwind (<module>[1849]:0x7f89f)
at core::panicking::panic_fmt::he11703d1a35eb9c9 (<module>[1963]:0x8851e)
at core::result::unwrap_failed::hdac82fff0478684f (<module>[1995]:0x8e702)
at rkyv::impls::core::<impl rkyv::DeserializeUnsized<[U],D> for [T]>::deserialize_unsized::hc85c81db4df45160 (<module>[129]:0x1c9b6)
at swc_ecma_ast::stmt::_::<impl rkyv::Deserialize<swc_ecma_ast::stmt::ForHead,__D> for <swc_ecma_ast::stmt::ForHead as rkyv::Archive>::Archived>::deserialize::hff45d62c04e9ac5b (<module>[163]:0x252d6)
at swc_ecma_ast::stmt::_::<impl rkyv::Deserialize<swc_ecma_ast::stmt::Stmt,__D> for <swc_ecma_ast::stmt::Stmt as rkyv::Archive>::Archived>::deserialize::h220ba4715bb81d81 (<module>[151]:0x245be)
at rkyv::impls::core::<impl rkyv::DeserializeUnsized<[U],D> for [T]>::deserialize_unsized::h12346709c41120da (<module>[152]:0x24b8b)
at rkyv::impls::core::<impl rkyv::DeserializeUnsized<[U],D> for [T]>::deserialize_unsized::h8a04dcf2b030dc0e (<module>[383]:0x40d74)
at rkyv::impls::core::<impl rkyv::DeserializeUnsized<T,D> for <T as rkyv::Archive>::Archived>::deserialize_unsized::h13661b86cad955b4 (<module>[126]:0x1bcb4)
at swc_ecma_ast::decl::_::<impl rkyv::Deserialize<swc_ecma_ast::decl::Decl,__D> for <swc_ecma_ast::decl::Decl as rkyv::Archive>::Archived>::deserialize::hfc90dfb606fae481 (<module>[125]:0x1b0b4)
at rkyv::impls::core::<impl rkyv::DeserializeUnsized<[U],D> for [T]>::deserialize_unsized::hc48f02ca6560408e (<module>[77]:0xbc38)
at swc_ecma_ast::module::_::<impl rkyv::Deserialize<swc_ecma_ast::module::Program,__D> for <swc_ecma_ast::module::Program as rkyv::Archive>::Archived>::deserialize::h63f5759e9b58d816 (<module>[30]:0x2d8a)
at swc_common::plugin::serialized::PluginSerializedBytes::deserialize::hc4e77da1b58a7da3 (<module>[28]:0x2cb4)
at swc_common::plugin::serialized::deserialize_from_ptr::hd31b6b0e3a2e1472 (<module>[27]:0x2aa0)
at __transform_plugin_process_impl (<module>[448]:0x4d807)', /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/swc-0.260.46/src/plugin.rs:219:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Hope this trace helps, let me know if you need any additional information!
magic-akari commented
Does this issue persist in the latest version?
kaelig commented
Yes, thank you!