The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ARHeadsetKit, reference develop (536f20), with Swift 6.3 for macOS (SPM) on 22 Apr 2026 11:52:18 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/philipturner/ARHeadsetKit.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/philipturner/ARHeadsetKit
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 536f209 Fix capitalization
Cloned https://github.com/philipturner/ARHeadsetKit.git
Revision (git rev-parse @):
536f209c3a78ec9f346d8ed7a40a7a2043888c42
SUCCESS checkout https://github.com/philipturner/ARHeadsetKit.git at develop
Fetching https://github.com/devicekit/DeviceKit
[1/4399] Fetching devicekit
Fetched https://github.com/devicekit/DeviceKit from cache (1.08s)
Fetching https://github.com/michaeleisel/ZippyJSON
[1/1475] Fetching zippyjson
Fetched https://github.com/michaeleisel/ZippyJSON from cache (1.71s)
Fetching https://github.com/michaeleisel/JJLISO8601DateFormatter
Fetching https://github.com/michaeleisel/ZippyJSONCFamily
[1/619] Fetching zippyjsoncfamily
[8/1746] Fetching zippyjsoncfamily, jjliso8601dateformatter
Fetched https://github.com/michaeleisel/ZippyJSONCFamily from cache (1.07s)
[970/1127] Fetching jjliso8601dateformatter
Fetched https://github.com/michaeleisel/JJLISO8601DateFormatter from cache (1.13s)
Computing version for https://github.com/michaeleisel/ZippyJSONCFamily
Computed https://github.com/michaeleisel/ZippyJSONCFamily at 1.2.4 (1.89s)
Computing version for https://github.com/michaeleisel/JJLISO8601DateFormatter
Computed https://github.com/michaeleisel/JJLISO8601DateFormatter at 0.1.4 (0.74s)
Creating working copy for https://github.com/michaeleisel/ZippyJSONCFamily
Working copy of https://github.com/michaeleisel/ZippyJSONCFamily resolved at 1.2.4
Creating working copy for https://github.com/michaeleisel/ZippyJSON
Working copy of https://github.com/michaeleisel/ZippyJSON resolved at master (71a46d3)
Creating working copy for https://github.com/michaeleisel/JJLISO8601DateFormatter
Working copy of https://github.com/michaeleisel/JJLISO8601DateFormatter resolved at 0.1.4
Creating working copy for https://github.com/devicekit/DeviceKit
Working copy of https://github.com/devicekit/DeviceKit resolved at master (769a8ae)
========================================
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": "arheadsetkit",
      "name": "ARHeadsetKit",
      "url": "https://github.com/philipturner/ARHeadsetKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ARHeadsetKit",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "devicekit",
          "name": "DeviceKit",
          "url": "https://github.com/devicekit/DeviceKit",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DeviceKit",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        },
        {
          "identity": "zippyjson",
          "name": "ZippyJSON",
          "url": "https://github.com/michaeleisel/ZippyJSON",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ZippyJSON",
          "traits": [
            "default"
          ],
          "dependencies": [
            {
              "identity": "jjliso8601dateformatter",
              "name": "JJLISO8601DateFormatter",
              "url": "https://github.com/michaeleisel/JJLISO8601DateFormatter",
              "version": "0.2.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/JJLISO8601DateFormatter",
              "traits": [
                "default"
              ],
              "dependencies": [
              ]
            },
            {
              "identity": "zippyjsoncfamily",
              "name": "ZippyJSONCFamily",
              "url": "https://github.com/michaeleisel/ZippyJSONCFamily",
              "version": "1.2.14",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ZippyJSONCFamily",
              "traits": [
                "default"
              ],
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/philipturner/ARHeadsetKit.git
[1/3218] Fetching arheadsetkit
Fetched https://github.com/philipturner/ARHeadsetKit.git from cache (1.32s)
Fetching https://github.com/devicekit/DeviceKit from cache
Fetched https://github.com/devicekit/DeviceKit from cache (0.54s)
Fetching https://github.com/michaeleisel/ZippyJSON from cache
Fetched https://github.com/michaeleisel/ZippyJSON from cache (0.58s)
Fetching https://github.com/michaeleisel/ZippyJSONCFamily from cache
Fetching https://github.com/michaeleisel/JJLISO8601DateFormatter from cache
Fetched https://github.com/michaeleisel/ZippyJSONCFamily from cache (0.42s)
Fetched https://github.com/michaeleisel/JJLISO8601DateFormatter from cache (0.59s)
Computing version for https://github.com/michaeleisel/ZippyJSONCFamily
Computed https://github.com/michaeleisel/ZippyJSONCFamily at 1.2.14 (0.66s)
Computing version for https://github.com/michaeleisel/JJLISO8601DateFormatter
Computed https://github.com/michaeleisel/JJLISO8601DateFormatter at 0.2.0 (0.66s)
Creating working copy for https://github.com/michaeleisel/JJLISO8601DateFormatter
Working copy of https://github.com/michaeleisel/JJLISO8601DateFormatter resolved at 0.2.0
Creating working copy for https://github.com/devicekit/DeviceKit
Working copy of https://github.com/devicekit/DeviceKit resolved at master (56b997e)
Creating working copy for https://github.com/michaeleisel/ZippyJSON
Working copy of https://github.com/michaeleisel/ZippyJSON resolved at master (4205178)
Creating working copy for https://github.com/michaeleisel/ZippyJSONCFamily
Working copy of https://github.com/michaeleisel/ZippyJSONCFamily resolved at 1.2.14
Creating working copy for https://github.com/philipturner/ARHeadsetKit.git
Working copy of https://github.com/philipturner/ARHeadsetKit.git resolved at develop (536f209)
warning: '.resolve-product-dependencies': dependency 'arheadsetkit' is not used by any target
Found 2 product dependencies
  - DeviceKit
  - ZippyJSON
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/philipturner/ARHeadsetKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/31] Write sources
[1/31] Copying HandDetection.metal
[1/31] Copying InterfacePreprocessing.metal
[1/31] Copying OpticalFlowMeasurement.metal
[1/31] Copying SignedDistanceFieldCreation.metal
[5/31] Copying ThirdSceneSort.metal
[6/31] Copying ThirdSceneMeshMatch.metal
[7/31] Copying SecondSceneSort.metal
[8/31] Copying SecondSceneMeshMatch.metal
[8/31] Copying SceneTexelManagement.metal
[8/31] Copying SceneTexelRasterization.metal
[9/31] Copying SceneRendering2D.metal
[9/31] Copying SceneRendering.metal
[9/31] Copying SceneCulling.metal
[13/31] Copying SceneDuplicateRemoval.metal
[13/31] Copying SceneMeshReduction.metal
[13/31] Copying SceneOcclusionTesting.metal
[13/31] Copying SceneColorUpdate.metal
[13/31] Copying InterfaceSurfaceMeshIndices.data
[14/31] Copying LensDistortionCorrection.metal
[15/31] Copying FirstSceneSort.metal
[21/31] Copying FirstSceneMeshMatch.metal
[21/31] Copying InterfaceRendering.metal
[21/31] Copying CentralRendering.metal
[24/31] Copying FourthSceneSort.metal
[25/31] Write sources
[26/31] Write swift-version--6988338F2F200930.txt
[27/31] Compiling localtime.c
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/JJLISO8601DateFormatter/Sources/JJLISO8601DateFormatter/JJLInternal.c:3:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/JJLISO8601DateFormatter/Sources/JJLISO8601DateFormatter/Vendor/tzdb/tzfile__.h:47:1: error: missing '#include <sys/_types/_ssize_t.h>'; 'ssize_t' must be declared before it is used
   47 | ssize_t jjl_saferead(int fd, void *buffer, size_t nbytes);
      | ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/sys/_types/_ssize_t.h:31:33: note: declaration here is not visible
   31 | typedef __darwin_ssize_t        ssize_t;
      |                                 ^
1 error generated.
[28/31] Compiling JJLISO8601DateFormatter JJLInternal.c
[28/31] Compiling ZippyJSONCFamily JSONSerialization.mm
[28/31] Compiling JJLISO8601DateFormatter JJLISO8601DateFormatter.m
warning: 'spi-builder-workspace': found 8 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/ARHeadsetKit/Other/Metal Utilities/Private/ColorUtilities.metal
    /Users/admin/builder/spi-builder-workspace/Sources/ARHeadsetKit/Other/Metal Utilities/Private/MemoryUtilities.metal
    /Users/admin/builder/spi-builder-workspace/Sources/ARHeadsetKit/Other/Metal Utilities/Private/ARObjectUtilities.metal
    /Users/admin/builder/spi-builder-workspace/Sources/ARHeadsetKit/Scene Reconstruction/Reconstruction/Sorting/Third Sort/ThirdSceneSortTypes.metal
    /Users/admin/builder/spi-builder-workspace/Sources/ARHeadsetKit/Scene Reconstruction/Reconstruction/Mesh Matching/Third Match/ThirdSceneMeshMatchTypes.metal
    /Users/admin/builder/spi-builder-workspace/Sources/ARHeadsetKit/Scene Reconstruction/Reconstruction/Sorting/Fourth Sort/FourthSceneSortTypes.metal
    /Users/admin/builder/spi-builder-workspace/Sources/ARHeadsetKit/Scene Reconstruction/Reconstruction/Mesh Matching/Second Match/SecondSceneMeshMatchTypes.metal
    /Users/admin/builder/spi-builder-workspace/Sources/ARHeadsetKit/Hand Reconstruction/Optical Flow Measurement/OpticalFlowMeasurementTypes.metal
BUILD FAILURE 6.3 macosSpm