Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support rsbuild #11628

Open
Tylopilus opened this issue Jun 5, 2024 · 8 comments
Open

Support rsbuild #11628

Tylopilus opened this issue Jun 5, 2024 · 8 comments
Assignees
Labels
crash An issue that could cause a crash napi Compatibility with the native layer of Node.js tracking-pkg Issues tracking support for a library or package

Comments

@Tylopilus
Copy link

How can we reproduce the crash?

1,. checkout https://github.com/9aoy/rsbuild-ssr-example
2. pnpm install
3. bun run server.mjs

Relevant log output

bun run server.mjs
  > Local:    http://localhost:3000/
  > Network:  http://192.168.2.134:3000/
  > Network:  http://192.168.64.1:3000/

start   Compiling...
============================================================
Bun v1.1.12 (43f0913c) macOS Silicon
Args: "bun" "run" "server.mjs"
Features: jsc Bun.stdin(2) http_server transpiler_cache(17) tsconfig(22)
Builtins: "bun:jsc" "bun:main" "node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:constants" "node:crypto" "node:events" "node:fs" "node:fs/promises" "node:http" "node:https" "node:module" "node:net" "node:os" "node:path" "node:perf_hooks" "node:querystring" "node:stream" "node:string_decoder" "node:tls" "node:tty" "node:url" "node:util" "node:util/types" "node:vm" "node:zlib" "node:v8" "node:inspector"
Elapsed: 405ms | User: 566ms | Sys: 117ms
RSS: 0.27GB | Peak: 0.27GB | Commit: 1.07GB | Faults: 99

panic(main thread): Segmentation fault at address 0x5
oh no: Bun has crashed. This indicates a bug in Bun, not your code.

To send a redacted crash report to Bun's team,
please file a GitHub issue using the link below:

 https://bun.report/1.1.12/Mr143f0913AqgghgF____mrwrpC+wwk0Bmitq8Bm0+jgCmm8/a_A2AK

zsh: trace trap  bun run server.mjs

Stack Trace (bun.report)

Bun v1.1.12 (43f0913) on macos aarch64 [RunAsNodeCommand]

Segmentation fault at address 0x00000005

  • 4 unknown/js code
  • vmEntryToJavaScript
  • JSC::Interpreter::executeCall
  • JSC::runJSMicrotask
  • JSC::VM::drainMicrotasks
  • Bun::jsFunctionDrainMicrotaskQueue
  • 1 unknown/js code
@Tylopilus Tylopilus added the crash An issue that could cause a crash label Jun 5, 2024
@Tylopilus Tylopilus changed the title Bun crashes with seg fault crash: rsbuild w/ express server Jun 5, 2024
@Tylopilus Tylopilus changed the title crash: rsbuild w/ express server crash segfault at 0x5: rsbuild w/ express server Jun 5, 2024
@cirospaciari cirospaciari mentioned this issue Jun 8, 2024
2 tasks
@cirospaciari
Copy link
Member

Fixed in canary v1.1.22 if is happening after bun upgrade --canary feel free to reopen

@CrendKing
Copy link

CrendKing commented Aug 6, 2024

Tested on a template created with bun create rsbuild@latest:

$ rsbuild dev --open
  Rsbuild v1.0.1-beta.10

  > Network:  http://172.22.64.1:3000/
  > Network:  http://192.168.1.101:3000/
  > Local:    http://localhost:3000/

start   Compiling...
============================================================
Bun Canary v1.1.22-canary.91 (7a6efad4) Windows x64
CPU: sse42 avx avx2
Args: "bun.exe" "D:\test\node_modules\@rsbuild\core\bin\rsbuild.js" "dev" "--open"
Features: jsc Bun.stdin(2) http_server spawn transpiler_cache(15) tsconfig(2)
Builtins: "bun:jsc" "bun:main" "node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:constants" "node:crypto" "node:events" "node:fs" "node:http" "node:https" "node:module" "node:net" "node:os" "node:path" "node:perf_hooks" "node:querystring" "node:stream" "node:string_decoder" "node:tls" "node:tty" "node:url" "node:util" "node:util/types" "node:vm" "node:zlib" "node:v8" "node:inspector"
Elapsed: 587ms | User: 265ms | Sys: 46ms
RSS: 0.67GB | Peak: 0.67GB | Commit: 0.94GB | Faults: 173961

panic(main thread): Segmentation fault at address 0x5
oh no: Bun has crashed. This indicates a bug in Bun, not your code.

To send a redacted crash report to Bun's team,
please file a GitHub issue using the link below:

 https://bun.report/1.1.22/wa27a6efadAqggh0Cssqq8B___A2AK

error: script "dev" exited with code 3

@cirospaciari cirospaciari reopened this Aug 6, 2024
@Jarred-Sumner Jarred-Sumner changed the title crash segfault at 0x5: rsbuild w/ express server Support rsbuild Aug 29, 2024
@Jarred-Sumner Jarred-Sumner added the tracking-pkg Issues tracking support for a library or package label Aug 29, 2024
@Jarred-Sumner
Copy link
Collaborator

The reproduction from #13242 reproduces this. @dylan-conway previously spent some time debugging this and I think the state is the same as it was at that point.

bun create rsbuild@latest

Call stack:

JSC::JSValue::strictEqualForCells(JSC::JSGlobalObject*, JSC::JSCell*, JSC::JSCell*) (JavaScriptCore/JSCJSValueInlines.h:1351)
JSC::JSValue::strictEqual(JSC::JSGlobalObject*, JSC::JSValue, JSC::JSValue) (JavaScriptCore/JSCJSValueInlines.h:1374)
::operationCompareStrictEq(JSC::JSGlobalObject *, JSC::EncodedJSValue, JSC::EncodedJSValue) (@operationCompareStrictEq:36)
342063600 (@342063600..342063680:3)
34207D314 (@34207d314..34207d394:3)

Debug logs:

Console is in 'commands' mode, prefix expressions with '?'.
Executing script: initCommands
Executing commands in 'bun/.lldbinit'.
(lldb) command script import src/deps/zig/tools/lldb_pretty_printers.py
(lldb) command script import src/bun.js/WebKit/Tools/lldb/lldb_webkit.py
(lldb) # type summary add --summary-string "${var} | inner=${var[0-30]}, source=${var[33-64]}, tag=${var[31-32]}" "unsigned long"
Launching: bun/build/bun-debug run --bun rsbuild-project/node_modules/.bin/rsbuild dev --open
Launched process 12883
GuardMalloc[bun-debug-12883]: Allocations will be placed on 16 byte boundaries.
GuardMalloc[bun-debug-12883]:  - Some buffer overruns may not be noticed.
GuardMalloc[bun-debug-12883]:  - Applications using vector instructions (e.g., SSE) should work.
GuardMalloc[bun-debug-12883]: version 064565.58.2
mimalloc: warning: unable to allocate aligned OS memory directly, fall back to over-allocation (size: 0x40000000 bytes, address: 0x00010CF88000, alignment: 0x2000000, commit: 1)
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_string_utf8: DefinePlugin
[napi] napi_create_string_utf8: ProvidePlugin
[napi] napi_create_string_utf8: BannerPlugin
[napi] napi_create_string_utf8: IgnorePlugin
[napi] napi_create_string_utf8: ProgressPlugin
[napi] napi_create_string_utf8: EntryPlugin
[napi] napi_create_string_utf8: DynamicEntryPlugin
[napi] napi_create_string_utf8: ExternalsPlugin
[napi] napi_create_string_utf8: NodeTargetPlugin
[napi] napi_create_string_utf8: ElectronTargetPlugin
[napi] napi_create_string_utf8: EnableChunkLoadingPlugin
[napi] napi_create_string_utf8: EnableLibraryPlugin
[napi] napi_create_string_utf8: EnableWasmLoadingPlugin
[napi] napi_create_string_utf8: FetchCompileAsyncWasmPlugin
[napi] napi_create_string_utf8: ChunkPrefetchPreloadPlugin
[napi] napi_create_string_utf8: CommonJsChunkFormatPlugin
[napi] napi_create_string_utf8: ArrayPushCallbackChunkFormatPlugin
[napi] napi_create_string_utf8: ModuleChunkFormatPlugin
[napi] napi_create_string_utf8: HotModuleReplacementPlugin
[napi] napi_create_string_utf8: LimitChunkCountPlugin
[napi] napi_create_string_utf8: WorkerPlugin
[napi] napi_create_string_utf8: WebWorkerTemplatePlugin
[napi] napi_create_string_utf8: MergeDuplicateChunksPlugin
[napi] napi_create_string_utf8: SplitChunksPlugin
[napi] napi_create_string_utf8: ShareRuntimePlugin
[napi] napi_create_string_utf8: ContainerPlugin
[napi] napi_create_string_utf8: ContainerReferencePlugin
[napi] napi_create_string_utf8: ProvideSharedPlugin
[napi] napi_create_string_utf8: ConsumeSharedPlugin
[napi] napi_create_string_utf8: ModuleFederationRuntimePlugin
[napi] napi_create_string_utf8: NamedModuleIdsPlugin
[napi] napi_create_string_utf8: NaturalModuleIdsPlugin
[napi] napi_create_string_utf8: DeterministicModuleIdsPlugin
[napi] napi_create_string_utf8: NaturalChunkIdsPlugin
[napi] napi_create_string_utf8: NamedChunkIdsPlugin
[napi] napi_create_string_utf8: DeterministicChunkIdsPlugin
[napi] napi_create_string_utf8: RealContentHashPlugin
[napi] napi_create_string_utf8: RemoveEmptyChunksPlugin
[napi] napi_create_string_utf8: EnsureChunkConditionsPlugin
[napi] napi_create_string_utf8: WarnCaseSensitiveModulesPlugin
[napi] napi_create_string_utf8: DataUriPlugin
[napi] napi_create_string_utf8: FileUriPlugin
[napi] napi_create_string_utf8: RuntimePlugin
[napi] napi_create_string_utf8: JsonModulesPlugin
[napi] napi_create_string_utf8: InferAsyncModulesPlugin
[napi] napi_create_string_utf8: JavascriptModulesPlugin
[napi] napi_create_string_utf8: AsyncWebAssemblyModulesPlugin
[napi] napi_create_string_utf8: AssetModulesPlugin
[napi] napi_create_string_utf8: SourceMapDevToolPlugin
[napi] napi_create_string_utf8: EvalSourceMapDevToolPlugin
[napi] napi_create_string_utf8: EvalDevToolModulePlugin
[napi] napi_create_string_utf8: SideEffectsFlagPlugin
[napi] napi_create_string_utf8: FlagDependencyExportsPlugin
[napi] napi_create_string_utf8: FlagDependencyUsagePlugin
[napi] napi_create_string_utf8: MangleExportsPlugin
[napi] napi_create_string_utf8: ModuleConcatenationPlugin
[napi] napi_create_string_utf8: CssModulesPlugin
[napi] napi_create_string_utf8: APIPlugin
[napi] napi_create_string_utf8: RuntimeChunkPlugin
[napi] napi_create_string_utf8: SizeLimitsPlugin
[napi] napi_create_string_utf8: NoEmitOnErrorsPlugin
[napi] napi_create_string_utf8: HttpExternalsRspackPlugin
[napi] napi_create_string_utf8: CopyRspackPlugin
[napi] napi_create_string_utf8: HtmlRspackPlugin
[napi] napi_create_string_utf8: SwcJsMinimizerRspackPlugin
[napi] napi_create_string_utf8: LightningCssMinimizerRspackPlugin
[napi] napi_create_string_utf8: BundlerInfoRspackPlugin
[napi] napi_create_string_utf8: CssExtractRspackPlugin
[napi] napi_create_string_utf8: JsLoaderRspackPlugin
[napi] napi_create_string_utf8: LazyCompilationPlugin
[napi] napi_create_string_utf8: string
[napi] napi_create_string_utf8: regexp
[napi] napi_create_string_utf8: logical
[napi] napi_create_string_utf8: array
[napi] napi_create_string_utf8: func
[napi] napi_create_string_utf8: Pitching
[napi] napi_create_string_utf8: Normal
[napi] napi_create_string_utf8: Error
[napi] napi_create_string_utf8: Warn
[napi] napi_create_string_utf8: CustomGC
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_add_env_cleanup_hook

  Rsbuild v1.0.1-rc.0
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int32
[napi] napi_create_int64
[napi] napi_get_value_int64
[napi] napi_create_string_utf8: fsevents
[napi] napi_create_threadsafe_function
[napi] napi_ref_threadsafe_function
  > Local:    http://localhost:3000/
  > Network:  http://192.168.1.216:3000/
  > Network:  http://100.88.159.21:3000/
start   Compiling...
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_uint32
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_uint32
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_uint32
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_uint32
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_uint32
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_uint32
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_uint32
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_uint32
[napi] napi_get_value_uint32
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_int32
[napi] napi_get_value_int32
[napi] napi_get_value_int32
[napi] napi_get_value_int32
[napi] napi_get_value_int32
[napi] napi_get_value_uint32
[napi] napi_get_value_bool
[napi] napi_get_value_int32
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_uint32
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_get_undefined
[napi] call() (stages) => {
      const hook = getHook();
      if (!hook.isUsed())
        return [];
      const breakpoints = [
        liteTapable.minStage,
        ...stages,
        liteTapable.maxStage
      ], jsTaps = [];
      for (let i = 0;i < breakpoints.length - 1; i++) {
        const from = breakpoints[i], to = breakpoints[i + 1], stageRange = [from, to], queried = hook.queryStageRange(stageRange);
        if (!queried.isUsed())
          continue;
        jsTaps.push({
          function: createTap(queried),
          stage: liteTapable.safeStage(from + 1)
        });
      }
      __classPrivateFieldGet(this, _Compiler_instances, "m", _Compiler_decorateJsTaps).call(this, jsTaps);
      return jsTaps;
    }
[napi] napi_get_undefined
[napi] napi_create_array_with_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_int32
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] call() (...args) => {
        const result = old(...args);
        if (result && typeof result.then === "function")
          return result.then((r) => {
            __classPrivateFieldGet(this, _Compiler_instances, "m", _Compiler_updateNonSkippableRegisters).call(this);
            return r;
          });
        __classPrivateFieldGet(this, _Compiler_instances, "m", _Compiler_updateNonSkippableRegisters).call(this);
        return result;
      }
[napi] napi_get_undefined
[napi] napi_add_env_cleanup_hook
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_int32
[napi] napi_get_value_int32
[napi] napi_get_value_int32
[napi] napi_get_undefined
[napi] call() (stages) => {
      const hook = getHook();
      if (!hook.isUsed())
        return [];
      const breakpoints = [
        liteTapable.minStage,
        ...stages,
        liteTapable.maxStage
      ], jsTaps = [];
      for (let i = 0;i < breakpoints.length - 1; i++) {
        const from = breakpoints[i], to = breakpoints[i + 1], stageRange = [from, to], queried = hook.queryStageRange(stageRange);
        if (!queried.isUsed())
          continue;
        jsTaps.push({
          function: createTap(queried),
          stage: liteTapable.safeStage(from + 1)
        });
      }
      __classPrivateFieldGet(this, _Compiler_instances, "m", _Compiler_decorateJsTaps).call(this, jsTaps);
      return jsTaps;
    }
[napi] napi_get_undefined
[napi] napi_create_array_with_length
[napi] napi_create_int32
[napi] napi_set_element
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_int32
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] call() (...args) => {
        const result = old(...args);
        if (result && typeof result.then === "function")
          return result.then((r) => {
            __classPrivateFieldGet(this, _Compiler_instances, "m", _Compiler_updateNonSkippableRegisters).call(this);
            return r;
          });
        __classPrivateFieldGet(this, _Compiler_instances, "m", _Compiler_updateNonSkippableRegisters).call(this);
        return result;
      }
[napi] napi_get_undefined
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_int32
[napi] napi_get_value_int32
[napi] napi_get_value_int32
[napi] napi_get_value_int32
[napi] napi_get_undefined
[napi] call() function runLoaders() {
    [native code]
}
[napi] napi_get_undefined
[napi] napi_create_string_utf8: rsbuild-project/src/App.css
[napi] napi_create_string_utf8: rsbuild-project/src/App.css
[napi] napi_create_string_utf8: 
[napi] napi_create_string_utf8:
[napi] napi_create_string_utf8: rsbuild-project/node_modules/@rspack/core/dist/builtin-plugin/css-extract/loader.js!commonjs|rsbuild-project/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[2].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[2].use[2]!rsbuild-project/src/App.css
[napi] napi_create_string_utf8: rsbuild-project/src
[napi] napi_create_string_utf8: rsbuild-project/src/App.css
[napi] napi_create_string_utf8: rsbuild-project/node_modules/@rspack/core/dist/builtin-plugin/css-extract/loader.js!commonjs|rsbuild-project/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[2].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[2].use[2]!rsbuild-project/src/App.css
[napi] napi_create_string_utf8: rsbuild-project/src/App.css
[napi] napi_create_string_utf8: rsbuild-project/node_modules/@rspack/core/dist/builtin-plugin/css-extract/loader.js!commonjs|rsbuild-project/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[2].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[2].use[2]!rsbuild-project/src/App.css
[napi] napi_create_string_utf8: rsbuild-project/src/App.css
[napi] napi_create_string_utf8: ./App.css
[napi] napi_get_boolean
[napi] napi_create_string_utf8: javascript/auto
[napi] napi_get_boolean
[napi] napi_get_null
[napi] napi_get_boolean
[napi] napi_create_array_with_length
[napi] napi_create_string_utf8: rsbuild-project/src/App.css
[napi] napi_set_element
[napi] napi_create_array_with_length
[napi] napi_create_array_with_length
[napi] napi_create_array_with_length
[napi] napi_create_array_with_length
[napi] napi_create_string_utf8: rsbuild-project/node_modules/@rspack/core/dist/builtin-plugin/css-extract/loader.js
[napi] napi_create_string_utf8: 
[napi] napi_get_null
[napi] napi_get_boolean
[napi] napi_get_boolean
[napi] napi_set_element
[napi] napi_create_string_utf8: rsbuild-project/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[2].use[1]
[napi] napi_create_string_utf8: commonjs
[napi] napi_get_null
[napi] napi_get_boolean
[napi] napi_get_boolean
[napi] napi_set_element
[napi] napi_create_string_utf8: builtin:lightningcss-loader??ruleSet[1].rules[2].use[2]
[napi] napi_create_string_utf8: 
[napi] napi_get_null
[napi] napi_get_boolean
[napi] napi_get_boolean
[napi] napi_set_element
[napi] napi_create_int32
[napi] napi_create_string_utf8: Pitching
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_get_undefined
[napi] call() function runLoaders() {
    [native code]
}
[napi] napi_get_undefined
[napi] napi_create_string_utf8: rsbuild-project/src/App.css
[napi] napi_create_string_utf8: rsbuild-project/src/App.css
[napi] napi_create_string_utf8: 
[napi] napi_create_string_utf8: 
[napi] napi_create_string_utf8: commonjs|rsbuild-project/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[2].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[2].use[2]!rsbuild-project/src/App.css
[napi] napi_create_string_utf8: rsbuild-project/src
[napi] napi_create_string_utf8: rsbuild-project/src/App.css
[napi] napi_create_string_utf8: commonjs|rsbuild-project/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[2].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[2].use[2]!rsbuild-project/src/App.css
[napi] napi_create_string_utf8: rsbuild-project/src/App.css
[napi] napi_create_string_utf8: commonjs|rsbuild-project/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[2].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[2].use[2]!rsbuild-project/src/App.css
[napi] napi_create_string_utf8: rsbuild-project/src/App.css!=!rsbuild-project/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[2].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[2].use[2]!rsbuild-project/src/App.css
[napi] napi_create_string_utf8: rsbuild-project/src/App.css.webpack[javascript/auto]!=!!!rsbuild-project/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[2].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[2].use[2]!rsbuild-project/src/App.css
[napi] napi_create_string_utf8: javascript/auto
[napi] napi_get_boolean
[napi] napi_get_null
[napi] napi_get_boolean
[napi] napi_create_array_with_length
[napi] napi_create_string_utf8: rsbuild-project/src/App.css
[napi] napi_set_element
[napi] napi_create_array_with_length
[napi] napi_create_array_with_length
[napi] napi_create_array_with_length
[napi] napi_create_array_with_length
[napi] napi_create_string_utf8: rsbuild-project/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[2].use[1]
[napi] napi_create_string_utf8: commonjs
[napi] napi_get_null
[napi] napi_get_boolean
[napi] napi_get_boolean
[napi] napi_set_element
[napi] napi_create_string_utf8: builtin:lightningcss-loader??ruleSet[1].rules[2].use[2]
[napi] napi_create_string_utf8: 
[napi] napi_get_null
[napi] napi_get_boolean
[napi] napi_get_boolean
[napi] napi_set_element
[napi] napi_create_int32
[napi] napi_create_string_utf8: Pitching
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_int32
[napi] call() function runLoaders() {
    [native code]
}
[napi] napi_get_undefined
[napi] napi_create_string_utf8: rsbuild-project/src/App.css
[napi] napi_create_string_utf8: rsbuild-project/src/App.css
[napi] napi_create_string_utf8: 
[napi] napi_create_string_utf8:
[napi] napi_create_string_utf8: commonjs|rsbuild-project/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[2].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[2].use[2]!rsbuild-project/src/App.css
[napi] napi_create_string_utf8: rsbuild-project/src
[napi] napi_create_string_utf8: rsbuild-project/src/App.css
[napi] napi_create_string_utf8: commonjs|rsbuild-project/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[2].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[2].use[2]!rsbuild-project/src/App.css
[napi] napi_create_string_utf8: rsbuild-project/src/App.css
[napi] napi_create_string_utf8: commonjs|rsbuild-project/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[2].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[2].use[2]!rsbuild-project/src/App.css
[napi] napi_create_string_utf8: rsbuild-project/src/App.css!=!rsbuild-project/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[2].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[2].use[2]!rsbuild-project/src/App.css
[napi] napi_create_string_utf8: rsbuild-project/src/App.css.webpack[javascript/auto]!=!!!rsbuild-project/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[2].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[2].use[2]!rsbuild-project/src/App.css
[napi] napi_create_string_utf8: javascript/auto
[napi] napi_get_boolean
[napi] napi_get_boolean
[napi] napi_create_array_with_length
[napi] napi_create_string_utf8: rsbuild-project/src/App.css
[napi] napi_set_element
[napi] napi_create_array_with_length
[napi] napi_create_array_with_length
[napi] napi_create_array_with_length
[napi] napi_create_array_with_length
[napi] napi_create_string_utf8: rsbuild-project/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[2].use[1]
[napi] napi_create_string_utf8: commonjs
[napi] napi_get_null
[napi] napi_get_boolean
[napi] napi_get_boolean
[napi] napi_set_element
[napi] napi_create_string_utf8: builtin:lightningcss-loader??ruleSet[1].rules[2].use[2]
[napi] napi_create_string_utf8: 
[napi] napi_get_null
[napi] napi_get_boolean
[napi] napi_get_boolean
[napi] napi_set_element
[napi] napi_create_int32
[napi] napi_create_string_utf8: Normal
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_is_buffer
[napi] napi_get_buffer_info
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_int32
[napi] call() function custom_gc() {
    [native code]
}
[napi] call() (stages) => {
      const hook = getHook();
      if (!hook.isUsed())
        return [];
      const breakpoints = [
        liteTapable.minStage,
        ...stages,
        liteTapable.maxStage
      ], jsTaps = [];
      for (let i = 0;i < breakpoints.length - 1; i++) {
        const from = breakpoints[i], to = breakpoints[i + 1], stageRange = [from, to], queried = hook.queryStageRange(stageRange);
        if (!queried.isUsed())
          continue;
        jsTaps.push({
          function: createTap(queried),
          stage: liteTapable.safeStage(from + 1)
        });
      }
      __classPrivateFieldGet(this, _Compiler_instances, "m", _Compiler_decorateJsTaps).call(this, jsTaps);
      return jsTaps;
    }
[napi] napi_get_undefined
[napi] napi_create_array_with_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_int32
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] call() (...args) => {
        const result = old(...args);
        if (result && typeof result.then === "function")
          return result.then((r) => {
            __classPrivateFieldGet(this, _Compiler_instances, "m", _Compiler_updateNonSkippableRegisters).call(this);
            return r;
          });
        __classPrivateFieldGet(this, _Compiler_instances, "m", _Compiler_updateNonSkippableRegisters).call(this);
        return result;
      }
[napi] napi_get_undefined
[napi] napi_create_string_utf8: commonjs|rsbuild-project/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[2].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[2].use[2]!rsbuild-project/src/App.css
[napi] napi_create_array_with_length
[napi] napi_create_string_utf8: RuntimeSpec { inner: {"build time"}, key: "build time" }/webpack/runtime/hot_module_replacement
[napi] napi_set_element
[napi] napi_create_string_utf8: RuntimeSpec { inner: {"build time"}, key: "build time" }/webpack/runtime/public_path
[napi] napi_set_element
[napi] napi_create_string_utf8: RuntimeSpec { inner: {"build time"}, key: "build time" }/webpack/runtime/define_property_getters
[napi] napi_set_element
[napi] napi_create_string_utf8: RuntimeSpec { inner: {"build time"}, key: "build time" }/webpack/runtime/make_namespace_object
[napi] napi_set_element
[napi] napi_create_string_utf8: RuntimeSpec { inner: {"build time"}, key: "build time" }/webpack/runtime/rspack_unique_id
[napi] napi_set_element
[napi] napi_create_string_utf8: RuntimeSpec { inner: {"build time"}, key: "build time" }/webpack/runtime/get mini-css chunk filename
[napi] napi_set_element
[napi] napi_create_string_utf8: RuntimeSpec { inner: {"build time"}, key: "build time" }/webpack/runtime/rspack_version
[napi] napi_set_element
[napi] napi_create_string_utf8: RuntimeSpec { inner: {"build time"}, key: "build time" }/webpack/runtime/compat_get_default_export
[napi] napi_set_element
[napi] napi_create_string_utf8: RuntimeSpec { inner: {"build time"}, key: "build time" }/webpack/runtime/css loading
[napi] napi_set_element
[napi] napi_create_string_utf8: RuntimeSpec { inner: {"build time"}, key: "build time" }/webpack/runtime/has_own_property
[napi] napi_set_element
[napi] napi_create_string_utf8: __webpack_require__.d = function(exports, definition) {
	for(var key in definition) {
        if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
            Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
        }
    }
};
[napi] napi_create_string_utf8: if (typeof document === "undefined") return;
var createStylesheet = function (
	chunkId, fullhref, oldTag, resolve, reject
) {
	var linkTag = document.createElement("link");
	
	linkTag.rel = "stylesheet";
	linkTag.type="text/css";
	if (__webpack_require__.nc) {
		linkTag.nonce = __webpack_require__.nc;
	}
	var onLinkComplete = function (event) {
		// avoid mem leaks.
		linkTag.onerror = linkTag.onload = null;
		if (event.type === 'load') {
			resolve();
		} else {
			var errorType = event && (event.type === 'load' ? 'missing' : event.type);
			var realHref = event && event.target && event.target.href || fullhref;
			var err = new Error("Loading CSS chunk " + chunkId + " failed.\\n(" + realHref + ")");
			err.code = "CSS_CHUNK_LOAD_FAILED";
			err.type = errorType;
			err.request = realHref;
			if (linkTag.parentNode) linkTag.parentNode.removeChild(linkTag)
			reject(err);
		}
	}

	linkTag.onerror = linkTag.onload = onLinkComplete;
	linkTag.href = fullhref;
	
	if (oldTag) {
  oldTag.parentNode.insertBefore(linkTag, oldTag.nextSibling);
} else {
  document.head.appendChild(linkTag);
}
	return linkTag;
}
var findStylesheet = function (href, fullhref) {
	var existingLinkTags = document.getElementsByTagName("link");
	for (var i = 0; i < existingLinkTags.length; i++) {
		var tag = existingLinkTags[i];
		var dataHref = tag.getAttribute("data-href") || tag.getAttribute("href");
		if (tag.rel === "stylesheet" && (dataHref === href || dataHref === fullhref)) return tag;
	}

	var existingStyleTags = document.getElementsByTagName("style");
	for (var i = 0; i < existingStyleTags.length; i++) {
		var tag = existingStyleTags[i];
		var dataHref = tag.getAttribute("data-href");
		if (dataHref === href || dataHref === fullhref) return tag;
	}
}

var loadStylesheet = function (chunkId) {
	return new Promise(function (resolve, reject) {
		var href = __webpack_require__.miniCssF(chunkId);
		var fullhref = __webpack_require__.p + href;
		if (findStylesheet(href, fullhref)) return resolve();
		createStylesheet(chunkId, fullhref, null, resolve, reject);
	})
}

// no chunk loading
var oldTags = [];
var newTags = [];
var applyHandler = function (options) {
	return {
		dispose: function () {
			for (var i = 0; i < oldTags.length; i++) {
				var oldTag = oldTags[i];
				if (oldTag.parentNode) oldTag.parentNode.removeChild(oldTag);
			}
			oldTags.length = 0;
		},
		apply: function () {
			for (var i = 0; i < newTags.length; i++) newTags[i].rel = "stylesheet";
			newTags.length = 0;
		}
	}
}
__webpack_require__.hmrC.miniCss = function (chunkIds, removedChunks, removedModules, promises, applyHandlers, updatedModulesList) {
	applyHandlers.push(applyHandler);
	chunkIds.forEach(function (chunkId) {
		var href = __webpack_require__.miniCssF(chunkId);
		var fullhref = __webpack_require__.p + href;
		var oldTag = findStylesheet(href, fullhref);
		if (!oldTag) return;
		promises.push(new Promise(function (resolve, reject) {
			var tag = createStylesheet(
				chunkId,
				fullhref,
				oldTag,
				function () {
					tag.as = "style";
					tag.rel = "preload";
					resolve();
				},
				reject
			);
			oldTags.push(oldTag);
			newTags.push(tag);
		}))
	});
}
[napi] napi_create_string_utf8: var currentModuleData = {};
var installedModules = __webpack_require__.c;

// module and require creation
var currentChildModule;
var currentParents = [];

// status
var registeredStatusHandlers = [];
var currentStatus = "idle";

// while downloading
var blockingPromises = 0;
var blockingPromisesWaiting = [];

// The update info
var currentUpdateApplyHandlers;
var queuedInvalidatedModules;

__webpack_require__.hmrD = currentModuleData;
__webpack_require__.i.push(function (options) {
	var module = options.module;
	var require = createRequire(options.require, options.id);
	module.hot = createModuleHotObject(options.id, module);
	module.parents = currentParents;
	module.children = [];
	currentParents = [];
	options.require = require;
});

__webpack_require__.hmrC = {};
__webpack_require__.hmrI = {};

function createRequire(require, moduleId) {
	var me = installedModules[moduleId];
	if (!me) return require;
	var fn = function (request) {
		if (me.hot.active) {
			if (installedModules[request]) {
				var parents = installedModules[request].parents;
				if (parents.indexOf(moduleId) === -1) {
					parents.push(moduleId);
				}
			} else {
				currentParents = [moduleId];
				currentChildModule = request;
			}
			if (me.children.indexOf(request) === -1) {
				me.children.push(request);
			}
		} else {
			console.warn(
				"[HMR] unexpected require(" +
				request +
				") from disposed module " +
				moduleId
			);
			currentParents = [];
		}
		return require(request);
	};
	var createPropertyDescriptor = function (name) {
		return {
			configurable: true,
			enumerable: true,
			get: function () {
				return require[name];
			},
			set: function (value) {
				require[name] = value;
			}
		};
	};
	for (var name in require) {
		if (Object.prototype.hasOwnProperty.call(require, name) && name !== "e") {
			Object.defineProperty(fn, name, createPropertyDescriptor(name));
		}
	}

	fn.e = function (chunkId, fetchPriority) {
		return trackBlockingPromise(require.e(chunkId, fetchPriority));
	};

	return fn;
}

function createModuleHotObject(moduleId, me) {
	var _main = currentChildModule !== moduleId;
	var hot = {
		_acceptedDependencies: {},
		_acceptedErrorHandlers: {},
		_declinedDependencies: {},
		_selfAccepted: false,
		_selfDeclined: false,
		_selfInvalidated: false,
		_disposeHandlers: [],
		_main: _main,
		_requireSelf: function () {
			currentParents = me.parents.slice();
			currentChildModule = _main ? undefined : moduleId;
			__webpack_require__(moduleId);
		},
		active: true,
		accept: function (dep, callback, errorHandler) {
			if (dep === undefined) hot._selfAccepted = true;
			else if (typeof dep === "function") hot._selfAccepted = dep;
			else if (typeof dep === "object" && dep !== null) {
				for (var i = 0; i < dep.length; i++) {
					hot._acceptedDependencies[dep[i]] = callback || function () { };
					hot._acceptedErrorHandlers[dep[i]] = errorHandler;
				}
			} else {
				hot._acceptedDependencies[dep] = callback || function () { };
				hot._acceptedErrorHandlers[dep] = errorHandler;
			}
		},
		decline: function (dep) {
			if (dep === undefined) hot._selfDeclined = true;
			else if (typeof dep === "object" && dep !== null)
				for (var i = 0; i < dep.length; i++)
					hot._declinedDependencies[dep[i]] = true;
			else hot._declinedDependencies[dep] = true;
		},
		dispose: function (callback) {
			hot._disposeHandlers.push(callback);
		},
		addDisposeHandler: function (callback) {
			hot._disposeHandlers.push(callback);
		},
		removeDisposeHandler: function (callback) {
			var idx = hot._disposeHandlers.indexOf(callback);
			if (idx >= 0) hot._disposeHandlers.splice(idx, 1);
		},
		invalidate: function () {
			this._selfInvalidated = true;
			switch (currentStatus) {
				case "idle":
					currentUpdateApplyHandlers = [];
					Object.keys(__webpack_require__.hmrI).forEach(function (key) {
						__webpack_require__.hmrI[key](moduleId, currentUpdateApplyHandlers);
					});
					setStatus("ready");
					break;
				case "ready":
					Object.keys(__webpack_require__.hmrI).forEach(function (key) {
						__webpack_require__.hmrI[key](moduleId, currentUpdateApplyHandlers);
					});
					break;
				case "prepare":
				case "check":
				case "dispose":
				case "apply":
					(queuedInvalidatedModules = queuedInvalidatedModules || []).push(
						moduleId
					);
					break;
				default:
					break;
			}
		},
		check: hotCheck,
		apply: hotApply,
		status: function (l) {
			if (!l) return currentStatus;
			registeredStatusHandlers.push(l);
		},
		addStatusHandler: function (l) {
			registeredStatusHandlers.push(l);
		},
		removeStatusHandler: function (l) {
			var idx = registeredStatusHandlers.indexOf(l);
			if (idx >= 0) registeredStatusHandlers.splice(idx, 1);
		},
		data: currentModuleData[moduleId]
	};
	currentChildModule = undefined;
	return hot;
}

function setStatus(newStatus) {
	currentStatus = newStatus; 
	var results = [];
	for (var i = 0; i < registeredStatusHandlers.length; i++)
		results[i] = registeredStatusHandlers[i].call(null, newStatus);

	return Promise.all(results).then(function () { });
}

function unblock() {
	if (--blockingPromises === 0) {
		setStatus("ready").then(function () {
			if (blockingPromises === 0) {
				var list = blockingPromisesWaiting;
				blockingPromisesWaiting = [];
				for (var i = 0; i < list.length; i++) {
					list[i]();
				}
			}
		});
	}
}

function trackBlockingPromise(promise) {
	switch (currentStatus) {
		case "ready":
			setStatus("prepare");
		case "prepare":
			blockingPromises++;
			promise.then(unblock, unblock);
			return promise;
		default:
			return promise;
	}
}

function waitForBlockingPromises(fn) {
	if (blockingPromises === 0) return fn();
	return new Promise(function (resolve) {
		blockingPromisesWaiting.push(function () {
			resolve(fn());
		});
	});
}

function hotCheck(applyOnUpdate) {
	if (currentStatus !== "idle") {
		throw new Error("check() is only allowed in idle status");
	} 
	return setStatus("check")
		.then(__webpack_require__.hmrM)
		.then(function (update) {
			if (!update) {
				return setStatus(applyInvalidatedModules() ? "ready" : "idle").then(
					function () {
						return null;
					}
				);
			}

			return setStatus("prepare").then(function () {
				var updatedModules = [];
				currentUpdateApplyHandlers = [];

				return Promise.all(
					Object.keys(__webpack_require__.hmrC).reduce(function (
						promises,
						key
					) {
						__webpack_require__.hmrC[key](
							update.c,
							update.r,
							update.m,
							promises,
							currentUpdateApplyHandlers,
							updatedModules
						);
						return promises;
					},
						[])
				).then(function () {
					return waitForBlockingPromises(function () {
						if (applyOnUpdate) {
							return internalApply(applyOnUpdate);
						}
						return setStatus("ready").then(function () {
							return updatedModules;
						});
					});
				});
			});
		});
}

function hotApply(options) {
	if (currentStatus !== "ready") {
		return Promise.resolve().then(function () {
			throw new Error(
				"apply() is only allowed in ready status (state: " + currentStatus + ")"
			);
		});
	}
	return internalApply(options);
}

function internalApply(options) {
	options = options || {};
	applyInvalidatedModules();
	var results = currentUpdateApplyHandlers.map(function (handler) {
		return handler(options);
	});
	currentUpdateApplyHandlers = undefined;
	var errors = results
		.map(function (r) {
			return r.error;
		})
		.filter(Boolean);

	if (errors.length > 0) {
		return setStatus("abort").then(function () {
			throw errors[0];
		});
	}

	var disposePromise = setStatus("dispose");

	results.forEach(function (result) {
		if (result.dispose) result.dispose();
	});

	var applyPromise = setStatus("apply");

	var error;
	var reportError = function (err) {
		if (!error) error = err;
	};


	var outdatedModules = [];
	results.forEach(function (result) {
		if (result.apply) {
			var modules = result.apply(reportError);
			if (modules) {
				for (var i = 0; i < modules.length; i++) {
					outdatedModules.push(modules[i]);
				}
			}
		}
	});

	return Promise.all([disposePromise, applyPromise]).then(function () {
		if (error) {
			return setStatus("fail").then(function () {
				throw error;
			});
		}

		if (queuedInvalidatedModules) {
			return internalApply(options).then(function (list) {
				outdatedModules.forEach(function (moduleId) {
					if (list.indexOf(moduleId) < 0) list.push(moduleId);
				});
				return list;
			});
		}

		return setStatus("idle").then(function () {
			return outdatedModules;
		});
	});
}

function applyInvalidatedModules() {
	if (queuedInvalidatedModules) {
		if (!currentUpdateApplyHandlers) currentUpdateApplyHandlers = [];
		Object.keys(__webpack_require__.hmrI).forEach(function (key) {
			queuedInvalidatedModules.forEach(function (moduleId) {
				__webpack_require__.hmrI[key](moduleId, currentUpdateApplyHandlers);
			});
		});
		queuedInvalidatedModules = undefined;
		return true;
	}
}
[napi] napi_create_string_utf8: __webpack_require__.o = function (obj, prop) {
	return Object.prototype.hasOwnProperty.call(obj, prop);
};
[napi] napi_create_string_utf8: // This function allow to reference chunks
        __webpack_require__.miniCssF = function (chunkId) {
          // return url for filenames not based on template
          
          // return url for filenames based on template
          return "" + chunkId + ".css";
        };
[napi] napi_create_string_utf8: 

module.exports = function (i) {
  return i[1];
};
[napi] napi_create_string_utf8: __webpack_require__.r(__webpack_exports__);
__webpack_require__.d(__webpack_exports__, {
  "default": function() { return __WEBPACK_DEFAULT_EXPORT__; }
});
/* harmony import */var _node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("javascript/dynamic|rsbuild-project/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js");
/* harmony import */var _node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */var _node_modules_rsbuild_core_compiled_css_loader_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("javascript/dynamic|rsbuild-project/node_modules/@rsbuild/core/compiled/css-loader/api.js");
/* harmony import */var _node_modules_rsbuild_core_compiled_css_loader_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_rsbuild_core_compiled_css_loader_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_rsbuild_core_compiled_css_loader_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `body {
  color: #fff;
  background-image: linear-gradient(#020917, #101725);
  margin: 0;
  font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
}

.content {
  text-align: center;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  line-height: 1.1;
  display: flex;
}

.content h1 {
  font-size: 3.6rem;
  font-weight: 700;
}

.content p {
  opacity: .5;
  font-size: 1.2rem;
  font-weight: 400;
}
`, ""]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
[napi] napi_create_string_utf8: __webpack_require__.ruid = "[email protected]";
[napi] napi_create_string_utf8: __webpack_require__.p = "webpack:///mini-css-extract-plugin//";
[napi] napi_create_string_utf8: __webpack_require__.rv = function () {
	return "1.0.0";
};
[napi] napi_create_string_utf8: // getDefaultExport function for compatibility with non-harmony modules
__webpack_require__.n = function (module) {
	var getter = module && module.__esModule ?
		function () { return module['default']; } :
		function () { return module; };
	__webpack_require__.d(getter, { a: getter });
	return getter;
};
[napi] napi_create_string_utf8: // define __esModule on exports
__webpack_require__.r = function(exports) {
	if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
		Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
	}
	Object.defineProperty(exports, '__esModule', { value: true });
};
[napi] napi_create_string_utf8: 

/*
  MIT License http://www.opensource.org/licenses/mit-license.php
  Author Tobias Koppers @sokra
*/
module.exports = function (cssWithMappingToString) {
  var list = [];

  // return the list of modules as css string
  list.toString = function toString() {
    return this.map(function (item) {
      var content = "";
      var needLayer = typeof item[5] !== "undefined";
      if (item[4]) {
        content += "@supports (".concat(item[4], ") {");
      }
      if (item[2]) {
        content += "@media ".concat(item[2], " {");
      }
      if (needLayer) {
        content += "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {");
      }
      content += cssWithMappingToString(item);
      if (needLayer) {
        content += "}";
      }
      if (item[2]) {
        content += "}";
      }
      if (item[4]) {
        content += "}";
      }
      return content;
    }).join("");
  };

  // import a list of modules into the list
  list.i = function i(modules, media, dedupe, supports, layer) {
    if (typeof modules === "string") {
      modules = [[null, modules, undefined]];
    }
    var alreadyImportedModules = {};
    if (dedupe) {
      for (var k = 0; k < this.length; k++) {
        var id = this[k][0];
        if (id != null) {
          alreadyImportedModules[id] = true;
        }
      }
    }
    for (var _k = 0; _k < modules.length; _k++) {
      var item = [].concat(modules[_k]);
      if (dedupe && alreadyImportedModules[item[0]]) {
        continue;
      }
      if (typeof layer !== "undefined") {
        if (typeof item[5] === "undefined") {
          item[5] = layer;
        } else {
          item[1] = "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {").concat(item[1], "}");
          item[5] = layer;
        }
      }
      if (media) {
        if (!item[2]) {
          item[2] = media;
        } else {
          item[1] = "@media ".concat(item[2], " {").concat(item[1], "}");
          item[2] = media;
        }
      }
      if (supports) {
        if (!item[4]) {
          item[4] = "".concat(supports);
        } else {
          item[1] = "@supports (".concat(item[4], ") {").concat(item[1], "}");
          item[4] = supports;
        }
      }
      list.push(item);
    }
  };
  return list;
};
[napi] napi_create_uint32
[napi] call() (err, res) => {
        if (err)
          callback(err, void 0);
        else {
          for (const dep of res.buildDependencies)
            this.addBuildDependency(dep);
          for (const dep of res.contextDependencies)
            this.addContextDependency(dep);
          for (const dep of res.missingDependencies)
            this.addMissingDependency(dep);
          for (const dep of res.fileDependencies)
            this.addDependency(dep);
          if (res.cacheable === !1)
            this.cacheable(!1);
          callback(void 0, compiler.__internal__getModuleExecutionResult(res.id));
        }
      }
[napi] napi_get_undefined
[napi] napi_create_array_with_length
[napi] napi_create_string_utf8: rsbuild-project/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js
[napi] napi_set_element
[napi] napi_create_string_utf8: rsbuild-project/node_modules/@rsbuild/core/compiled/css-loader/api.js
[napi] napi_set_element
[napi] napi_create_string_utf8: rsbuild-project/src/App.css
[napi] napi_set_element
[napi] napi_create_array_with_length
[napi] napi_create_array_with_length
[napi] napi_create_array_with_length
[napi] napi_get_boolean
[napi] napi_create_array_with_length
[napi] napi_create_uint32
[napi] napi_get_null
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_is_buffer
[napi] napi_get_buffer_info
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_get_value_bool
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_is_array
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_bool
[napi] napi_get_value_int32
[napi] call() function custom_gc() {
    [native code]
}
[napi] call() undefined
[napi] napi_coerce_to_object
[napi] call() undefined
[napi] call() (stages) => {
      const hook = getHook();
      if (!hook.isUsed())
        return [];
      const breakpoints = [
        liteTapable.minStage,
        ...stages,
        liteTapable.maxStage
      ], jsTaps = [];
      for (let i = 0;i < breakpoints.length - 1; i++) {
        const from = breakpoints[i], to = breakpoints[i + 1], stageRange = [from, to], queried = hook.queryStageRange(stageRange);
        if (!queried.isUsed())
          continue;
        jsTaps.push({
          function: createTap(queried),
          stage: liteTapable.safeStage(from + 1)
        });
      }
      __classPrivateFieldGet(this, _Compiler_instances, "m", _Compiler_decorateJsTaps).call(this, jsTaps);
      return jsTaps;
    }
[napi] napi_get_undefined
[napi] napi_create_array_with_length
[napi] napi_create_int32
[napi] napi_set_element
[napi] napi_create_int32
[napi] napi_set_element
[napi] napi_is_array
[napi] napi_get_array_length
[napi] napi_get_value_int32
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_get_value_int32
[napi] napi_create_string_utf8: napi_rs_threadsafe_function
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] napi_create_string_utf8: napi_js_callback
[napi] napi_create_threadsafe_function
[napi] napi_unref_threadsafe_function
[napi] call() async () => await queried.promise(__classPrivateFieldGet(this, _Compiler_compilation, "f").assets)
[napi] napi_get_undefined
[napi] call() (info) => path8.resolve(info.absoluteResourcePath).replace(/\\/g, "/")
[napi] napi_get_undefined
[napi] napi_create_string_utf8: ./node_modules/react/cjs/react-jsx-dev-runtime.development.js
[napi] napi_create_string_utf8: ./node_modules/react/cjs/react-jsx-dev-runtime.development.js
[napi] napi_create_string_utf8: ./node_modules/react/cjs/react-jsx-dev-runtime.development.js
[napi] napi_create_string_utf8: ./node_modules/react/cjs/react-jsx-dev-runtime.development.js
[napi] napi_create_string_utf8: rsbuild-project/node_modules/react/cjs/react-jsx-dev-runtime.development.js
[napi] napi_create_string_utf8: 
[napi] napi_create_string_utf8: 
[napi] napi_create_string_utf8:
[napi] napi_create_string_utf8:
[napi] napi_create_string_utf8: f6b4
[napi] napi_create_string_utf8: rsbuild-project
[napi] napi_is_promise
[napi] napi_create_promise
[napi] napi_create_string_utf8: InvalidArg
[napi] napi_create_string_utf8: Expected Promise object
[napi] napi_reject_deferred
Stop reason: Null pointer use

@Sovenok-Hacker
Copy link

Fixed in canary v1.1.22 if is happening after bun upgrade --canary feel free to reopen

v1.1.29-canary.14 (18251e1) still not work.

@Sovenok-Hacker
Copy link

Is it being fixed?

@harrytran998
Copy link

Hope bun support Rsbuild soon <3 Thank

@Jarred-Sumner Jarred-Sumner assigned 190n and unassigned cirospaciari Nov 5, 2024
@heimskr
Copy link
Member

heimskr commented Nov 5, 2024

This appears to be fixed in the ben/fix-node-napi-tests branch. Please try again using an artifact from Buildkite. For @Tylopilus and anyone else using macOS on Apple Silicon, the relevant artifact you want is here. Please let me know if this resolves the issue.

@heimskr heimskr self-assigned this Nov 5, 2024
@190n 190n added the napi Compatibility with the native layer of Node.js label Nov 5, 2024
@juzi5201314
Copy link

This appears to be fixed in the ben/fix-node-napi-tests branch. Please try again using an artifact from Buildkite. For @Tylopilus and anyone else using macOS on Apple Silicon, the relevant artifact you want is here. Please let me know if this resolves the issue.

I tried it on modernjs using rspack, but it doesn't work

❯ ./bun --bun run dev
$ modern dev
============================================================
Bun Canary v1.1.34-canary.98 (3296a6ed) Linux x64
Linux Kernel v6.12.7 | glibc v2.40
CPU: sse42 popcnt avx avx2
Args: "node" "/home/soeur/rust_project/bulog/web/node_modules/.bin/modern" "dev"
Features: Bun.stdin(2) jsc spawn tsconfig(3) tsconfig_paths 
Builtins: "abort-controller" "bun:main" "node:assert" "node:buffer" "node:child_process" "node:constants" "node:crypto" "node:events" "node:fs" "node:http" "node:https" "node:net" "node:os" "node:path" "node:process" "node:readline" "node:stream" "node:stream/web" "node:string_decoder" "node:tty" "node:url" "node:util" "node:util/types" "node:vm" "node:zlib" "node:worker_threads" 
Elapsed: 300ms | User: 256ms | Sys: 56ms
RSS: 1.07GB | Peak: 0.14GB | Commit: 1.07GB | Faults: 11

panic(main thread): Segmentation fault at address 0xBB570E9E920
oh no: Bun has crashed. This indicates a bug in Bun, not your code.

To send a redacted crash report to Bun's team,
please file a GitHub issue using the link below:

 https://bun.report/1.1.34/ln23296a6eA9//7/9Bu5knlE+8oP_8rip7D_825o7Dmsgh7Dy9995Esows9D6p7t9DA2q7Fgy0n9wD

@Jarred-Sumner Jarred-Sumner marked this as a duplicate of #16245 Jan 8, 2025
@Jarred-Sumner Jarred-Sumner marked this as a duplicate of #16412 Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash An issue that could cause a crash napi Compatibility with the native layer of Node.js tracking-pkg Issues tracking support for a library or package
Projects
None yet
Development

No branches or pull requests

9 participants