The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FaceRecognitionDlib, reference 1.1.3 (53eae8), with Swift 6.2 for Android on 7 Nov 2025 20:04:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AppliedRecognition/Face-Recognition-Dlib-Apple.git
Reference: 1.1.3
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/AppliedRecognition/Face-Recognition-Dlib-Apple
 * tag               1.1.3      -> FETCH_HEAD
HEAD is now at 53eae87 Merge branch 'development'
Cloned https://github.com/AppliedRecognition/Face-Recognition-Dlib-Apple.git
Revision (git rev-parse @):
53eae87e0421b44ecb9bd8b3ec63232c2f311831
SUCCESS checkout https://github.com/AppliedRecognition/Face-Recognition-Dlib-Apple.git at 1.1.3
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/AppliedRecognition/Face-Recognition-Dlib-Apple.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:d70d83f328e9f1ae04a4e17e63e2d335ae10639f90ee796a5fe3bfb139eab948
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/AppliedRecognition/Ver-ID-Common-Types-Apple.git
Fetching https://github.com/AppliedRecognition/Face-Detection-RetinaFace-Apple
[1/234] Fetching face-detection-retinaface-apple
[111/1463] Fetching face-detection-retinaface-apple, ver-id-common-types-apple
Fetched https://github.com/AppliedRecognition/Ver-ID-Common-Types-Apple.git from cache (0.30s)
Fetched https://github.com/AppliedRecognition/Face-Detection-RetinaFace-Apple from cache (0.35s)
Computing version for https://github.com/AppliedRecognition/Face-Detection-RetinaFace-Apple
Computed https://github.com/AppliedRecognition/Face-Detection-RetinaFace-Apple at 1.0.5 (0.82s)
Computing version for https://github.com/AppliedRecognition/Ver-ID-Common-Types-Apple.git
Computed https://github.com/AppliedRecognition/Ver-ID-Common-Types-Apple.git at 3.2.2 (0.41s)
Creating working copy for https://github.com/AppliedRecognition/Face-Detection-RetinaFace-Apple
Working copy of https://github.com/AppliedRecognition/Face-Detection-RetinaFace-Apple resolved at 1.0.5
Creating working copy for https://github.com/AppliedRecognition/Ver-ID-Common-Types-Apple.git
Working copy of https://github.com/AppliedRecognition/Ver-ID-Common-Types-Apple.git resolved at 3.2.2
warning: 'spi-builder-workspace': Invalid Resource 'Resources': File not found.
Building for debugging...
[0/12] Write sources
[0/12] Copying model.mlmodel
[3/12] Copying Manifest.json
[4/12] Copying shape_predictor_5_face_landmarks.dat
In file included from /host/spi-builder-workspace/Sources/DlibLandmarks/DlibLandmarkLocations.m:8:
/host/spi-builder-workspace/Sources/DlibLandmarks/include/DlibLandmarkLocations.h:11:9: fatal error: 'Foundation/Foundation.h' file not found
   11 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[5/12] Compiling DlibLandmarks DlibLandmarkLocations.m
[5/12] Copying weight.bin
In file included from /host/spi-builder-workspace/Sources/DlibLandmarks/DlibLandmarks.mm:8:
/host/spi-builder-workspace/Sources/DlibLandmarks/include/DlibLandmarks.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
    8 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[5/12] Compiling DlibLandmarks DlibLandmarks.mm
[5/12] Write swift-version--11D90AFD9DD3AB2.txt
BUILD FAILURE 6.2 android