The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build ARHeadsetKit, reference develop (536f20), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 02:40:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/philipturner/ARHeadsetKit.git
Reference: develop
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/philipturner/ARHeadsetKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/devicekit/DeviceKit
[1/4072] Fetching devicekit
Fetched https://github.com/devicekit/DeviceKit from cache (0.80s)
Fetching https://github.com/michaeleisel/ZippyJSON
[1/1440] Fetching zippyjson
Fetched https://github.com/michaeleisel/ZippyJSON from cache (1.26s)
Fetching https://github.com/michaeleisel/ZippyJSONCFamily
Fetching https://github.com/michaeleisel/JJLISO8601DateFormatter
[1/862] Fetching jjliso8601dateformatter
[863/1481] Fetching jjliso8601dateformatter, zippyjsoncfamily
Fetched https://github.com/michaeleisel/JJLISO8601DateFormatter from cache (0.29s)
[143/619] Fetching zippyjsoncfamily
Fetched https://github.com/michaeleisel/ZippyJSONCFamily from cache (0.56s)
Computing version for https://github.com/michaeleisel/ZippyJSONCFamily
Computed https://github.com/michaeleisel/ZippyJSONCFamily at 1.2.14 (1.60s)
Computing version for https://github.com/michaeleisel/JJLISO8601DateFormatter
Computed https://github.com/michaeleisel/JJLISO8601DateFormatter at 0.1.8 (0.50s)
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/michaeleisel/JJLISO8601DateFormatter
Working copy of https://github.com/michaeleisel/JJLISO8601DateFormatter resolved at 0.1.8
Creating working copy for https://github.com/michaeleisel/ZippyJSON
Working copy of https://github.com/michaeleisel/ZippyJSON resolved at master (a876ed0)
Creating working copy for https://github.com/devicekit/DeviceKit
Working copy of https://github.com/devicekit/DeviceKit resolved at master (513b9d7)
warning: 'spi-builder-workspace': found 8 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/ARHeadsetKit/Other/Metal Utilities/Private/MemoryUtilities.metal
    /host/spi-builder-workspace/Sources/ARHeadsetKit/Scene Reconstruction/Reconstruction/Mesh Matching/Second Match/SecondSceneMeshMatchTypes.metal
    /host/spi-builder-workspace/Sources/ARHeadsetKit/Other/Metal Utilities/Private/ColorUtilities.metal
    /host/spi-builder-workspace/Sources/ARHeadsetKit/Scene Reconstruction/Reconstruction/Sorting/Fourth Sort/FourthSceneSortTypes.metal
    /host/spi-builder-workspace/Sources/ARHeadsetKit/Scene Reconstruction/Reconstruction/Mesh Matching/Third Match/ThirdSceneMeshMatchTypes.metal
    /host/spi-builder-workspace/Sources/ARHeadsetKit/Scene Reconstruction/Reconstruction/Sorting/Third Sort/ThirdSceneSortTypes.metal
    /host/spi-builder-workspace/Sources/ARHeadsetKit/Hand Reconstruction/Optical Flow Measurement/OpticalFlowMeasurementTypes.metal
    /host/spi-builder-workspace/Sources/ARHeadsetKit/Other/Metal Utilities/Private/ARObjectUtilities.metal
warning: 'devicekit': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/DeviceKit/Source/Info.plist
    /host/spi-builder-workspace/.build/checkouts/DeviceKit/Source/Device.swift.gyb
Building for debugging...
[0/31] Write sources
[1/31] Copying InterfaceSurfaceMeshIndices.data
[2/31] Copying OpticalFlowMeasurement.metal
[2/31] Copying SceneCulling.metal
[2/31] Copying InterfaceRendering.metal
[5/31] Copying InterfacePreprocessing.metal
[5/31] Copying ThirdSceneSort.metal
[5/31] Copying SignedDistanceFieldCreation.metal
[8/31] Copying SecondSceneSort.metal
[9/31] Copying ThirdSceneMeshMatch.metal
[9/31] Copying SecondSceneMeshMatch.metal
[11/31] Copying SceneTexelRasterization.metal
[11/31] Copying SceneRendering2D.metal
[11/31] Copying SceneTexelManagement.metal
[11/31] Copying SceneRendering.metal
[11/31] Copying SceneOcclusionTesting.metal
[11/31] Copying SceneMeshReduction.metal
[11/31] Copying SceneDuplicateRemoval.metal
[11/31] Copying SceneColorUpdate.metal
[11/31] Copying LensDistortionCorrection.metal
[11/31] Copying HandDetection.metal
[11/31] Copying FourthSceneSort.metal
[11/31] Copying FirstSceneSort.metal
[11/31] Copying FirstSceneMeshMatch.metal
[13/31] Copying CentralRendering.metal
[25/31] Write sources
/host/spi-builder-workspace/.build/checkouts/JJLISO8601DateFormatter/Sources/JJLISO8601DateFormatter/JJLInternal.c:7:9: fatal error: 'CoreFoundation/CFDateFormatter.h' file not found
    7 | #import <CoreFoundation/CFDateFormatter.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[26/31] Compiling JJLISO8601DateFormatter JJLInternal.c
In file included from /host/spi-builder-workspace/.build/checkouts/JJLISO8601DateFormatter/Sources/JJLISO8601DateFormatter/JJLISO8601DateFormatter.m:3:
/host/spi-builder-workspace/.build/checkouts/JJLISO8601DateFormatter/Sources/JJLISO8601DateFormatter/include/JJLISO8601DateFormatter.h:3:9: fatal error: 'Foundation/Foundation.h' file not found
    3 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[26/31] Compiling JJLISO8601DateFormatter JJLISO8601DateFormatter.m
[26/31] Compiling ZippyJSONCFamily JSONSerialization.mm
/host/spi-builder-workspace/.build/checkouts/JJLISO8601DateFormatter/Sources/JJLISO8601DateFormatter/Vendor/tzdb/localtime.c:270:3: error: use of undeclared identifier 'tzname'
  270 |   tzname[ttisp->tt_isdst] = (char *) &sp->chars[ttisp->tt_abbrind];
      |   ^
/host/spi-builder-workspace/.build/checkouts/JJLISO8601DateFormatter/Sources/JJLISO8601DateFormatter/Vendor/tzdb/localtime.c:274:5: error: use of undeclared identifier 'timezone'
  274 |     timezone = - ttisp->tt_gmtoff;
      |     ^
/host/spi-builder-workspace/.build/checkouts/JJLISO8601DateFormatter/Sources/JJLISO8601DateFormatter/Vendor/tzdb/localtime.c:289:2: error: use of undeclared identifier 'tzname'
  289 |         tzname[0] = tzname[1] = (char *) (sp ? wildabbr : gmt);
      |         ^
/host/spi-builder-workspace/.build/checkouts/JJLISO8601DateFormatter/Sources/JJLISO8601DateFormatter/Vendor/tzdb/localtime.c:289:14: error: use of undeclared identifier 'tzname'
  289 |         tzname[0] = tzname[1] = (char *) (sp ? wildabbr : gmt);
      |                     ^
/host/spi-builder-workspace/.build/checkouts/JJLISO8601DateFormatter/Sources/JJLISO8601DateFormatter/Vendor/tzdb/localtime.c:292:2: error: use of undeclared identifier 'daylight'
  292 |         daylight = 0;
      |         ^
/host/spi-builder-workspace/.build/checkouts/JJLISO8601DateFormatter/Sources/JJLISO8601DateFormatter/Vendor/tzdb/localtime.c:293:2: error: use of undeclared identifier 'timezone'
  293 |         timezone = 0;
      |         ^
/host/spi-builder-workspace/.build/checkouts/JJLISO8601DateFormatter/Sources/JJLISO8601DateFormatter/Vendor/tzdb/localtime.c:315:4: error: use of undeclared identifier 'daylight'
  315 |                         daylight = 1;
      |                         ^
[26/31] Compiling localtime.c
[26/31] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm