The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FaceRecognitionDlib, reference main (53eae8), with Swift 6.1 for Wasm on 7 Nov 2025 20:16:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 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: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/AppliedRecognition/Face-Recognition-Dlib-Apple.git
https://github.com/AppliedRecognition/Face-Recognition-Dlib-Apple.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "cxx_language_standard" : "c++17",
  "dependencies" : [
    {
      "identity" : "ver-id-common-types-apple",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/AppliedRecognition/Ver-ID-Common-Types-Apple.git"
    },
    {
      "identity" : "face-detection-retinaface-apple",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.4",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/AppliedRecognition/Face-Detection-RetinaFace-Apple"
    }
  ],
  "manifest_display_name" : "FaceRecognitionDlib",
  "name" : "FaceRecognitionDlib",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "FaceRecognitionDlib",
      "targets" : [
        "FaceRecognitionDlib"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FaceRecognitionDlibTests",
      "module_type" : "SwiftTarget",
      "name" : "FaceRecognitionDlibTests",
      "path" : "Tests/FaceRecognitionDlibTests",
      "product_dependencies" : [
        "FaceDetectionRetinaFace"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/FaceRecognitionDlibTests/Resources/face.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/FaceRecognitionDlibTests/Resources/subject1-01.jpg",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/FaceRecognitionDlibTests/Resources/subject1-02.jpg",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/FaceRecognitionDlibTests/Resources/subject2-01.jpg",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "FaceRecognitionDlibTests.swift"
      ],
      "target_dependencies" : [
        "FaceRecognitionDlib"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FaceRecognitionDlib",
      "module_type" : "SwiftTarget",
      "name" : "FaceRecognitionDlib",
      "path" : "Sources/FaceRecognitionDlib",
      "product_dependencies" : [
        "VerIDCommonTypes"
      ],
      "product_memberships" : [
        "FaceRecognitionDlib"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/FaceRecognitionDlib/Resources/DlibFaceRecognitionResnetV1.mlpackage/Data/com.apple.CoreML/model.mlmodel",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/FaceRecognitionDlib/Resources/DlibFaceRecognitionResnetV1.mlpackage/Data/com.apple.CoreML/weights/weight.bin",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/FaceRecognitionDlib/Resources/DlibFaceRecognitionResnetV1.mlpackage/Manifest.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/FaceRecognitionDlib/Resources/shape_predictor_5_face_landmarks.dat",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Errors.swift",
        "FaceAlignment.swift",
        "FaceRecognitionDlib.swift",
        "FaceTemplateDlib.swift",
        "Image.swift",
        "ModelInputPrep.swift",
        "V16.swift"
      ],
      "target_dependencies" : [
        "DlibLandmarks"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DlibLandmarks",
      "module_type" : "ClangTarget",
      "name" : "DlibLandmarks",
      "path" : "Sources/DlibLandmarks",
      "product_memberships" : [
        "FaceRecognitionDlib"
      ],
      "sources" : [
        "DlibLandmarkLocations.m",
        "DlibLandmarks.mm"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
warning: 'spi-builder-workspace': Invalid Resource 'Resources': File not found.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/AppliedRecognition/Ver-ID-Common-Types-Apple.git
Fetching https://github.com/AppliedRecognition/Face-Detection-RetinaFace-Apple
[1/1229] Fetching ver-id-common-types-apple
[997/1463] Fetching ver-id-common-types-apple, face-detection-retinaface-apple
Fetched https://github.com/AppliedRecognition/Ver-ID-Common-Types-Apple.git from cache (0.42s)
Fetched https://github.com/AppliedRecognition/Face-Detection-RetinaFace-Apple from cache (0.42s)
Computing version for https://github.com/AppliedRecognition/Face-Detection-RetinaFace-Apple
Computed https://github.com/AppliedRecognition/Face-Detection-RetinaFace-Apple at 1.0.5 (1.05s)
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.62s)
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
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
warning: 'spi-builder-workspace': Invalid Resource 'Resources': File not found.
Building for debugging...
[0/12] Write sources
[1/12] Copying Manifest.json
[2/12] Copying model.mlmodel
[3/12] Write sources
[4/12] Copying weight.bin
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 shape_predictor_5_face_landmarks.dat
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-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': Invalid Resource 'Resources': File not found.
[0/1] Planning build
Building for debugging...
[0/7] 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.
[1/7] Compiling DlibLandmarks DlibLandmarkLocations.m
[1/7] Write swift-version-24593BA9C3E375BF.txt
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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/7] Compiling DlibLandmarks DlibLandmarks.mm
BUILD FAILURE 6.1 wasm