Skip to content

lib,src,test,doc: add node:ffi module #74547

lib,src,test,doc: add node:ffi module

lib,src,test,doc: add node:ffi module #74547

Triggered via pull request April 11, 2026 09:32
Status Failure
Total duration 46m 48s
Artifacts

test-macos.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 1 warning, and 1 notice
test-macOS
Process completed with exit code 2.
test-macOS: test/ffi/test-ffi-module.js#L114
--- stderr --- (node:61437) ExperimentalWarning: FFI is an experimental feature and might change at any time (Use `node --trace-warnings ...` to show where the warning was created) --- stdout --- Test failure: 'ffi exports expected API surface' Location: test/ffi/test-ffi-module.js:79:1 AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Skipped lines [ 'DynamicLibrary', 'dlclose', 'dlopen', 'dlsym', ... 'setUint8', + 'suffix', 'toArrayBuffer', 'toBuffer', 'toString', 'types' ] at TestContext.<anonymous> (/Users/runner/work/node/node/node/test/ffi/test-ffi-module.js:114:10) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1272:25) at Test.processPendingSubtests (node:internal/test_runner/test:887:18) at Test.postRun (node:internal/test_runner/test:1401:19) at Test.run (node:internal/test_runner/test:1329:12) at async Test.processPendingSubtests (node:internal/test_runner/test:887:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: [Array], expected: [Array], operator: 'deepStrictEqual', diff: 'simple' } Command: out/Release/node --experimental-ffi --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/node/node/node/test/ffi/test-ffi-module.js
test-macOS
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: Mozilla-Actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
sccache stats
45% - 2218 hits, 2748 misses, 0 errors