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

Where's the test output? #1452

Open
simbleau opened this issue Dec 1, 2024 · 1 comment
Open

Where's the test output? #1452

simbleau opened this issue Dec 1, 2024 · 1 comment

Comments

@simbleau
Copy link

simbleau commented Dec 1, 2024

I'm really confused where the output of the tests are.

16:30 simbleau on main ~ wasm-pack test --node
[INFO]: 🎯  Checking for the Wasm target...
   Compiling bevy_async_task v0.3.0 (/Users/simbleau/git/bevy_async_task)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.54s
[INFO]: ⬇️  Installing wasm-bindgen...
   Compiling bevy_async_task v0.3.0 (/Users/simbleau/git/bevy_async_task)
    Finished `test` profile [unoptimized + debuginfo] target(s) in 1.37s
     Running unittests src/lib.rs (target/wasm32-unknown-unknown/debug/deps/bevy_async_task-3bf04b7ceef42019.wasm)
Set timeout to 20 seconds...
running 4 tests                                   

16:31 simbleau on main ~ echo $?
0

Shouldn't I see something like this?

running 4 tests
test task::test::test_oneshot ... ok
test task::test::test_try_recv ... ok
test task::test::test_timeout ... ok
test task::test::test_with_timeout ... ok

test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
@simbleau
Copy link
Author

simbleau commented Dec 1, 2024

Very interesting, I get no output on my CLI (macOS).

When I run wasm-pack test --node from a CI Ubuntu machine, I get a crazy output:
https://github.com/loopystudios/bevy_async_task/actions/runs/12109259315/job/33758195450

Set timeout to 20 seconds...
Executing bindgen...                              
                                                  
running 4 tests

Stacktrace:
    ptr1=0xae8594d49a9
    ptr2=(nil)
    ptr3=(nil)
    ptr4=(nil)
    ptr5=(nil)
    ptr6=(nil)
    failure_message_object=0x7ffe0adfac00

==== JS stack trace =========================================

    0: ExitFrame [pc: 0x17122f9]
    1: StubFrame [pc: 0x17a6394]
Security context: 0x07d495665af1 <JSGlobalObject>
    2: /* anonymous */ [0x5f6bdec49e9] [/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm/wasm-bindgen-test.js:420] [bytecode=0xae8594e73e9 offset=0](this=0x07d495641131 <JSGlobalProxy>,0x0ae8594d49a9 <Other heap object (WASM_INTERNAL_FUNCTION_TYPE)>,0x29b89ed01339 <null>,1114772)
    3: handleError [0x288a3ef09781] [/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm/wasm-bindgen-test.js:111] [bytecode=0xae8594e00f9 offset=8](this=0x07d495641131 <JSGlobalProxy>,0x05f6bdec49e9 <JSFunction (sfi = 0xae8594d37c9)>,0x05f6bdec49c1 <Arguments map = 0x5fce680f621>)
    4: /* anonymous */ [0x3282edbf79c9] [/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm/wasm-bindgen-test.js:419] [bytecode=0xae8594d3831 offset=10](this=0x07d495641131 <JSGlobalProxy>)
    5: WasmToJsFrame [pc: 0x2bb79703caac]
    6: Wasm [wasm://wasm/bevy_async_task-7fe650de58cb74d3.wasm-003591be], function #2210 ('__wbg_call_0411c0c3c424db9a externref shim'), pc=0x2bb796edf608 (+0xc8), pos=624664 (+17)
    7: Wasm [wasm://wasm/bevy_async_task-7fe650de58cb74d3.wasm-003591be], function #395 ('js_sys::Function::call1::h44936b4536f0d2a5'), pc=0x2bb796f7c0d0 (+0x150), pos=390455 (+134)
    8: Wasm [wasm://wasm/bevy_async_task-7fe650de58cb74d3.wasm-003591be], function #91 ('wasm_bindgen_test::__rt::Context::run::h9dcf0cda1957f792'), pc=0x2bb79702dc68 (+0x9a8), pos=166981 (+1229)
    9: Wasm [wasm://wasm/bevy_async_task-7fe650de58cb74d3.wasm-003591be], function #643 ('wasmbindgentestcontext_run'), pc=0x2bb796f3c192 (+0x112), pos=465308 (+145)
   10: Wasm [wasm://wasm/bevy_async_task-7fe650de58cb74d3.wasm-003591be], function #2275 ('wasmbindgentestcontext_run externref shim'), pc=0x2bb796ea10fd (+0x3d), pos=626385 (+9)
   11: JsToWasmFrame [pc: 0x170a59f]
   12: run [0x288a3ef185c1] [/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm/wasm-bindgen-test.js:400] [bytecode=0xae8594e1cf1 offset=93](this=0x288a3ef3fd81 <WasmBindgenTestContext map = 0x5fce683c471>,0x05f6bdec2fe1 <JSArray[4]>)
   13: main [0xb8b17e23489] [/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm/run.cjs:45] [bytecode=0xae8594e1309 offset=82](this=0x07d495641131 <JSGlobalProxy>,0x05f6bdec2d71 <JSArray[4]>)
   14: /* anonymous */ [0xb8b17e22ac9] [/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm/run.cjs:56] [bytecode=0x1eea9dd5d3d1 offset=240](this=0x0b8b17e21029 <Object map = 0x5fce6802259>,0x0b8b17e21029 <Object map = 0x5fce6802259>,0x0b8b17e22e71 <JSFunction require (sfi = 0x1eea9dd5dda1)>,0x0b8b17e20e21 <Module map = 0x5fce682a231>,0x0b8b17e1f601 <String[133]: c"/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm/run.cjs">,0x0b8b17e22da1 <String[125]: "/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm">)
   15: _compile [0x7d495659989] [node:internal/modules/cjs/loader:1364] [bytecode=0x1eea9dd5c069 offset=426](this=0x0b8b17e20e21 <Module map = 0x5fce682a231>,0x0b8b17e22249 <String[1851]: "...<truncated>>">,0x0b8b17e1f601 <String[133]: c"/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm/run.cjs">)
   16: .js [0x7d495658f99] [node:internal/modules/cjs/loader:1422] [bytecode=0x1eea9dd58481 offset=486](this=0x07d495658e39 <Object map = 0x5fce6803e79>,0x0b8b17e20e21 <Module map = 0x5fce682a231>,0x0b8b17e1f601 <String[133]: c"/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm/run.cjs">)
   17: load [0x7d4956599f9] [node:internal/modules/cjs/loader:1203] [bytecode=0x1eea9dd57611 offset=144](this=0x0b8b17e20e21 <Module map = 0x5fce682a231>,0x0b8b17e1f601 <String[133]: c"/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm/run.cjs">)
   18: _load [0x7d495659571] [node:internal/modules/cjs/loader:1019] [bytecode=0x1eea9dd53fe1 offset=469](this=0x07d495658bf9 <JSFunction Module (sfi = 0x25efb64a12b1)>,0x0b8b17e166c9 <String[133]: c"/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm/run.cjs">,0x29b89ed01339 <null>,0x29b89ed01729 <true>)
   19: runMain(aka executeUserEntryPoint) [0x7d49567eea9] [node:internal/modules/run_main:128] [bytecode=0x1eea9dd502d1 offset=87](this=0x07d495658bf9 <JSFunction Module (sfi = 0x25efb64a12b1)>,0x0b8b17e166c9 <String[133]: c"/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm/run.cjs">)
   20: /* anonymous */(aka /* anonymous */) [0xb8b17e072e1] [node:internal/main/run_main_module:28] [bytecode=0x1eea9dd45929 offset=112](this=0x29b89ed015b9 <undefined>,0x07d495642ef1 <process map = 0x5fce68290c1>,0x07d495643661 <JSFunction requireBuiltin (sfi = 0x2a8fb9c4fc59)>,0x07d4956435e1 <JSFunction internalBinding (sfi = 0x2a8fb9c4f211)>,0x396e7d90ecb1 <Object map = 0x5fce6826889>)
   21: InternalFrame [pc: 0x169491c]
   22: EntryFrame [pc: 0x1694643]

==== Details ================================================

[0]: ExitFrame [pc: 0x17122f9]
[1]: StubFrame [pc: 0x17a6394]
[2]: /* anonymous */ [0x5f6bdec49e9] [/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm/wasm-bindgen-test.js:420] [bytecode=0xae8594e73e9 offset=0](this=0x07d495641131 <JSGlobalProxy>,0x0ae8594d49a9 <Other heap object (WASM_INTERNAL_FUNCTION_TYPE)>,0x29b89ed01339 <null>,1114772) {
  // expression stack (top to bottom)
  [01] : 0x29b89ed015b9 <undefined>
  [00] : 0x29b89ed015b9 <undefined>
--------- s o u r c e   c o d e ---------
function (arg0, arg1, arg2) {\x0a    const ret = arg0.call(arg1, arg2);\x0a    return ret;\x0a}
-----------------------------------------
}

[3]: handleError [0x288a3ef09781] [/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm/wasm-bindgen-test.js:111] [bytecode=0xae8594e00f9 offset=8](this=0x07d495641131 <JSGlobalProxy>,0x05f6bdec49e9 <JSFunction (sfi = 0xae8594d37c9)>,0x05f6bdec49c1 <Arguments map = 0x5fce680f621>) {
  // expression stack (top to bottom)
  [08] : 0x07d495641131 <JSGlobalProxy>
  [07] : 0x0ae8594d49a9 <Other heap object (WASM_INTERNAL_FUNCTION_TYPE)>
  [06] : 0x29b89ed01339 <null>
  [05] : 1114772
  [04] : 0x29b89ed015b9 <undefined>
  [03] : 0x29b89ed015b9 <undefined>
  [02] : 0x07d495651799 <JSFunction apply (sfi = 0x15094f6bfe41)>
  [01] : 0x288a3ef09501 <FunctionContext[30]>
  [00] : 0x29b89ed015b9 <undefined>
--------- s o u r c e   c o d e ---------
function handleError(f, args) {\x0a    try {\x0a        return f.apply(this, args);\x0a    } catch (e) {\x0a        const idx = addToExternrefTable0(e);\x0a        wasm.__wbindgen_exn_store(idx);\x0a    }\x0a}
-----------------------------------------
}

[4]: /* anonymous */ [0x3282edbf79c9] [/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm/wasm-bindgen-test.js:419] [bytecode=0xae8594d3831 offset=10](this=0x07d495641131 <JSGlobalProxy>) {
  // expression stack (top to bottom)
  [05] : 0x07d495641131 <JSGlobalProxy>
  [04] : 0x05f6bdec49e9 <JSFunction (sfi = 0xae8594d37c9)>
  [03] : 0x05f6bdec49c1 <Arguments map = 0x5fce680f621>
  [02] : 0x05f6bdec49e9 <JSFunction (sfi = 0xae8594d37c9)>
  [01] : 0x288a3ef09781 <JSFunction handleError (sfi = 0x3282edbe5589)>
  [00] : 0x05f6bdec49c1 <Arguments map = 0x5fce680f621>
--------- s o u r c e   c o d e ---------
function () { return handleError(function (arg0, arg1, arg2) {\x0a    const ret = arg0.call(arg1, arg2);\x0a    return ret;\x0a}, arguments) }
-----------------------------------------
}

[5]: WasmToJsFrame [pc: 0x2bb79703caac]
[6]: Wasm [wasm://wasm/bevy_async_task-7fe650de58cb74d3.wasm-003591be], function #2210 ('__wbg_call_0411c0c3c424db9a externref shim'), pc=0x2bb796edf608 (+0xc8), pos=624664 (+17)

[7]: Wasm [wasm://wasm/bevy_async_task-7fe650de58cb74d3.wasm-003591be], function #395 ('js_sys::Function::call1::h44936b4536f0d2a5'), pc=0x2bb796f7c0d0 (+0x150), pos=390455 (+134)

[8]: Wasm [wasm://wasm/bevy_async_task-7fe650de58cb74d3.wasm-003591be], function #91 ('wasm_bindgen_test::__rt::Context::run::h9dcf0cda1957f792'), pc=0x2bb79702dc68 (+0x9a8), pos=166981 (+1229)

[9]: Wasm [wasm://wasm/bevy_async_task-7fe650de58cb74d3.wasm-003591be], function #643 ('wasmbindgentestcontext_run'), pc=0x2bb796f3c192 (+0x112), pos=465308 (+145)

[10]: Wasm [wasm://wasm/bevy_async_task-7fe650de58cb74d3.wasm-003591be], function #2275 ('wasmbindgentestcontext_run externref shim'), pc=0x2bb796ea10fd (+0x3d), pos=626385 (+9)

[11]: JsToWasmFrame [pc: 0x170a59f]
[12]: run [0x288a3ef185c1] [/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm/wasm-bindgen-test.js:400] [bytecode=0xae8594e1cf1 offset=93](this=0x288a3ef3fd81 <WasmBindgenTestContext map = 0x5fce683c471>,0x05f6bdec2fe1 <JSArray[4]>) {
  // expression stack (top to bottom)
  [11] : 0x288a3ef343a9 <Object map = 0x5fce683b5d1>
  [10] : 1114768
  [09] : 1114784
  [08] : 4
  [07] : 4
  [06] : 1114784
  [05] : 1114768
  [04] : 0x288a3ef343a9 <Object map = 0x5fce683b5d1>
  [03] : 0x0ae8594d5141 <JSFunction js-to-wasm:iii:n (sfi = 0xae8594d5109)>
  [02] : 0x29b89ed015b9 <undefined>
  [01] : 4
  [00] : 1114784
--------- s o u r c e   c o d e ---------
function run(tests) {\x0a        if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');\x0a        _assertNum(this.__wbg_ptr);\x0a        const ptr0 = passArrayJsValueToWasm0(tests, wasm.__wbindgen_malloc);\x0a        const len0 = WASM_VECTOR_LEN;\x0a        const ret = wasm.wasmbindgentestcontext_run(this....

-----------------------------------------
}

[13]: main [0xb8b17e23489] [/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm/run.cjs:45] [bytecode=0xae8594e1309 offset=82](this=0x07d495641131 <JSGlobalProxy>,0x05f6bdec2d71 <JSArray[4]>) {
  // expression stack (top to bottom)
  [09] : 0x288a3ef3fd81 <WasmBindgenTestContext map = 0x5fce683c471>
  [08] : 0x05f6bdec2fe1 <JSArray[4]>
  [07] : 0x05f6bdec2f79 <JSFunction (sfi = 0xae8594e1231)>
  [06] : 0x0b8b17e08ce9 <JSArray[2]>
  [05] : 0x05f6bdec2fe1 <JSArray[4]>
  [04] : 0x288a3ef3fd81 <WasmBindgenTestContext map = 0x5fce683c471>
  [03] : 0x288a3ef185c1 <JSFunction run (sfi = 0x3282edbe6339)>
  [02] : 0x0b8b17e23449 <FunctionContext[6]>
  [01] : 0x29b89ed015b9 <undefined>
  [00] : 0x05f6bdec2eb1 <JSAsyncFunctionObject>
--------- s o u r c e   c o d e ---------
function main(tests) {\x0a            // Forward runtime arguments. These arguments are also arguments to the\x0a            // `wasm-bindgen-test-runner` which forwards them to node which we\x0a            // forward to the test harness. this is basically only used for test\x0a            // filters for now.\x0a            cx...

-----------------------------------------
}

[14]: /* anonymous */ [0xb8b17e22ac9] [/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm/run.cjs:56] [bytecode=0x1eea9dd5d3d1 offset=240](this=0x0b8b17e21029 <Object map = 0x5fce6802259>,0x0b8b17e21029 <Object map = 0x5fce6802259>,0x0b8b17e22e71 <JSFunction require (sfi = 0x1eea9dd5dda1)>,0x0b8b17e20e21 <Module map = 0x5fce682a231>,0x0b8b17e1f601 <String[133]: c"/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm/run.cjs">,0x0b8b17e22da1 <String[125]: "/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm">) {
  // heap-allocated locals
  var exit = 0x07d495646f09 <JSFunction exit (sfi = 0x5addf8d0db1)>
  var wasm = 0x3d8834f3a1e1 <Object map = 0x5fce683b619>
  var handlers = 0x288a3ef3f9c9 <Object map = 0x5fce683c5d9>
  var cx = 0x288a3ef3fd81 <WasmBindgenTestContext map = 0x5fce683c471>
  // expression stack (top to bottom)
  [08] : 0x07d495641131 <JSGlobalProxy>
  [07] : 0x05f6bdec2d71 <JSArray[4]>
  [06] : 0x1eea9dd5cf09 <String[26]: #__wbgt_test_with_timeout_3>
  [05] : 0x3d8834f3a1e1 <Object map = 0x5fce683b619>
  [04] : 0x07d4956438c1 <JSFunction push (sfi = 0xd0228c01511)>
  [03] : 0x07d495641151 <NativeContext[271]>
  [02] : 0x05f6bdec2d71 <JSArray[4]>
  [01] : 0x0b8b17e23489 <JSFunction main (sfi = 0x1eea9dd5d141)>
  [00] : 0x288a3ef3fa01 <JSFunction wrap (sfi = 0x1eea9dd5d191)>
--------- s o u r c e   c o d e ---------
function \x0a        const { exit } = require('node:process');\x0a        const wasm = require('./wasm-bindgen-test.js');\x0a\x0a        \x0aconst handlers = {};\x0a\x0aconst wrap = method => {\x0a    const og = console[method];\x0a    const on_method = `on_console_${method}`;\x0a    console[method] = function (...args) {\x0a        og.appl...

-----------------------------------------
}

[15]: _compile [0x7d495659989] [node:internal/modules/cjs/loader:1364] [bytecode=0x1eea9dd5c069 offset=426](this=0x0b8b17e20e21 <Module map = 0x5fce682a231>,0x0b8b17e22249 <String[1851]: "...<truncated>>">,0x0b8b17e1f601 <String[133]: c"/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm/run.cjs">) {
  // expression stack (top to bottom)
  [24] : 0x0b8b17e21029 <Object map = 0x5fce6802259>
  [23] : 0x0b8b17e21029 <Object map = 0x5fce6802259>
  [22] : 0x0b8b17e22e71 <JSFunction require (sfi = 0x1eea9dd5dda1)>
  [21] : 0x0b8b17e20e21 <Module map = 0x5fce682a231>
  [20] : 0x0b8b17e1f601 <String[133]: c"/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm/run.cjs">
  [19] : 0x0b8b17e22da1 <String[125]: "/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm">
  [18] : 0x29b89ed015b9 <undefined>
  [17] : 0x29b89ed015b9 <undefined>
  [16] : 0x29b89ed015b9 <undefined>
  [15] : 0x0b8b17e23429 <JSArray[5]>
  [14] : 0x0b8b17e23429 <JSArray[5]>
  [13] : 0x0b8b17e21029 <Object map = 0x5fce6802259>
  [12] : 0x0b8b17e22ac9 <JSFunction (sfi = 0x1eea9dd5d089)>
  [11] : 0x07d495643aa1 <JSFunction apply (sfi = 0x32f8603ba8c9)>
  [10] : 0x0b8b17e20e21 <Module map = 0x5fce682a231>
  [09] : 0x0b8b17e21029 <Object map = 0x5fce6802259>
  [08] : 0x0b8b17e21029 <Object map = 0x5fce6802259>
  [07] : 0x29b89ed015b9 <undefined>
  [06] : 0x0b8b17e22e71 <JSFunction require (sfi = 0x1eea9dd5dda1)>
  [05] : 0x0b8b17e22da1 <String[125]: "/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm">
  [04] : 0x29b89ed01339 <null>
  [03] : 0x0b8b17e22ac9 <JSFunction (sfi = 0x1eea9dd5d089)>
  [02] : 0x29b89ed015b9 <undefined>
  [01] : 0x29b89ed015b9 <undefined>
  [00] : 0x29b89ed015b9 <undefined>
--------- s o u r c e   c o d e ---------
function (content, filename) {\x0a  let moduleURL;\x0a  let redirects;\x0a  const manifest = policy()?.manifest;\x0a  if (manifest) {\x0a    moduleURL = pathToFileURL(filename);\x0a    redirects = manifest.getDependencyMapper(moduleURL);\x0a    manifest.assertIntegrity(moduleURL, content);\x0a  }\x0a\x0a  const compiledWrapper = wrapSafe...

-----------------------------------------
}

[16]: .js [0x7d495658f99] [node:internal/modules/cjs/loader:1422] [bytecode=0x1eea9dd58481 offset=486](this=0x07d495658e39 <Object map = 0x5fce6803e79>,0x0b8b17e20e21 <Module map = 0x5fce682a231>,0x0b8b17e1f601 <String[133]: c"/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm/run.cjs">) {
  // expression stack (top to bottom)
  [22] : 0x0b8b17e20e21 <Module map = 0x5fce682a231>
  [21] : 0x0b8b17e22249 <String[1851]: "...<truncated>>">
  [20] : 0x0b8b17e1f601 <String[133]: c"/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm/run.cjs">
  [19] : 0x29b89ed015b9 <undefined>
  [18] : 0x29b89ed015b9 <undefined>
  [17] : 0x15094f688759 <String[4]: #utf8>
  [16] : 0x15094f682549 <String[3]: #.js>
  [15] : 0x07d49565a269 <Object map = 0x5fce680aac1>
  [14] : 0x07d495659989 <JSFunction Module._compile (sfi = 0x25efb64a1f99)>
  [13] : 0x29b89ed015b9 <undefined>
  [12] : 0x29b89ed015b9 <undefined>
  [11] : 0x29b89ed015b9 <undefined>
  [10] : 0x29b89ed015b9 <undefined>
  [09] : 0x29b89ed015b9 <undefined>
  [08] : 0x29b89ed015b9 <undefined>
  [07] : 0x29b89ed015b9 <undefined>
  [06] : 0x29b89ed015b9 <undefined>
  [05] : 0x29b89ed015b9 <undefined>
  [04] : 0x29b89ed015b9 <undefined>
  [03] : 0x29b89ed015b9 <undefined>
  [02] : 0x29b89ed015b9 <undefined>
  [01] : 0x0b8b17e22249 <String[1851]: "...<truncated>>">
  [00] : 0x29b89ed015b9 <undefined>
--------- s o u r c e   c o d e ---------
function (module, filename) {\x0a  // If already analyzed the source, then it will be cached.\x0a  const cached = cjsParseCache.get(module);\x0a  let content;\x0a  if (cached?.source) {\x0a    content = cached.source;\x0a    cached.source = undefined;\x0a  } else {\x0a    content = fs.readFileSync(filename, 'utf8');\x0a  }\x0a  if (Strin...

-----------------------------------------
}

[17]: load [0x7d4956599f9] [node:internal/modules/cjs/loader:1203] [bytecode=0x1eea9dd57611 offset=144](this=0x0b8b17e20e21 <Module map = 0x5fce682a231>,0x0b8b17e1f601 <String[133]: c"/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm/run.cjs">) {
  // expression stack (top to bottom)
  [10] : 0x07d495658e39 <Object map = 0x5fce6803e79>
  [09] : 0x0b8b17e20e21 <Module map = 0x5fce682a231>
  [08] : 0x0b8b17e1f601 <String[133]: c"/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm/run.cjs">
  [07] : 0x07d495649419 <Object map = 0x5fce6806279>
  [06] : 0x0b8b17e21721 <String[125]: "/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm">
  [05] : 0x1eea9dd53a39 <String[4]: #.mjs>
  [04] : 0x07d495658e39 <Object map = 0x5fce6803e79>
  [03] : 0x07d495658f99 <JSFunction Module._extensions..js (sfi = 0x25efb64a2029)>
  [02] : 0x29b89ed015b9 <undefined>
  [01] : 0x29b89ed015b9 <undefined>
  [00] : 0x15094f682549 <String[3]: #.js>
--------- s o u r c e   c o d e ---------
function (filename) {\x0a  debug('load %j for module %j', filename, this.id);\x0a\x0a  assert(!this.loaded);\x0a  this.filename = filename;\x0a  this.paths = Module._nodeModulePaths(path.dirname(filename));\x0a\x0a  const extension = findLongestRegisteredExtension(filename);\x0a  // allow .mjs to be overridden\x0a  if (StringPrototype...

-----------------------------------------
}

[18]: _load [0x7d495659571] [node:internal/modules/cjs/loader:1019] [bytecode=0x1eea9dd53fe1 offset=469](this=0x07d495658bf9 <JSFunction Module (sfi = 0x25efb64a12b1)>,0x0b8b17e166c9 <String[133]: c"/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm/run.cjs">,0x29b89ed01339 <null>,0x29b89ed01729 <true>) {
  // expression stack (top to bottom)
  [21] : 0x0b8b17e20e21 <Module map = 0x5fce682a231>
  [20] : 0x0b8b17e1f601 <String[133]: c"/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm/run.cjs">
  [19] : 0x29b89ed015b9 <undefined>
  [18] : 0x29b89ed015b9 <undefined>
  [17] : 0x29b89ed01729 <true>
  [16] : 0x07d4956599f9 <JSFunction Module.load (sfi = 0x25efb64a1e21)>
  [15] : 0x07d4956582c9 <FunctionContext[126]>
  [14] : 0x07d495659a51 <JSFunction Module.require (sfi = 0x25efb64a1e91)>
  [13] : 0x07d495664ae9 <Object map = 0x5fce6803e79>
  [12] : 0x29b89ed015b9 <undefined>
  [11] : 0x29b89ed015b9 <undefined>
  [10] : 0x29b89ed015b9 <undefined>
  [09] : 0x29b89ed015b9 <undefined>
  [08] : 0x29b89ed015b9 <undefined>
  [07] : 0x29b89ed015b9 <undefined>
  [06] : 0x29b89ed015b9 <undefined>
  [05] : 0x29b89ed015b9 <undefined>
  [04] : 0x29b89ed01729 <true>
  [03] : 0x0b8b17e20e21 <Module map = 0x5fce682a231>
  [02] : 0x29b89ed015b9 <undefined>
  [01] : 0x0b8b17e1f601 <String[133]: c"/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm/run.cjs">
  [00] : 0x29b89ed015b9 <undefined>
--------- s o u r c e   c o d e ---------
function (request, parent, isMain) {\x0a  let relResolveCacheIdentifier;\x0a  if (parent) {\x0a    debug('Module._load REQUEST %s parent: %s', request, parent.id);\x0a    // Fast path for (lazy loaded) modules in the same directory. The indirect\x0a    // caching is required to allow cache invalidation without changing the...

-----------------------------------------
}

[19]: runMain(aka executeUserEntryPoint) [0x7d49567eea9] [node:internal/modules/run_main:128] [bytecode=0x1eea9dd502d1 offset=87](this=0x07d495658bf9 <JSFunction Module (sfi = 0x25efb64a12b1)>,0x0b8b17e166c9 <String[133]: c"/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm/run.cjs">) {
  // expression stack (top to bottom)
  [12] : 0x07d495658bf9 <JSFunction Module (sfi = 0x25efb64a12b1)>
  [11] : 0x0b8b17e166c9 <String[133]: c"/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm/run.cjs">
  [10] : 0x29b89ed01339 <null>
  [09] : 0x29b89ed01729 <true>
  [08] : 0x29b89ed01729 <true>
  [07] : 0x29b89ed01339 <null>
  [06] : 0x0b8b17e166c9 <String[133]: c"/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm/run.cjs">
  [05] : 0x07d495658bf9 <JSFunction Module (sfi = 0x25efb64a12b1)>
  [04] : 0x07d495659571 <JSFunction Module._load (sfi = 0x25efb64a1c81)>
  [03] : 0x07d495658bf9 <JSFunction Module (sfi = 0x25efb64a12b1)>
  [02] : 0x29b89ed01789 <false>
  [01] : 0x0b8b17e1f601 <String[133]: c"/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm/run.cjs">
  [00] : 0x0b8b17e166c9 <String[133]: c"/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm/run.cjs">
--------- s o u r c e   c o d e ---------
function executeUserEntryPoint(main = process.argv[1]) {\x0a  const resolvedMain = resolveMainPath(main);\x0a  const useESMLoader = shouldUseESMLoader(resolvedMain);\x0a  if (useESMLoader) {\x0a    runMainESM(resolvedMain || main);\x0a  } else {\x0a    // Module._load is the monkey-patchable CJS module loader.\x0a    const { Module } = require('inte...

-----------------------------------------
}

[20]: /* anonymous */(aka /* anonymous */) [0xb8b17e072e1] [node:internal/main/run_main_module:28] [bytecode=0x1eea9dd45929 offset=112](this=0x29b89ed015b9 <undefined>,0x07d495642ef1 <process map = 0x5fce68290c1>,0x07d495643661 <JSFunction requireBuiltin (sfi = 0x2a8fb9c4fc59)>,0x07d4956435e1 <JSFunction internalBinding (sfi = 0x2a8fb9c4f211)>,0x396e7d90ecb1 <Object map = 0x5fce6826889>) {
  // expression stack (top to bottom)
  [09] : 0x07d495658bf9 <JSFunction Module (sfi = 0x25efb64a12b1)>
  [08] : 0x0b8b17e166c9 <String[133]: c"/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm/run.cjs">
  [07] : 0x1eea9dd456c1 <String[27]: #internal/modules/cjs/loader>
  [06] : 0x07d495658bf9 <JSFunction Module (sfi = 0x25efb64a12b1)>
  [05] : 0x07d49567eea9 <JSFunction executeUserEntryPoint (sfi = 0x25efb64b5289)>
  [04] : 0x0b8b17e166c9 <String[133]: c"/home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/wbg-tmp-bevy_async_task-7fe650de58cb74d3.wasm/run.cjs">
  [03] : 0x07d4956484b1 <JSFunction getOptionValue (sfi = 0xbc49bd8a9a1)>
  [02] : 0x396e7d901369 <JSFunction markBootstrapComplete (sfi = 0x25efb64af221)>
  [01] : 0x396e7d9012b9 <JSFunction prepareMainThreadExecution (sfi = 0x25efb64ae489)>
  [00] : 0x07d495643ad9 <JSBoundFunction (BoundTargetFunction 0x7d4956436e9)>
--------- s o u r c e   c o d e ---------
function 'use strict';\x0a\x0aconst { RegExpPrototypeExec } = primordials;\x0a\x0aconst {\x0a  prepareMainThreadExecution,\x0a  markBootstrapComplete,\x0a} = require('internal/process/pre_execution');\x0aconst { getOptionValue } = require('internal/options');\x0a\x0aconst mainEntry = prepareMainThreadExecution(true);\x0a\x0amarkBootstrapComple...

-----------------------------------------
}

[21]: InternalFrame [pc: 0x169491c]
[22]: EntryFrame [pc: 0x1694643]
=====================

error: test failed, to rerun pass `--lib`

Caused by:
  process didn't exit successfully: `/home/runner/.cache/.wasm-pack/wasm-bindgen-8b6025933f5f2dce/wasm-bindgen-test-runner /home/runner/work/bevy_async_task/bevy_async_task/target/wasm32-unknown-unknown/debug/deps/bevy_async_task-7fe650de58cb74d3.wasm` (signal: 5, SIGTRAP: trace/breakpoint trap)
Error: Running Wasm tests with wasm-bindgen-test failed
Caused by: Running Wasm tests with wasm-bindgen-test failed
Caused by: failed to execute `cargo test`: exited with exit status: 101
  full command: cd "/home/runner/work/bevy_async_task/bevy_async_task" && CARGO_TARGET_WASM32_UNKNOWN_UNKNOWN_RUNNER="/home/runner/.cache/.wasm-pack/wasm-bindgen-8b6025933f5f2dce/wasm-bindgen-test-runner" WASM_BINDGEN_TEST_ONLY_NODE="1" "cargo" "test" "--target" "wasm32-unknown-unknown"
Error: Process completed with exit code 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant