Build Information
Failed to build ARHeadsetKit, reference v1.0.2 (5b9a3d), with Swift 6.3 for macOS (SPM) on 13 Apr 2026 14:24:32 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/philipturner/ARHeadsetKit.git
Reference: v1.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/philipturner/ARHeadsetKit
* tag v1.0.2 -> FETCH_HEAD
HEAD is now at 5b9a3d1 Add warning about compile failure to tutorial
Cloned https://github.com/philipturner/ARHeadsetKit.git
Revision (git rev-parse @):
5b9a3d1eef439f263d2c3f9a80b23d68e9052c4e
SUCCESS checkout https://github.com/philipturner/ARHeadsetKit.git at v1.0.2
Fetching https://github.com/devicekit/DeviceKit
[1/4399] Fetching devicekit
Fetched https://github.com/devicekit/DeviceKit from cache (1.09s)
Fetching https://github.com/michaeleisel/ZippyJSON
[1/1475] Fetching zippyjson
Fetched https://github.com/michaeleisel/ZippyJSON from cache (1.20s)
Fetching https://github.com/michaeleisel/ZippyJSONCFamily
Fetching https://github.com/michaeleisel/JJLISO8601DateFormatter
[1/1127] Fetching jjliso8601dateformatter
[249/1746] Fetching jjliso8601dateformatter, zippyjsoncfamily
Fetched https://github.com/michaeleisel/ZippyJSONCFamily from cache (1.26s)
Fetched https://github.com/michaeleisel/JJLISO8601DateFormatter from cache (1.26s)
Computing version for https://github.com/michaeleisel/ZippyJSONCFamily
Computed https://github.com/michaeleisel/ZippyJSONCFamily at 1.2.4 (2.05s)
Computing version for https://github.com/michaeleisel/JJLISO8601DateFormatter
Computed https://github.com/michaeleisel/JJLISO8601DateFormatter at 0.1.4 (0.86s)
Creating working copy for https://github.com/devicekit/DeviceKit
Working copy of https://github.com/devicekit/DeviceKit resolved at master (769a8ae)
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/michaeleisel/ZippyJSON
Working copy of https://github.com/michaeleisel/ZippyJSON resolved at master (71a46d3)
Creating working copy for https://github.com/michaeleisel/ZippyJSONCFamily
Working copy of https://github.com/michaeleisel/ZippyJSONCFamily resolved at 1.2.4
========================================
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.24s)
Fetching https://github.com/devicekit/DeviceKit from cache
Fetched https://github.com/devicekit/DeviceKit from cache (0.55s)
Fetching https://github.com/michaeleisel/ZippyJSON from cache
Fetched https://github.com/michaeleisel/ZippyJSON from cache (0.47s)
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.52s)
Fetched https://github.com/michaeleisel/JJLISO8601DateFormatter from cache (0.52s)
Computing version for https://github.com/michaeleisel/ZippyJSONCFamily
Computed https://github.com/michaeleisel/ZippyJSONCFamily at 1.2.14 (0.63s)
Computing version for https://github.com/michaeleisel/JJLISO8601DateFormatter
Computed https://github.com/michaeleisel/JJLISO8601DateFormatter at 0.2.0 (0.70s)
Creating working copy for https://github.com/philipturner/ARHeadsetKit.git
Working copy of https://github.com/philipturner/ARHeadsetKit.git resolved at v1.0.2 (5b9a3d1)
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/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/ZippyJSONCFamily
Working copy of https://github.com/michaeleisel/ZippyJSONCFamily resolved at 1.2.14
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
[2/31] Copying HandDetection.metal
[2/31] Copying CentralRendering.metal
[2/31] Copying OpticalFlowMeasurement.metal
[2/31] Copying SignedDistanceFieldCreation.metal
[2/31] Copying ThirdSceneSort.metal
[7/31] Copying ThirdSceneMeshMatch.metal
[8/31] Copying SecondSceneSort.metal
[8/31] Copying SceneTexelRasterization.metal
[9/31] Copying SecondSceneMeshMatch.metal
[9/31] Copying SceneTexelManagement.metal
[12/31] Copying SceneRendering2D.metal
[13/31] Copying SceneOcclusionTesting.metal
[13/31] Copying SceneMeshReduction.metal
[15/31] Copying SceneDuplicateRemoval.metal
[15/31] Copying SceneRendering.metal
[17/31] Copying SceneCulling.metal
[17/31] Copying SceneColorUpdate.metal
[17/31] Copying LensDistortionCorrection.metal
[17/31] Copying InterfaceRendering.metal
[17/31] Copying InterfaceSurfaceMeshIndices.data
[22/31] Copying InterfacePreprocessing.metal
[23/31] Copying FourthSceneSort.metal
[24/31] Copying FirstSceneMeshMatch.metal
[24/31] Copying FirstSceneSort.metal
[26/31] Write swift-version--6988338F2F200930.txt
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.
[27/31] Compiling JJLISO8601DateFormatter JJLInternal.c
[27/31] Compiling localtime.c
[27/31] Compiling ZippyJSONCFamily JSONSerialization.mm
[27/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/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/Second Match/SecondSceneMeshMatchTypes.metal
/Users/admin/builder/spi-builder-workspace/Sources/ARHeadsetKit/Other/Metal Utilities/Private/MemoryUtilities.metal
/Users/admin/builder/spi-builder-workspace/Sources/ARHeadsetKit/Hand Reconstruction/Optical Flow Measurement/OpticalFlowMeasurementTypes.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/Other/Metal Utilities/Private/ColorUtilities.metal
BUILD FAILURE 6.3 macosSpm