The Swift Package Index logo.Swift Package Index

Build Information

Failed to build node-swift, reference main (314bec), with Swift 6.3 for macOS (SPM) on 16 Apr 2026 14:33:12 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/pointfreeco/swift-macro-testing.git
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/961] Fetching swift-macro-testing
[30/6425] Fetching swift-macro-testing, swift-custom-dump
[1069/12148] Fetching swift-macro-testing, swift-custom-dump, xctest-dynamic-overlay
[12092/28201] Fetching swift-macro-testing, swift-custom-dump, xctest-dynamic-overlay, swift-snapshot-testing
[12150/103186] Fetching swift-macro-testing, swift-custom-dump, xctest-dynamic-overlay, swift-snapshot-testing, swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.85s)
[25472/28201] Fetching swift-macro-testing, swift-custom-dump, xctest-dynamic-overlay, swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (4.29s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (4.29s)
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (4.29s)
Fetched https://github.com/pointfreeco/swift-macro-testing.git from cache (4.29s)
Computing version for https://github.com/pointfreeco/swift-macro-testing.git
Computed https://github.com/pointfreeco/swift-macro-testing.git at 0.6.2 (4.99s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (2.69s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.3 (0.55s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.55s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.55s)
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-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-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.5.2
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.18s)
Fetching https://github.com/swiftlang/swift-syntax.git from cache
Fetched https://github.com/swiftlang/swift-syntax.git from cache (0.93s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (1.04s)
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 main (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 NodeModuleSupport win_delay_load_hook.cc
[21/30] Compiling _SwiftSyntaxCShims dummy.c
[22/30] Write swift-version--6988338F2F200930.txt
[23/30] Compiling NodeModuleSupport register.c
[24/30] Compiling CNodeAPISupport node_context.c
[27/38] Emitting module SwiftSyntax601
[28/38] Compiling SwiftSyntax601 Empty.swift
[29/38] Compiling SwiftSyntax510 Empty.swift
[30/38] Emitting module SwiftSyntax510
[31/38] Emitting module SwiftSyntax600
[32/38] Compiling SwiftSyntax600 Empty.swift
[33/38] Emitting module SwiftSyntax509
[34/38] Compiling SwiftSyntax509 Empty.swift
/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