You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using wasm-pack test --node --release ./datapoint-processor-wasm -- --nocapture to run some unit tests on my gitlab pipeline. I have now upgraded rustc from 1.81 to 1.83 and now the pipeline fails. I cannot figure out why this happens und whats the problem. Changing back to 1.81 fixed this again. Do you have any suggestions for me how I could fix this?
[INFO]: Installing wasm-bindgen...
Finished `release` profile [optimized] target(s) in 0.32s
Running unittests src/lib.rs (/builds/sloc/tools/rust-datapoint-processor/target/wasm32-unknown-unknown/release/deps/datapoint_processor_wasm-929c72cb31a282af.wasm)
running 2 tests
Stacktrace:
ptr1=0x21b9a677ec71
ptr2=(nil)
ptr3=(nil)
ptr4=(nil)
ptr5=(nil)
ptr6=(nil)
failure_message_object=0x7ffd6ba2f110
==== JS stack trace =========================================
0: ExitFrame [pc: 0x7f14e6a9de79]
1: StubFrame [pc: 0x7f14e6b31ed4]
Security context: 0x3b52998c5e81 <JSGlobalObject>
2: /* anonymous */ [0x24fa24221121] [/tmp/.tmpUpXvsf/wasm-bindgen-test.js:677] [bytecode=0x3565a137d329 offset=0](this=0x3b52998c42a1 <JSGlobalProxy>,0x21b9a677ec71 <Other heap object (WASM_INTERNAL_FUNCTION_TYPE)>,0x0b3d16001339 <null>,1311372)
3: handleError [0x249c6a3e3aa9] [/tmp/.tmpUpXvsf/wasm-bindgen-test.js:111] [bytecode=0x3565a137d201 offset=8](this=0x3b52998c42a1 <JSGlobalProxy>,0x24fa24221121 <JSFunction (sfi = 0x21b9a677c961)>,0x24fa242210f9 <Arguments map = 0xb8dbdb44a49>)
4: /* anonymous */ [0x1b1e54d3b779] [/tmp/.tmpUpXvsf/wasm-bindgen-test.js:676] [bytecode=0x21b9a677c9c9 offset=10](this=0x3b52998c42a1 <JSGlobalProxy>)
5: WasmToJsFrame [pc: 0x2e587fbf226c]
6: Wasm [wasm://wasm/datapoint_processor_wasm-929c72cb31a282af.wasm-0077823a], function #2050 ('__wbg_call_7cccdd69e0791ae2 externref shim'), pc=0x2e587f865648 (+0xc8), pos=1506747 (+17)
7: Wasm [wasm://wasm/datapoint_processor_wasm-929c72cb31a282af.wasm-0077823a], function #1782 ('js_sys::Function::call1::hb5eee904ee6275f0'), pc=0x2e587f856515 (+0x55), pos=1492517 (+16)
8: Wasm [wasm://wasm/datapoint_processor_wasm-929c72cb31a282af.wasm-0077823a], function #590 ('wasm_bindgen_test::__rt::Context::run::he90c6b6f25d796bf'), pc=0x2e587fa7d10e (+0x28e), pos=1110390 (+296)
9: Wasm [wasm://wasm/datapoint_processor_wasm-929c72cb31a282af.wasm-0077823a], function #1316 ('wasmbindgentestcontext_run'), pc=0x2e587f994648 (+0xc8), pos=1427410 (+103)
10: Wasm [wasm://wasm/datapoint_processor_wasm-929c72cb31a282af.wasm-0077823a], function #2178 ('wasmbindgentestcontext_run externref shim'), pc=0x2e587f85e13d (+0x3d), pos=1510252 (+9)
11: JsToWasmFrame [pc: 0x7f14e6a9615f]
12: run [0x249c6a3f2d59] [/tmp/.tmpUpXvsf/wasm-bindgen-test.js:557] [bytecode=0x3565a1377b59 offset=93](this=0x24fa2420f571 <WasmBindgenTestContext map = 0x1697ad752ef1>,0x24fa2421fac9 <JSArray[2]>)
13: main [0x2677de581dd9] [/tmp/.tmpUpXvsf/run.cjs:51] [bytecode=0x3565a13773b9 offset=78](this=0x3b52998c42a1 <JSGlobalProxy>,0x24fa2421f8d1 <JSArray[2]>)
14: /* anonymous */ [0x2677de581e11] [/tmp/.tmpUpXvsf/run.cjs:65] [bytecode=0x2fd35de13879 offset=248](this=0x2677de581ea1 <Object map = 0xb8dbdb41449>,0x2677de581ea1 <Object map = 0xb8dbdb41449>,0x2677de581d69 <JSFunction require (sfi = 0x2fd35de14011)>,0x2677de581881 <Module map = 0xb8dbdb7c081>,0x2677de581ed9 <String[23]: >"/tmp/.tmpUpXvsf/run.cjs">,0x2677de581ef1 <String[15]: "/tmp/.tmpUpXvsf">)
15: _compile [0x3c479f3af729] [node:internal/modules/cjs/loader:1356] [bytecode=0x2fd35de11b01 offset=426](this=0x2677de581881 <Module map = 0xb8dbdb7c081>,0x2677de581f31 <String[2058]: "...<truncated>>">,0x2677de581ed9 <String[23]: >"/tmp/.tmpUpXvsf/run.cjs">)
16: .js [0x3c479f3af769] [node:internal/modules/cjs/loader:1414] [bytecode=0x2fd35de0e111 offset=486](this=0x2677de582769 <Object map = 0xb8dbdb45859>,0x2677de581881 <Module map = 0xb8dbdb7c081>,0x2677de581ed9 <String[23]: >"/tmp/.tmpUpXvsf/run.cjs">)
17: load [0x3c479f3af6a9] [node:internal/modules/cjs/loader:1197] [bytecode=0x2fd35de0d599 offset=144](this=0x2677de581881 <Module map = 0xb8dbdb7c081>,0x2677de581ed9 <String[23]: >"/tmp/.tmpUpXvsf/run.cjs">)
18: _load [0x3c479f3af629] [node:internal/modules/cjs/loader:1013] [bytecode=0x2fd35de0a2e1 offset=469](this=0x2677de581921 <JSFunction Module (sfi = 0x21bd2d1ba319)>,0x2677de5827b9 <String[23]: "/tmp/.tmpUpXvsf/run.cjs">,0x0b3d16001339 <null>,0x0b3d16001729 <true>)
19: runMain(aka executeUserEntryPoint) [0x2677de5827e1] [node:internal/modules/run_main:128] [bytecode=0x2fd35de073f1 offset=87](this=0x2677de581921 <JSFunction Module (sfi = 0x21bd2d1ba319)>,0x2677de5827b9 <String[23]: "/tmp/.tmpUpXvsf/run.cjs">)
20: /* anonymous */(aka /* anonymous */) [0x2677de582909] [node:internal/main/run_main_module:28] [bytecode=0x3c479f3bc5c9 offset=112](this=0x0b3d160015b9 <undefined>,0x3c479f382c49 <process map = 0xb8dbdb7af11>,0x3c479f3829d1 <JSFunction requireBuiltin (sfi = 0x3b52998ff391)>,0x3c479f382c61 <JSFunction internalBinding (sfi = 0x3b52998ff521)>,0x14bc9e0c1241 <Object map = 0xb8dbdb4f789>)
21: InternalFrame [pc: 0x7f14e6a204dc]
22: EntryFrame [pc: 0x7f14e6a20203]
==== Details ================================================
[0]: ExitFrame [pc: 0x7f14e6a9de79]
[1]: StubFrame [pc: 0x7f14e6b31ed4]
[2]: /* anonymous */ [0x24fa24221121] [/tmp/.tmpUpXvsf/wasm-bindgen-test.js:677] [bytecode=0x3565a137d329 offset=0](this=0x3b52998c42a1 <JSGlobalProxy>,0x21b9a677ec71 <Other heap object (WASM_INTERNAL_FUNCTION_TYPE)>,0x0b3d16001339 <null>,1311372) {
// expression stack (top to bottom)
[01] : 0x0b3d160015b9 <undefined>
[00] : 0x0b3d160015b9 <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 [0x249c6a3e3aa9] [/tmp/.tmpUpXvsf/wasm-bindgen-test.js:111] [bytecode=0x3565a137d201 offset=8](this=0x3b52998c42a1 <JSGlobalProxy>,0x24fa24221121 <JSFunction (sfi = 0x21b9a677c961)>,0x24fa242210f9 <Arguments map = 0xb8dbdb44a49>) {
// expression stack (top to bottom)
[08] : 0x3b52998c42a1 <JSGlobalProxy>
[07] : 0x21b9a677ec71 <Other heap object (WASM_INTERNAL_FUNCTION_TYPE)>
[06] : 0x0b3d16001339 <null>
[05] : 1311372
[04] : 0x0b3d160015b9 <undefined>
[03] : 0x0b3d160015b9 <undefined>
[02] : 0x3b52998c4f79 <JSFunction apply (sfi = 0x7d673e87b19)>
[01] : 0x249c6a3e3811 <FunctionContext[33]>
[00] : 0x0b3d160015b9 <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 */ [0x1b1e54d3b779] [/tmp/.tmpUpXvsf/wasm-bindgen-test.js:676] [bytecode=0x21b9a677c9c9 offset=10](this=0x3b52998c42a1 <JSGlobalProxy>) {
// expression stack (top to bottom)
[05] : 0x3b52998c42a1 <JSGlobalProxy>
[04] : 0x24fa24221121 <JSFunction (sfi = 0x21b9a677c961)>
[03] : 0x24fa242210f9 <Arguments map = 0xb8dbdb44a49>
[02] : 0x24fa24221121 <JSFunction (sfi = 0x21b9a677c961)>
[01] : 0x249c6a3e3aa9 <JSFunction handleError (sfi = 0x1b1e54d26e71)>
[00] : 0x24fa242210f9 <Arguments map = 0xb8dbdb44a49>
--------- 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: 0x2e587fbf226c]
[6]: Wasm [wasm://wasm/datapoint_processor_wasm-929c72cb31a282af.wasm-0077823a], function #2050 ('__wbg_call_7cccdd69e0791ae2 externref shim'), pc=0x2e587f865648 (+0xc8), pos=1506747 (+17)
[7]: Wasm [wasm://wasm/datapoint_processor_wasm-929c72cb31a282af.wasm-0077823a], function #1782 ('js_sys::Function::call1::hb5eee904ee6275f0'), pc=0x2e587f856515 (+0x55), pos=1492517 (+16)
[8]: Wasm [wasm://wasm/datapoint_processor_wasm-929c72cb31a282af.wasm-0077823a], function #590 ('wasm_bindgen_test::__rt::Context::run::he90c6b6f25d796bf'), pc=0x2e587fa7d10e (+0x28e), pos=1110390 (+296)
[9]: Wasm [wasm://wasm/datapoint_processor_wasm-929c72cb31a282af.wasm-0077823a], function #1316 ('wasmbindgentestcontext_run'), pc=0x2e587f994648 (+0xc8), pos=1427410 (+103)
[10]: Wasm [wasm://wasm/datapoint_processor_wasm-929c72cb31a282af.wasm-0077823a], function #2178 ('wasmbindgentestcontext_run externref shim'), pc=0x2e587f85e13d (+0x3d), pos=1510252 (+9)
[11]: JsToWasmFrame [pc: 0x7f14e6a9615f]
[12]: run [0x249c6a3f2d59] [/tmp/.tmpUpXvsf/wasm-bindgen-test.js:557] [bytecode=0x3565a1377b59 offset=93](this=0x24fa2420f571 <WasmBindgenTestContext map = 0x1697ad752ef1>,0x24fa2421fac9 <JSArray[2]>) {
// expression stack (top to bottom)
[11] : 0x24fa24202d11 <Object map = 0x1697ad74f039>
[10] : 1311368
[09] : 1311384
[08] : 2
[07] : 2
[06] : 1311384
[05] : 1311368
[04] : 0x24fa24202d11 <Object map = 0x1697ad74f039>
[03] : 0x21b9a677f361 <JSFunction js-to-wasm:iii:n (sfi = 0x21b9a677f329)>
[02] : 0x0b3d160015b9 <undefined>
[01] : 2
[00] : 1311384
--------- 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 [0x2677de581dd9] [/tmp/.tmpUpXvsf/run.cjs:51] [bytecode=0x3565a13773b9 offset=78](this=0x3b52998c42a1 <JSGlobalProxy>,0x24fa2421f8d1 <JSArray[2]>) {
// expression stack (top to bottom)
[10] : 0x24fa2420f571 <WasmBindgenTestContext map = 0x1697ad752ef1>
[09] : 0x24fa2421fac9 <JSArray[2]>
[08] : 0x24fa2421fa71 <JSFunction (sfi = 0x3565a13772c1)>
[07] : 0x0b3d160015b9 <undefined>
[06] : 0x24fa2421fac9 <JSArray[2]>
[05] : 0x24fa2420f571 <WasmBindgenTestContext map = 0x1697ad752ef1>
[04] : 0x249c6a3f2d59 <JSFunction run (sfi = 0x1b1e54d28201)>
[03] : 0x2677de581e51 <FunctionContext[8]>
[02] : 0x0b3d160015b9 <undefined>
[01] : 0x0b3d160015b9 <undefined>
[00] : 0x24fa2421fa19 <JSAsyncFunctionObject>
--------- s o u r c e c o d e ---------
function main(tests) {\x0a \x0a // Forward runtime arguments.\x0a cx.include_ignored(false);\x0a cx.filtered_count(0);\x0a \x0a\x0a const ok = await cx.run(tests.map(n => wasm.__wasm[n]));\x0a\x0a const coverage = wasm.__wbgtest_cov_dump();\x0a if (coverage !...
-----------------------------------------
}
[14]: /* anonymous */ [0x2677de581e11] [/tmp/.tmpUpXvsf/run.cjs:65] [bytecode=0x2fd35de13879 offset=248](this=0x2677de581ea1 <Object map = 0xb8dbdb41449>,0x2677de581ea1 <Object map = 0xb8dbdb41449>,0x2677de581d69 <JSFunction require (sfi = 0x2fd35de14011)>,0x2677de581881 <Module map = 0xb8dbdb7c081>,0x2677de581ed9 <String[23]: >"/tmp/.tmpUpXvsf/run.cjs">,0x2677de581ef1 <String[15]: "/tmp/.tmpUpXvsf">) {
// heap-allocated locals
var exit = 0x21b9a674ba91 <JSFunction exit (sfi = 0x3f6a6edb04e9)>
var fs = 0x2677de58bd91 <Object map = 0x1697ad74b331>
var wasm = 0x2677de581849 <Object map = 0x1697ad74f081>
var nocapture = 0x0b3d16001729 <true>
var handlers = 0x24fa2420f1b9 <Object map = 0x1697ad753059>
var cx = 0x24fa2420f571 <WasmBindgenTestContext map = 0x1697ad752ef1>
// expression stack (top to bottom)
[08] : 0x3b52998c42a1 <JSGlobalProxy>
[07] : 0x24fa2421f8d1 <JSArray[2]>
[06] : 0x2fd35de13369 <String[57]: #__wbgt__datapoint_processor_wasm::tests::wasm_parse_error>
[05] : 0x2677de581849 <Object map = 0x1697ad74f081>
[04] : 0x3b52998cedd1 <JSFunction push (sfi = 0x7d673e8ced9)>
[03] : 0x3b52998c42c1 <NativeContext[271]>
[02] : 0x24fa2421f8d1 <JSArray[2]>
[01] : 0x2677de581dd9 <JSFunction main (sfi = 0x2fd35de135e1)>
[00] : 0x24fa2420f1f1 <JSFunction wrap (sfi = 0x2fd35de13631)>
--------- s o u r c e c o d e ---------
function \x0a const { exit } = require('node:process');\x0a const fs = require('node:fs/promises');\x0a const wasm = require('./wasm-bindgen-test.js');\x0a\x0a const nocapture = true;\x0a \x0aconst handlers = {};\x0a\x0aconst wrap = method => {\x0a const og = console[method];\x0a const on_method = `o...
-----------------------------------------
}
[15]: _compile [0x3c479f3af729] [node:internal/modules/cjs/loader:1356] [bytecode=0x2fd35de11b01 offset=426](this=0x2677de581881 <Module map = 0xb8dbdb7c081>,0x2677de581f31 <String[2058]: "...<truncated>>">,0x2677de581ed9 <String[23]: >"/tmp/.tmpUpXvsf/run.cjs">) {
// expression stack (top to bottom)
[24] : 0x2677de581ea1 <Object map = 0xb8dbdb41449>
[23] : 0x2677de581ea1 <Object map = 0xb8dbdb41449>
[22] : 0x2677de581d69 <JSFunction require (sfi = 0x2fd35de14011)>
[21] : 0x2677de581881 <Module map = 0xb8dbdb7c081>
[20] : 0x2677de581ed9 <String[23]: >"/tmp/.tmpUpXvsf/run.cjs">
[19] : 0x2677de581ef1 <String[15]: "/tmp/.tmpUpXvsf">
[18] : 0x0b3d160015b9 <undefined>
[17] : 0x0b3d160015b9 <undefined>
[16] : 0x0b3d160015b9 <undefined>
[15] : 0x2677de581f11 <JSArray[5]>
[14] : 0x2677de581f11 <JSArray[5]>
[13] : 0x2677de581ea1 <Object map = 0xb8dbdb41449>
[12] : 0x2677de581e11 <JSFunction (sfi = 0x2fd35de13529)>
[11] : 0x3b52998d4949 <JSFunction apply (sfi = 0x7d673e8f239)>
[10] : 0x2677de581881 <Module map = 0xb8dbdb7c081>
[09] : 0x2677de581ea1 <Object map = 0xb8dbdb41449>
[08] : 0x2677de581ea1 <Object map = 0xb8dbdb41449>
[07] : 0x0b3d160015b9 <undefined>
[06] : 0x2677de581d69 <JSFunction require (sfi = 0x2fd35de14011)>
[05] : 0x2677de581ef1 <String[15]: "/tmp/.tmpUpXvsf">
[04] : 0x0b3d16001339 <null>
[03] : 0x2677de581e11 <JSFunction (sfi = 0x2fd35de13529)>
[02] : 0x0b3d160015b9 <undefined>
[01] : 0x0b3d160015b9 <undefined>
[00] : 0x0b3d160015b9 <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 [0x3c479f3af769] [node:internal/modules/cjs/loader:1414] [bytecode=0x2fd35de0e111 offset=486](this=0x2677de582769 <Object map = 0xb8dbdb45859>,0x2677de581881 <Module map = 0xb8dbdb7c081>,0x2677de581ed9 <String[23]: >"/tmp/.tmpUpXvsf/run.cjs">) {
// expression stack (top to bottom)
[22] : 0x2677de581881 <Module map = 0xb8dbdb7c081>
[21] : 0x2677de581f31 <String[2058]: "...<truncated>>">
[20] : 0x2677de581ed9 <String[23]: >"/tmp/.tmpUpXvsf/run.cjs">
[19] : 0x0b3d160015b9 <undefined>
[18] : 0x0b3d160015b9 <undefined>
[17] : 0x3f6a6ed989c9 <String[4]: #utf8>
[16] : 0x2764f6f4a819 <String[3]: #.js>
[15] : 0x2677de582751 <Object map = 0xb8dbdb771c1>
[14] : 0x3c479f3af729 <JSFunction Module._compile (sfi = 0x21bd2d1bb371)>
[13] : 0x0b3d160015b9 <undefined>
[12] : 0x0b3d160015b9 <undefined>
[11] : 0x0b3d160015b9 <undefined>
[10] : 0x0b3d160015b9 <undefined>
[09] : 0x0b3d160015b9 <undefined>
[08] : 0x0b3d160015b9 <undefined>
[07] : 0x0b3d160015b9 <undefined>
[06] : 0x0b3d160015b9 <undefined>
[05] : 0x0b3d160015b9 <undefined>
[04] : 0x0b3d160015b9 <undefined>
[03] : 0x0b3d160015b9 <undefined>
[02] : 0x0b3d160015b9 <undefined>
[01] : 0x2677de581f31 <String[2058]: "...<truncated>>">
[00] : 0x0b3d160015b9 <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 [0x3c479f3af6a9] [node:internal/modules/cjs/loader:1197] [bytecode=0x2fd35de0d599 offset=144](this=0x2677de581881 <Module map = 0xb8dbdb7c081>,0x2677de581ed9 <String[23]: >"/tmp/.tmpUpXvsf/run.cjs">) {
// expression stack (top to bottom)
[10] : 0x2677de582769 <Object map = 0xb8dbdb45859>
[09] : 0x2677de581881 <Module map = 0xb8dbdb7c081>
[08] : 0x2677de581ed9 <String[23]: >"/tmp/.tmpUpXvsf/run.cjs">
[07] : 0x21b9a6741131 <Object map = 0xb8dbdb6be09>
[06] : 0x2677de582781 <String[15]: "/tmp/.tmpUpXvsf">
[05] : 0x2fd35de09e31 <String[4]: #.mjs>
[04] : 0x2677de582769 <Object map = 0xb8dbdb45859>
[03] : 0x3c479f3af769 <JSFunction Module._extensions..js (sfi = 0x21bd2d1bb401)>
[02] : 0x0b3d160015b9 <undefined>
[01] : 0x0b3d160015b9 <undefined>
[00] : 0x2764f6f4a819 <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 [0x3c479f3af629] [node:internal/modules/cjs/loader:1013] [bytecode=0x2fd35de0a2e1 offset=469](this=0x2677de581921 <JSFunction Module (sfi = 0x21bd2d1ba319)>,0x2677de5827b9 <String[23]: "/tmp/.tmpUpXvsf/run.cjs">,0x0b3d16001339 <null>,0x0b3d16001729 <true>) {
// expression stack (top to bottom)
[21] : 0x2677de581881 <Module map = 0xb8dbdb7c081>
[20] : 0x2677de581ed9 <String[23]: >"/tmp/.tmpUpXvsf/run.cjs">
[19] : 0x0b3d160015b9 <undefined>
[18] : 0x0b3d160015b9 <undefined>
[17] : 0x0b3d16001729 <true>
[16] : 0x3c479f3af6a9 <JSFunction Module.load (sfi = 0x21bd2d1bb261)>
[15] : 0x2677de581961 <FunctionContext[124]>
[14] : 0x3c479f3af6e9 <JSFunction Module.require (sfi = 0x21bd2d1bb2e9)>
[13] : 0x2677de5827a1 <Object map = 0xb8dbdb45859>
[12] : 0x0b3d160015b9 <undefined>
[11] : 0x0b3d160015b9 <undefined>
[10] : 0x0b3d160015b9 <undefined>
[09] : 0x0b3d160015b9 <undefined>
[08] : 0x0b3d160015b9 <undefined>
[07] : 0x0b3d160015b9 <undefined>
[06] : 0x0b3d160015b9 <undefined>
[05] : 0x0b3d160015b9 <undefined>
[04] : 0x0b3d16001729 <true>
[03] : 0x2677de581881 <Module map = 0xb8dbdb7c081>
[02] : 0x0b3d160015b9 <undefined>
[01] : 0x2677de581ed9 <String[23]: >"/tmp/.tmpUpXvsf/run.cjs">
[00] : 0x0b3d160015b9 <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) [0x2677de5827e1] [node:internal/modules/run_main:128] [bytecode=0x2fd35de073f1 offset=87](this=0x2677de581921 <JSFunction Module (sfi = 0x21bd2d1ba319)>,0x2677de5827b9 <String[23]: "/tmp/.tmpUpXvsf/run.cjs">) {
// expression stack (top to bottom)
[12] : 0x2677de581921 <JSFunction Module (sfi = 0x21bd2d1ba319)>
[11] : 0x2677de5827b9 <String[23]: "/tmp/.tmpUpXvsf/run.cjs">
[10] : 0x0b3d16001339 <null>
[09] : 0x0b3d16001729 <true>
[08] : 0x0b3d16001729 <true>
[07] : 0x0b3d16001339 <null>
[06] : 0x2677de5827b9 <String[23]: "/tmp/.tmpUpXvsf/run.cjs">
[05] : 0x2677de581921 <JSFunction Module (sfi = 0x21bd2d1ba319)>
[04] : 0x3c479f3af629 <JSFunction Module._load (sfi = 0x21bd2d1bb149)>
[03] : 0x2677de581921 <JSFunction Module (sfi = 0x21bd2d1ba319)>
[02] : 0x0b3d16001789 <false>
[01] : 0x2677de581ed9 <String[23]: >"/tmp/.tmpUpXvsf/run.cjs">
[00] : 0x2677de5827b9 <String[23]: "/tmp/.tmpUpXvsf/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 */) [0x2677de582909] [node:internal/main/run_main_module:28] [bytecode=0x3c479f3bc5c9 offset=112](this=0x0b3d160015b9 <undefined>,0x3c479f382c49 <process map = 0xb8dbdb7af11>,0x3c479f3829d1 <JSFunction requireBuiltin (sfi = 0x3b52998ff391)>,0x3c479f382c61 <JSFunction internalBinding (sfi = 0x3b52998ff521)>,0x14bc9e0c1241 <Object map = 0xb8dbdb4f789>) {
// expression stack (top to bottom)
[09] : 0x2677de581921 <JSFunction Module (sfi = 0x21bd2d1ba319)>
[08] : 0x2677de5827b9 <String[23]: "/tmp/.tmpUpXvsf/run.cjs">
[07] : 0x14bc9e0fc801 <String[27]: #internal/modules/cjs/loader>
[06] : 0x2677de581921 <JSFunction Module (sfi = 0x21bd2d1ba319)>
[05] : 0x2677de5827e1 <JSFunction executeUserEntryPoint (sfi = 0x3c479f3b7161)>
[04] : 0x2677de5827b9 <String[23]: "/tmp/.tmpUpXvsf/run.cjs">
[03] : 0x21b9a67411c1 <JSFunction getOptionValue (sfi = 0x2764f6f74e11)>
[02] : 0x2677de582889 <JSFunction markBootstrapComplete (sfi = 0x3c479f3b2289)>
[01] : 0x2677de5828c9 <JSFunction prepareMainThreadExecution (sfi = 0x3c479f3b1879)>
[00] : 0x3f6a6edbffb1 <JSBoundFunction (BoundTargetFunction 0x3b52998c4fe9)>
--------- 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: 0x7f14e6a204dc]
[22]: EntryFrame [pc: 0x7f14e6a20203]
=====================
error: test failed, to rerun pass `--lib`
Caused by:
process didn't exit successfully: `/root/.cache/.wasm-pack/wasm-bindgen-c59d5019a2b42393/wasm-bindgen-test-runner /builds/sloc/tools/rust-datapoint-processor/target/wasm32-unknown-unknown/release/deps/datapoint_processor_wasm-929c72cb31a282af.wasm --nocapture` (exit status: 1)
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: 1
full command: cd "./datapoint-processor-wasm" && CARGO_TARGET_WASM32_UNKNOWN_UNKNOWN_RUNNER="/root/.cache/.wasm-pack/wasm-bindgen-c59d5019a2b42393/wasm-bindgen-test-runner" WASM_BINDGEN_TEST_ONLY_NODE="1" "cargo" "test" "--release" "--target" "wasm32-unknown-unknown" "--" "--nocapture"
error: Recipe `check` failed on line 32 with exit code 1
🤔 Expected Behavior
The unit tests should run
🌍 Your environment
Include the relevant details of your environment.
wasm-pack version: 0.13.1
rustc version: 1.83
The text was updated successfully, but these errors were encountered:
🐛 Bug description
I am using
wasm-pack test --node --release ./datapoint-processor-wasm -- --nocapture
to run some unit tests on my gitlab pipeline. I have now upgraded rustc from 1.81 to 1.83 and now the pipeline fails. I cannot figure out why this happens und whats the problem. Changing back to 1.81 fixed this again. Do you have any suggestions for me how I could fix this?🤔 Expected Behavior
The unit tests should run
🌍 Your environment
Include the relevant details of your environment.
wasm-pack version: 0.13.1
rustc version: 1.83
The text was updated successfully, but these errors were encountered: