The Swift Package Index logo.Swift Package Index

Build Information

Failed to build node-swift, reference 1.4.0 (314bec), with Swift 6.2 for macOS (SPM) on 20 Jul 2025 19:15:13 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build 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.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] Write swift-version-1EA4D86E10B52AF.txt
[21/30] Compiling NodeModuleSupport win_delay_load_hook.cc
[22/30] Compiling _SwiftSyntaxCShims dummy.c
[23/38] Compiling NodeModuleSupport register.c
[24/38] Compiling CNodeAPISupport node_context.c
[27/38] Compiling SwiftSyntax509 Empty.swift
[28/38] Emitting module SwiftSyntax509
[29/38] Compiling SwiftSyntax601 Empty.swift
[30/38] Emitting module SwiftSyntax510
[31/38] Emitting module SwiftSyntax601
[32/38] Compiling SwiftSyntax510 Empty.swift
[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.
[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.
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/pointfreeco/swift-macro-testing.git from cache (3.38s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.38s)
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.81s)
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.09s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (5.10s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.5 (0.42s)
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.98s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (1.40s)
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.29s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.6.0 (1.74s)
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-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/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/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