The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FaceRecognitionR300, reference main (3f530c), with Swift 6.1 for Android on 3 Feb 2026 20:57:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AppliedRecognition/Face-Recognition-R300-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-R300-Apple
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3f530c8 Merge branch 'development'
Cloned https://github.com/AppliedRecognition/Face-Recognition-R300-Apple.git
Revision (git rev-parse @):
3f530c8427870c9925fbc6e98abdf69e54f74486
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/AppliedRecognition/Face-Recognition-R300-Apple.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/AppliedRecognition/Face-Recognition-R300-Apple.git
https://github.com/AppliedRecognition/Face-Recognition-R300-Apple.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "face-recognition-arcface-apple",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/AppliedRecognition/Face-Recognition-ArcFace-Apple.git"
    }
  ],
  "manifest_display_name" : "FaceRecognitionR300",
  "name" : "FaceRecognitionR300",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "FaceRecognitionR300Cloud",
      "targets" : [
        "FaceRecognitionR300Cloud"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "FaceRecognitionR300Core",
      "targets" : [
        "FaceRecognitionR300Core"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FaceRecognitionR300Tests",
      "module_type" : "SwiftTarget",
      "name" : "FaceRecognitionR300Tests",
      "path" : "Tests/FaceRecognitionR300Tests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/FaceRecognitionR300Tests/Resources/Photo 04-05-2016, 18 57 50.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/FaceRecognitionR300Tests/Resources/config.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "FaceRecognitionR300Tests.swift"
      ],
      "target_dependencies" : [
        "FaceRecognitionR300Cloud",
        "FaceRecognitionR300Core"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FaceRecognitionR300Core",
      "module_type" : "SwiftTarget",
      "name" : "FaceRecognitionR300Core",
      "path" : "Sources/FaceRecognitionR300Core",
      "product_dependencies" : [
        "FaceRecognitionArcFaceCore",
        "FaceDetectionRetinaFaceOrt"
      ],
      "product_memberships" : [
        "FaceRecognitionR300Cloud",
        "FaceRecognitionR300Core"
      ],
      "sources" : [
        "FaceAlignmentConfiguration.swift",
        "FaceRecognitionError.swift",
        "FaceRecognitionR300Core.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FaceRecognitionR300Cloud",
      "module_type" : "SwiftTarget",
      "name" : "FaceRecognitionR300Cloud",
      "path" : "Sources/FaceRecognitionR300Cloud",
      "product_memberships" : [
        "FaceRecognitionR300Cloud"
      ],
      "sources" : [
        "FaceRecognitionR300.swift"
      ],
      "target_dependencies" : [
        "FaceRecognitionR300Core"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/AppliedRecognition/Face-Recognition-ArcFace-Apple.git
[1/241] Fetching face-recognition-arcface-apple
Fetched https://github.com/AppliedRecognition/Face-Recognition-ArcFace-Apple.git from cache (0.99s)
Computing version for https://github.com/AppliedRecognition/Face-Recognition-ArcFace-Apple.git
Computed https://github.com/AppliedRecognition/Face-Recognition-ArcFace-Apple.git at 2.0.1 (6.46s)
Fetching https://github.com/AppliedRecognition/Ver-ID-Common-Types-Apple.git
Fetching https://github.com/microsoft/onnxruntime-swift-package-manager.git
[1/1250] Fetching ver-id-common-types-apple
[1251/2318] Fetching ver-id-common-types-apple, onnxruntime-swift-package-manager
Fetched https://github.com/AppliedRecognition/Ver-ID-Common-Types-Apple.git from cache (3.22s)
[80/1068] Fetching onnxruntime-swift-package-manager
Fetched https://github.com/microsoft/onnxruntime-swift-package-manager.git from cache (5.56s)
Computing version for https://github.com/microsoft/onnxruntime-swift-package-manager.git
Computed https://github.com/microsoft/onnxruntime-swift-package-manager.git at 1.20.0 (8.79s)
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.3.0 (1.12s)
Creating working copy for https://github.com/AppliedRecognition/Face-Recognition-ArcFace-Apple.git
Working copy of https://github.com/AppliedRecognition/Face-Recognition-ArcFace-Apple.git resolved at 2.0.1
Creating working copy for https://github.com/microsoft/onnxruntime-swift-package-manager.git
Working copy of https://github.com/microsoft/onnxruntime-swift-package-manager.git resolved at 1.20.0
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.3.0
Downloading binary artifact https://download.onnxruntime.ai/pod-archive-onnxruntime-c-1.20.0.zip
Downloading binary artifact https://download.onnxruntime.ai/pod-archive-onnxruntime-extensions-c-0.13.0.zip
[15975/19359053] Downloading https://download.onnxruntime.ai/pod-archive-onnxruntime-extensions-c-0.13.0.zip
[2244163/63577769] Downloading https://download.onnxruntime.ai/pod-archive-onnxruntime-extensions-c-0.13.0.zip, https://download.onnxruntime.ai/pod-archive-onnxruntime-c-1.20.0.zip
Downloaded https://download.onnxruntime.ai/pod-archive-onnxruntime-extensions-c-0.13.0.zip (2.59s)
Downloaded https://download.onnxruntime.ai/pod-archive-onnxruntime-c-1.20.0.zip (6.19s)
Building for debugging...
[0/21] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/ort_coreml_execution_provider.mm:4:
/host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/include/ort_coreml_execution_provider.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
    4 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/21] Compiling OnnxRuntimeBindings ort_coreml_execution_provider.mm
In file included from /host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/ort_env.mm:4:
In file included from /host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/ort_env_internal.h:4:
/host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/include/ort_env.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
    4 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/ort_value.mm:4:
In file included from /host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/ort_value_internal.h:4:
/host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/include/ort_value.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
    4 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/21] Compiling OnnxRuntimeBindings ort_env.mm
[3/21] Compiling OnnxRuntimeBindings ort_value.mm
In file included from /host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/ort_enums.mm:4:
In file included from /host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/ort_enums_internal.h:4:
/host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/include/ort_enums.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
    4 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/21] Compiling OnnxRuntimeBindings ort_enums.mm
In file included from /host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/ort_session.mm:4:
In file included from /host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/ort_session_internal.h:4:
/host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/include/ort_session.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
    4 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/21] Compiling OnnxRuntimeBindings ort_session.mm
In file included from /host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/error_utils.mm:4:
/host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/error_utils.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
    4 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/21] Compiling OnnxRuntimeBindings error_utils.mm
[3/21] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/ort_xnnpack_execution_provider.mm:4:
/host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/include/ort_xnnpack_execution_provider.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
    4 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/21] Compiling OnnxRuntimeBindings ort_xnnpack_execution_provider.mm
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/18] Write sources
[2/18] Copying det_500m.onnx
In file included from /host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/ort_xnnpack_execution_provider.mm:4:
/host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/include/ort_xnnpack_execution_provider.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
    4 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/18] Compiling OnnxRuntimeBindings ort_xnnpack_execution_provider.mm
In file included from /host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/ort_value.mm:4:
In file included from /host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/ort_value_internal.h:4:
/host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/include/ort_value.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
    4 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/18] Compiling OnnxRuntimeBindings ort_value.mm
In file included from /host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/ort_coreml_execution_provider.mm:4:
/host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/include/ort_coreml_execution_provider.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
    4 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/18] Compiling OnnxRuntimeBindings ort_coreml_execution_provider.mm
In file included from /host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/ort_enums.mm:4:
In file included from /host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/ort_enums_internal.h:4:
/host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/include/ort_enums.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
    4 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/18] Compiling OnnxRuntimeBindings ort_enums.mm
In file included from /host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/error_utils.mm:4:
/host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/error_utils.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
    4 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/18] Compiling OnnxRuntimeBindings error_utils.mm
In file included from /host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/ort_session.mm:4:
In file included from /host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/ort_session_internal.h:4:
/host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/include/ort_session.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
    4 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/18] Compiling OnnxRuntimeBindings ort_session.mm
In file included from /host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/ort_env.mm:4:
In file included from /host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/ort_env_internal.h:4:
/host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/include/ort_env.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
    4 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/18] Compiling OnnxRuntimeBindings ort_env.mm
[3/18] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android