Build Information
Failed to build node-swift, reference main (314bec), with Swift 6.2 for macOS (SPM) on 20 Jul 2025 19:15:07 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kabiroberai/node-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kabiroberai/node-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/kabiroberai/node-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/30] Write sources
[20/30] Compiling NodeModuleSupport win_delay_load_hook.cc
[21/30] Compiling _SwiftSyntaxCShims dummy.c
[22/30] Write swift-version-1EA4D86E10B52AF.txt
[23/38] Compiling NodeModuleSupport register.c
[24/38] Compiling CNodeAPISupport node_context.c
[27/38] Compiling SwiftSyntax601 Empty.swift
[28/38] Emitting module SwiftSyntax601
[29/38] Compiling SwiftSyntax510 Empty.swift
[30/38] Emitting module SwiftSyntax510
[31/38] Compiling SwiftSyntax509 Empty.swift
[32/38] Emitting module SwiftSyntax509
[33/38] Compiling SwiftSyntax600 Empty.swift
[34/38] Emitting module SwiftSyntax600
/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.
/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
Fetching https://github.com/pointfreeco/swift-macro-testing.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/908] Fetching swift-macro-testing
[909/72354] Fetching swift-macro-testing, swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.41s)
Fetched https://github.com/pointfreeco/swift-macro-testing.git from cache (3.41s)
Computing version for https://github.com/pointfreeco/swift-macro-testing.git
Computed https://github.com/pointfreeco/swift-macro-testing.git at 0.6.3 (3.87s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/15320] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (3.03s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (5.03s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.5 (0.45s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4581] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.92s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (1.39s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5482] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.36s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.6.0 (1.84s)
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/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.5
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.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.6.0
BUILD FAILURE 6.2 macosSpm