Build Information
Failed to build node-swift, reference 1.4.0 (314bec), with Swift 6.3 for macOS (SPM) on 16 Apr 2026 14:33:26 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kabiroberai/node-swift.git
Reference: 1.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kabiroberai/node-swift
* tag 1.4.0 -> FETCH_HEAD
HEAD is now at 314becf v1.4.0
Cloned https://github.com/kabiroberai/node-swift.git
Revision (git rev-parse @):
314becf1c88b3c638ee96340c1458ac7c18d3838
SUCCESS checkout https://github.com/kabiroberai/node-swift.git at 1.4.0
Fetching https://github.com/pointfreeco/swift-macro-testing.git
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/961] Fetching swift-macro-testing
[415/6684] Fetching swift-macro-testing, xctest-dynamic-overlay
[1478/12148] Fetching swift-macro-testing, xctest-dynamic-overlay, swift-custom-dump
[10089/28201] Fetching swift-macro-testing, xctest-dynamic-overlay, swift-custom-dump, swift-snapshot-testing
[12631/103186] Fetching swift-macro-testing, xctest-dynamic-overlay, swift-custom-dump, swift-snapshot-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (5.15s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (5.15s)
Fetched https://github.com/pointfreeco/swift-macro-testing.git from cache (5.16s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (5.16s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.16s)
Computing version for https://github.com/pointfreeco/swift-macro-testing.git
Computed https://github.com/pointfreeco/swift-macro-testing.git at 0.6.2 (5.96s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (2.59s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.3 (0.61s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.61s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.60s)
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.3
Creating working copy for https://github.com/pointfreeco/swift-macro-testing.git
Working copy of https://github.com/pointfreeco/swift-macro-testing.git resolved at 0.6.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "node-swift",
"name": "node-swift",
"url": "https://github.com/kabiroberai/node-swift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/node-swift",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-syntax",
"name": "swift-syntax",
"url": "https://github.com/swiftlang/swift-syntax.git",
"version": "601.0.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/kabiroberai/node-swift.git
[1/2357] Fetching node-swift
Fetched https://github.com/kabiroberai/node-swift.git from cache (1.14s)
Fetching https://github.com/swiftlang/swift-syntax.git from cache
Fetched https://github.com/swiftlang/swift-syntax.git from cache (0.84s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (0.92s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
Creating working copy for https://github.com/kabiroberai/node-swift.git
Working copy of https://github.com/kabiroberai/node-swift.git resolved at 1.4.0 (314becf)
warning: '.resolve-product-dependencies': dependency 'node-swift' is not used by any target
Found 1 product dependencies
- swift-syntax
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/kabiroberai/node-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/30] Write sources
[20/30] Compiling _SwiftSyntaxCShims dummy.c
[21/30] Compiling NodeModuleSupport win_delay_load_hook.cc
[22/30] Write swift-version--6988338F2F200930.txt
[23/30] Compiling NodeModuleSupport register.c
[24/38] Compiling CNodeAPISupport node_context.c
[27/38] Compiling SwiftSyntax600 Empty.swift
[28/38] Emitting module SwiftSyntax600
[29/38] Compiling SwiftSyntax510 Empty.swift
[30/38] Emitting module SwiftSyntax510
[31/38] Compiling SwiftSyntax601 Empty.swift
[32/38] Emitting module SwiftSyntax601
[33/38] Compiling SwiftSyntax509 Empty.swift
[34/38] Emitting module SwiftSyntax509
/Users/admin/builder/spi-builder-workspace/Sources/CNodeJSC/js_native_api_javascriptcore.cc:709:5: error: constructor 'napi_ref__' should not return a value [-Wreturn-mismatch]
709 | return napi_ok;
| ^ ~~~~~~~
1 error generated.
[34/104] Compiling CNodeJSC js_native_api_javascriptcore.cc
/Users/admin/builder/spi-builder-workspace/Sources/CNodeJSC/js_native_api_javascriptcore.cc:709:5: error: constructor 'napi_ref__' should not return a value [-Wreturn-mismatch]
709 | return napi_ok;
| ^ ~~~~~~~
1 error generated.
BUILD FAILURE 6.3 macosSpm