Build Information
Failed to build node-swift, reference 1.4.0 (314bec), with Swift 6.0 for macOS (SPM) on 20 Jul 2025 19:14:56 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.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: 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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/kabiroberai/node-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/26] Write sources
[18/26] Compiling _SwiftSyntaxCShims dummy.c
[19/26] Compiling NodeModuleSupport win_delay_load_hook.cc
[20/26] Write swift-version-5BDAB9E9C0126B9D.txt
[21/26] Compiling NodeModuleSupport register.c
[23/34] Emitting module SwiftSyntax600
[23/34] Compiling CNodeAPISupport node_context.c
[25/34] Compiling SwiftSyntax601 Empty.swift
[26/34] Emitting module SwiftSyntax509
[27/34] Compiling SwiftSyntax509 Empty.swift
[28/34] Emitting module SwiftSyntax601
[29/34] Compiling SwiftSyntax600 Empty.swift
[30/34] Compiling SwiftSyntax510 Empty.swift
[31/34] Emitting module SwiftSyntax510
/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-type]
709 | return napi_ok;
| ^ ~~~~~~~
1 error generated.
[31/100] Compiling CNodeJSC js_native_api_javascriptcore.cc
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/pointfreeco/swift-macro-testing.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.45s)
Fetched https://github.com/pointfreeco/swift-macro-testing.git from cache (3.45s)
Computing version for https://github.com/pointfreeco/swift-macro-testing.git
Computed https://github.com/pointfreeco/swift-macro-testing.git at 0.6.3 (0.45s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/15320] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.76s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (2.45s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.5 (0.46s)
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.91s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.45s)
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.25s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.6.0 (0.47s)
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-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/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.6.0
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/swift-macro-testing.git
Working copy of https://github.com/pointfreeco/swift-macro-testing.git resolved at 0.6.3
BUILD FAILURE 6.0 macosSpm