Skip to content

quickjs for quickjs #426

quickjs for quickjs

quickjs for quickjs #426

Triggered via pull request September 2, 2024 22:57
Status Failure
Total duration 11m 56s
Artifacts

main.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
src/leak.test.ts > Leak checks (most accurate with debug build) > DEBUG sync module > should not leak: eval: packages/quickjs-emscripten-core/src/context.ts#L1301
{ stack: 'QuickJSUnwrapError: \n' + ' at QuickJSContext.unwrapResult (/home/runner/work/quickjs-emscripten/quickjs-emscripten/packages/quickjs-emscripten-core/src/context.ts:1301:13)\n' + ' at eval (/home/runner/work/quickjs-emscripten/quickjs-emscripten/packages/quickjs-emscripten/src/leak.test.ts:112:11)\n' + ' at /home/runner/work/quickjs-emscripten/quickjs-emscripten/packages/quickjs-emscripten/src/leak.test.ts:155:11\n' + ' at file:///home/runner/work/quickjs-emscripten/quickjs-emscripten/node_modules/@vitest/runner/dist/index.js:146:14\n' + ' at runTest (file:///home/runner/work/quickjs-emscripten/quickjs-emscripten/node_modules/@vitest/runner/dist/index.js:960:17)\n' + ' at runSuite (file:///home/runner/work/quickjs-emscripten/quickjs-emscripten/node_modules/@vitest/runner/dist/index.js:1116:15)\n' + ' at runSuite (file:///home/runner/work/quickjs-emscripten/quickjs-emscripten/node_modules/@vitest/runner/dist/index.js:1116:15)\n' + ' at runSuite (file:///home/runner/work/quickjs-emscripten/quickjs-emscripten/node_modules/@vitest/runner/dist/index.js:1116:15)\n' + ' at runFiles (file:///home/runner/work/quickjs-emscripten/quickjs-emscripten/node_modules/@vitest/runner/dist/index.js:1173:5)\n' + ' at startTests (file:///home/runner/work/quickjs-emscripten/quickjs-emscripten/node_modules/@vitest/runner/dist/index.js:1182:3)', message: '', cause: '', name: 'QuickJSUnwrapError', stackStr: 'QuickJSUnwrapError: \n' + ' at QuickJSContext.unwrapResult (/home/runner/work/quickjs-emscripten/quickjs-emscripten/packages/quickjs-emscripten-core/src/context.ts:1301:13)\n' + ' at eval (/home/runner/work/quickjs-emscripten/quickjs-emscripten/packages/quickjs-emscripten/src/leak.test.ts:112:11)\n' + ' at /home/runner/work/quickjs-emscripten/quickjs-emscripten/packages/quickjs-emscripten/src/leak.test.ts:155:11\n' + ' at file:///home/runner/work/quickjs-emscripten/quickjs-emscripten/node_modules/@vitest/runner/dist/index.js:146:14\n' + ' at runTest (file:///home/runner/work/quickjs-emscripten/quickjs-emscripten/node_modules/@vitest/runner/dist/index.js:960:17)\n' + ' at runSuite (file:///home/runner/work/quickjs-emscripten/quickjs-emscripten/node_modules/@vitest/runner/dist/index.js:1116:15)\n' + ' at runSuite (file:///home/runner/work/quickjs-emscripten/quickjs-emscripten/node_modules/@vitest/runner/dist/index.js:1116:15)\n' + ' at runSuite (file:///home/runner/work/quickjs-emscripten/quickjs-emscripten/node_modules/@vitest/runner/dist/index.js:1116:15)\n' + ' at runFiles (file:///home/runner/work/quickjs-emscripten/quickjs-emscripten/node_modules/@vitest/runner/dist/index.js:1173:5)\n' + ' at startTests (file:///home/runner/work/quickjs-emscripten/quickjs-emscripten/node_modules/@vitest/runner/dist/index.js:1182:3)', nameStr: 'QuickJSUnwrapError', expected: 'undefined', actual: 'undefined', constructor: 'Function<QuickJSUnwrapError>', toString: 'Function<toString>', stacks: [ { method: 'QuickJSContext.unwrapResult', file: '/home/runner/work/quickjs-emscripten/quickjs-emscripten/packages/quickjs-emscripten-core/src/context.ts', line: 1301, column: 13 }, { method: 'eval', file: '/home/runner/work/quickjs-emscripten/quickjs-emscripten/packages/quickjs-emscripten/src/leak.test.ts', line: 112, column: 11 }, { method: '', file: '/home/runner/work/quickjs-emscripten/quickjs-emscripten/packages/quickjs-emscripten/src/leak.test.ts', line: 155, column: 11 } ] } ❯ QuickJSContext.unwrapResult ../quickjs-emscripten-core/src/context.ts:1301:13 ❯ eval src/leak.test.ts:112:11 ❯ src/leak.test.ts:155:11
src/leak.test.ts > Leak checks (most accurate with debug build) > DEBUG sync module > should not leak: dumpEval: packages/quickjs-emscripten-core/src/context.ts#L1301
{ stack: 'QuickJSUnwrapError: \n' + ' at QuickJSContext.unwrapResult (/home/runner/work/quickjs-emscripten/quickjs-emscripten/packages/quickjs-emscripten-core/src/context.ts:1301:13)\n' + ' at dumpEval (/home/runner/work/quickjs-emscripten/quickjs-emscripten/packages/quickjs-emscripten/src/leak.test.ts:119:26)\n' + ' at /home/runner/work/quickjs-emscripten/quickjs-emscripten/packages/quickjs-emscripten/src/leak.test.ts:155:11\n' + ' at file:///home/runner/work/quickjs-emscripten/quickjs-emscripten/node_modules/@vitest/runner/dist/index.js:146:14\n' + ' at runTest (file:///home/runner/work/quickjs-emscripten/quickjs-emscripten/node_modules/@vitest/runner/dist/index.js:960:17)\n' + ' at runSuite (file:///home/runner/work/quickjs-emscripten/quickjs-emscripten/node_modules/@vitest/runner/dist/index.js:1116:15)\n' + ' at runSuite (file:///home/runner/work/quickjs-emscripten/quickjs-emscripten/node_modules/@vitest/runner/dist/index.js:1116:15)\n' + ' at runSuite (file:///home/runner/work/quickjs-emscripten/quickjs-emscripten/node_modules/@vitest/runner/dist/index.js:1116:15)\n' + ' at runFiles (file:///home/runner/work/quickjs-emscripten/quickjs-emscripten/node_modules/@vitest/runner/dist/index.js:1173:5)\n' + ' at startTests (file:///home/runner/work/quickjs-emscripten/quickjs-emscripten/node_modules/@vitest/runner/dist/index.js:1182:3)', message: '', cause: '', name: 'QuickJSUnwrapError', stackStr: 'QuickJSUnwrapError: \n' + ' at QuickJSContext.unwrapResult (/home/runner/work/quickjs-emscripten/quickjs-emscripten/packages/quickjs-emscripten-core/src/context.ts:1301:13)\n' + ' at dumpEval (/home/runner/work/quickjs-emscripten/quickjs-emscripten/packages/quickjs-emscripten/src/leak.test.ts:119:26)\n' + ' at /home/runner/work/quickjs-emscripten/quickjs-emscripten/packages/quickjs-emscripten/src/leak.test.ts:155:11\n' + ' at file:///home/runner/work/quickjs-emscripten/quickjs-emscripten/node_modules/@vitest/runner/dist/index.js:146:14\n' + ' at runTest (file:///home/runner/work/quickjs-emscripten/quickjs-emscripten/node_modules/@vitest/runner/dist/index.js:960:17)\n' + ' at runSuite (file:///home/runner/work/quickjs-emscripten/quickjs-emscripten/node_modules/@vitest/runner/dist/index.js:1116:15)\n' + ' at runSuite (file:///home/runner/work/quickjs-emscripten/quickjs-emscripten/node_modules/@vitest/runner/dist/index.js:1116:15)\n' + ' at runSuite (file:///home/runner/work/quickjs-emscripten/quickjs-emscripten/node_modules/@vitest/runner/dist/index.js:1116:15)\n' + ' at runFiles (file:///home/runner/work/quickjs-emscripten/quickjs-emscripten/node_modules/@vitest/runner/dist/index.js:1173:5)\n' + ' at startTests (file:///home/runner/work/quickjs-emscripten/quickjs-emscripten/node_modules/@vitest/runner/dist/index.js:1182:3)', nameStr: 'QuickJSUnwrapError', expected: 'undefined', actual: 'undefined', constructor: 'Function<QuickJSUnwrapError>', toString: 'Function<toString>', stacks: [ { method: 'QuickJSContext.unwrapResult', file: '/home/runner/work/quickjs-emscripten/quickjs-emscripten/packages/quickjs-emscripten-core/src/context.ts', line: 1301, column: 13 }, { method: 'dumpEval', file: '/home/runner/work/quickjs-emscripten/quickjs-emscripten/packages/quickjs-emscripten/src/leak.test.ts', line: 119, column: 26 }, { method: '', file: '/home/runner/work/quickjs-emscripten/quickjs-emscripten/packages/quickjs-emscripten/src/leak.test.ts', line: 155, column: 11 } ] } ❯ QuickJSContext.unwrapResult ../quickjs-emscripten-core/src/context.ts:1301:13 ❯ dumpEval src/leak.test.ts:119:26 ❯ src/leak.test.ts:155:11
build (ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (ubuntu-latest)
The process '/usr/bin/git' failed with exit code 128