The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ARHeadsetKit with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/philipturner/ARHeadsetKit.git
Reference: v1.0.2
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
 * 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
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/philipturner/ARHeadsetKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/devicekit/DeviceKit
[1/3710] Fetching devicekit
Fetched https://github.com/devicekit/DeviceKit from cache (0.44s)
Fetching https://github.com/michaeleisel/ZippyJSON
[1/1390] Fetching zippyjson
Fetched https://github.com/michaeleisel/ZippyJSON from cache (0.40s)
Fetching https://github.com/michaeleisel/JJLISO8601DateFormatter
Fetching https://github.com/michaeleisel/ZippyJSONCFamily
[1/849] Fetching jjliso8601dateformatter
[850/1462] Fetching jjliso8601dateformatter, zippyjsoncfamily
Fetched https://github.com/michaeleisel/JJLISO8601DateFormatter from cache (0.24s)
[13/613] Fetching zippyjsoncfamily
Fetched https://github.com/michaeleisel/ZippyJSONCFamily from cache (0.54s)
Computing version for https://github.com/michaeleisel/ZippyJSONCFamily
Computed https://github.com/michaeleisel/ZippyJSONCFamily at 1.2.4 (0.45s)
Computing version for https://github.com/michaeleisel/JJLISO8601DateFormatter
Computed https://github.com/michaeleisel/JJLISO8601DateFormatter at 0.1.4 (0.45s)
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/ZippyJSONCFamily
Working copy of https://github.com/michaeleisel/ZippyJSONCFamily resolved at 1.2.4
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/ZippyJSON
Working copy of https://github.com/michaeleisel/ZippyJSON resolved at master (71a46d3)
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/Mesh Matching/Second Match/SecondSceneMeshMatchTypes.metal
    /host/spi-builder-workspace/Sources/ARHeadsetKit/Scene Reconstruction/Reconstruction/Sorting/Fourth Sort/FourthSceneSortTypes.metal
    /host/spi-builder-workspace/Sources/ARHeadsetKit/Other/Metal Utilities/Private/ColorUtilities.metal
    /host/spi-builder-workspace/Sources/ARHeadsetKit/Other/Metal Utilities/Private/MemoryUtilities.metal
    /host/spi-builder-workspace/Sources/ARHeadsetKit/Hand Reconstruction/Optical Flow Measurement/OpticalFlowMeasurementTypes.metal
    /host/spi-builder-workspace/Sources/ARHeadsetKit/Scene Reconstruction/Reconstruction/Sorting/Third Sort/ThirdSceneSortTypes.metal
    /host/spi-builder-workspace/Sources/ARHeadsetKit/Scene Reconstruction/Reconstruction/Mesh Matching/Third Match/ThirdSceneMeshMatchTypes.metal
    /host/spi-builder-workspace/Sources/ARHeadsetKit/Other/Metal Utilities/Private/ARObjectUtilities.metal
Building for debugging...
[0/31] Write sources
[1/31] Copying SceneRendering.metal
[1/31] Copying SceneCulling.metal
[1/31] Copying InterfaceRendering.metal
[2/31] Copying SignedDistanceFieldCreation.metal
[5/31] Copying ThirdSceneSort.metal
[5/31] Copying ThirdSceneMeshMatch.metal
[5/31] Copying SecondSceneSort.metal
[8/31] Copying SceneTexelRasterization.metal
[8/31] Copying SceneTexelManagement.metal
[10/31] Copying SecondSceneMeshMatch.metal
[11/31] Copying SceneRendering2D.metal
[11/31] Copying SceneOcclusionTesting.metal
[13/31] Copying SceneMeshReduction.metal
[13/31] Copying SceneDuplicateRemoval.metal
[13/31] Copying SceneColorUpdate.metal
[14/31] Copying OpticalFlowMeasurement.metal
[17/31] Copying LensDistortionCorrection.metal
[17/31] Copying InterfaceSurfaceMeshIndices.data
[19/31] Copying InterfacePreprocessing.metal
[20/31] Copying HandDetection.metal
[20/31] Copying FourthSceneSort.metal
[22/31] Copying FirstSceneSort.metal
[23/31] Copying CentralRendering.metal
[24/31] Copying FirstSceneMeshMatch.metal
[25/31] Write sources
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.
[26/31] Compiling JJLISO8601DateFormatter JJLISO8601DateFormatter.m
[26/31] Compiling localtime.c
[26/31] Compiling ZippyJSONCFamily JSONSerialization.mm
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-14/lib/clang/14.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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[26/31] Compiling JJLISO8601DateFormatter JJLInternal.c
[26/31] Write swift-version-24593BA9C3E375BF.txt
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/Mesh Matching/Second Match/SecondSceneMeshMatchTypes.metal
    /host/spi-builder-workspace/Sources/ARHeadsetKit/Other/Metal Utilities/Private/ARObjectUtilities.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/Other/Metal Utilities/Private/ColorUtilities.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/MemoryUtilities.metal
[0/1] Planning build
Building for debugging...
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.
[0/5] Compiling JJLISO8601DateFormatter JJLISO8601DateFormatter.m
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-14/lib/clang/14.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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0/5] Compiling JJLISO8601DateFormatter JJLInternal.c
[0/5] Compiling localtime.c
[0/5] Compiling ZippyJSONCFamily JSONSerialization.mm
[0/5] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux

Build Machine: Linux 2