The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ARHeadsetKit with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/philipturner/ARHeadsetKit.git
Reference: v1.0.2
Cloned https://github.com/philipturner/ARHeadsetKit.git into spi-builder-workspace
SUCCESS checkout https://github.com/philipturner/ARHeadsetKit.git at v1.0.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/devicekit/DeviceKit
[1/3278] Fetching devicekit
Fetched https://github.com/devicekit/DeviceKit (0.40s)
Fetching https://github.com/michaeleisel/ZippyJSON
[1/1381] Fetching zippyjson
Fetched https://github.com/michaeleisel/ZippyJSON (0.47s)
Fetching https://github.com/michaeleisel/ZippyJSONCFamily
Fetching https://github.com/michaeleisel/JJLISO8601DateFormatter
[1/821] Fetching jjliso8601dateformatter
Fetched https://github.com/michaeleisel/JJLISO8601DateFormatter (0.22s)
[1/613] Fetching zippyjsoncfamily
Fetched https://github.com/michaeleisel/ZippyJSONCFamily (0.56s)
Computing version for https://github.com/michaeleisel/ZippyJSONCFamily
Computed https://github.com/michaeleisel/ZippyJSONCFamily at 1.2.4 (0.27s)
Computing version for https://github.com/michaeleisel/JJLISO8601DateFormatter
Computed https://github.com/michaeleisel/JJLISO8601DateFormatter at 0.1.4 (0.27s)
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/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
Creating working copy for https://github.com/michaeleisel/ZippyJSON
Working copy of https://github.com/michaeleisel/ZippyJSON resolved at master
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/Scene Reconstruction/Reconstruction/Sorting/Third Sort/ThirdSceneSortTypes.metal
    /host/spi-builder-workspace/Sources/ARHeadsetKit/Other/Metal Utilities/Private/ColorUtilities.metal
    /host/spi-builder-workspace/Sources/ARHeadsetKit/Other/Metal Utilities/Private/ARObjectUtilities.metal
    /host/spi-builder-workspace/Sources/ARHeadsetKit/Scene Reconstruction/Reconstruction/Mesh Matching/Second Match/SecondSceneMeshMatchTypes.metal
    /host/spi-builder-workspace/Sources/ARHeadsetKit/Hand Reconstruction/Optical Flow Measurement/OpticalFlowMeasurementTypes.metal
    /host/spi-builder-workspace/Sources/ARHeadsetKit/Other/Metal Utilities/Private/MemoryUtilities.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/Fourth Sort/FourthSceneSortTypes.metal
Building for debugging...
[0/28] Copying SecondSceneMeshMatch.metal
[0/28] Copying SceneOcclusionTesting.metal
[1/28] Copying ThirdSceneSort.metal
[1/28] Copying SceneTexelRasterization.metal
[4/28] Copying SignedDistanceFieldCreation.metal
[4/28] Copying SecondSceneSort.metal
[4/28] Copying ThirdSceneMeshMatch.metal
[4/28] Copying SceneRendering2D.metal
[4/28] Copying SceneTexelManagement.metal
[4/28] Copying SceneRendering.metal
[4/28] Copying SceneMeshReduction.metal
[4/28] Copying SceneDuplicateRemoval.metal
[4/28] Copying SceneCulling.metal
[4/28] Copying SceneColorUpdate.metal
[4/28] Copying OpticalFlowMeasurement.metal
[4/28] Copying LensDistortionCorrection.metal
[4/28] Copying InterfaceSurfaceMeshIndices.data
[17/28] Copying InterfacePreprocessing.metal
[18/28] Copying InterfaceRendering.metal
[19/28] Copying HandDetection.metal
[19/28] Copying FirstSceneSort.metal
[19/28] Copying FourthSceneSort.metal
[19/28] Copying CentralRendering.metal
[23/28] Copying FirstSceneMeshMatch.metal
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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[24/28] Compiling JJLISO8601DateFormatter JJLISO8601DateFormatter.m
[24/28] Compiling localtime.c
In file included from /host/spi-builder-workspace/.build/checkouts/JJLISO8601DateFormatter/Sources/JJLISO8601DateFormatter/JJLInternal.c:3:
/host/spi-builder-workspace/.build/checkouts/JJLISO8601DateFormatter/Sources/JJLISO8601DateFormatter/Vendor/tzdb/tzfile__.h:47:1: error: unknown type name 'ssize_t'; did you mean 'size_t'?
ssize_t jjl_saferead(int fd, void *buffer, size_t nbytes);
^~~~~~~
size_t
/usr/lib/llvm-10/lib/clang/10.0.0/include/stddef.h:46:23: note: 'size_t' declared here
typedef __SIZE_TYPE__ size_t;
                      ^
/host/spi-builder-workspace/.build/checkouts/JJLISO8601DateFormatter/Sources/JJLISO8601DateFormatter/JJLInternal.c:7:9: fatal error: 'CoreFoundation/CFDateFormatter.h' file not found
#import <CoreFoundation/CFDateFormatter.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[24/28] Compiling JJLISO8601DateFormatter JJLInternal.c
[24/28] Compiling ZippyJSONCFamily JSONSerialization.mm
BUILD FAILURE 5.9 linux

Build Machine: Linux 1