The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FaceRecognitionDlib, reference main (53eae8), with Swift 6.1 for Linux on 7 Nov 2025 20:04:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 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:         linux
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-4609320-1":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:808cb2b2a6cec76654a3acbd283c6c2205bc60d2b29562c95b9f5147612f6d32
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-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
[1108/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.38s)
Fetched https://github.com/AppliedRecognition/Face-Detection-RetinaFace-Apple from cache (0.39s)
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.01s)
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 (1.18s)
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
[2/12] Copying model.mlmodel
[2/12] Copying Manifest.json
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.
[4/12] Compiling DlibLandmarks DlibLandmarkLocations.m
[4/12] Copying shape_predictor_5_face_landmarks.dat
[4/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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[4/12] Compiling DlibLandmarks DlibLandmarks.mm
[4/12] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:808cb2b2a6cec76654a3acbd283c6c2205bc60d2b29562c95b9f5147612f6d32
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: 'spi-builder-workspace': Invalid Resource 'Resources': File not found.
[0/1] Planning build
Building for debugging...
[0/8] Copying shape_predictor_5_face_landmarks.dat
[1/8] 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.
[2/8] Compiling DlibLandmarks DlibLandmarkLocations.m
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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/8] Compiling DlibLandmarks DlibLandmarks.mm
[2/8] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux