The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FaceRecognitionArcFace, reference main (c93222), with Swift 6.1 for Android on 3 Feb 2026 01:58:24 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-ArcFace-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-ArcFace-Apple
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c932224 Merge branch 'development'
Cloned https://github.com/AppliedRecognition/Face-Recognition-ArcFace-Apple.git
Revision (git rev-parse @):
c9322246731b22ec8ae674fc7f83c9028109d755
SUCCESS checkout https://github.com/AppliedRecognition/Face-Recognition-ArcFace-Apple.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/AppliedRecognition/Face-Recognition-ArcFace-Apple.git
https://github.com/AppliedRecognition/Face-Recognition-ArcFace-Apple.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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" : "ohhttpstubs",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "9.1.0",
            "upper_bound" : "10.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/AliSoftware/OHHTTPStubs.git"
    },
    {
      "identity" : "onnxruntime-swift-package-manager",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.20.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/microsoft/onnxruntime-swift-package-manager.git"
    }
  ],
  "manifest_display_name" : "FaceRecognitionArcFace",
  "name" : "FaceRecognitionArcFace",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "FaceRecognitionArcFaceCloud",
      "targets" : [
        "FaceRecognitionArcFaceCloud"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "FaceRecognitionArcFaceCore",
      "targets" : [
        "FaceRecognitionArcFaceCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "FaceDetectionRetinaFaceOrt",
      "targets" : [
        "FaceDetectionRetinaFaceOrt"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TestSupport",
      "module_type" : "SwiftTarget",
      "name" : "TestSupport",
      "path" : "Sources/TestSupport",
      "product_dependencies" : [
        "VerIDCommonTypes"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/TestSupport/Resources/subject1-01-aligned.png-template.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/TestSupport/Resources/subject1-01.jpg",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/TestSupport/Resources/subject1-01.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/TestSupport/Resources/subject1-02-aligned.png-template.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/TestSupport/Resources/subject1-02.jpg",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/TestSupport/Resources/subject1-02.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/TestSupport/Resources/subject2-01-aligned.png-template.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/TestSupport/Resources/subject2-01.jpg",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/TestSupport/Resources/subject2-01.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "TestSupport.swift",
        "TestSupportError.swift"
      ],
      "target_dependencies" : [
        "FaceDetectionRetinaFaceOrt"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FaceRecognitionArcFaceCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "FaceRecognitionArcFaceCoreTests",
      "path" : "Tests/FaceRecognitionArcFaceCoreTests",
      "sources" : [
        "DatasetLoader.swift",
        "FaceRecognitionArcFaceCoreTests.swift"
      ],
      "target_dependencies" : [
        "FaceRecognitionArcFaceCore",
        "FaceDetectionRetinaFaceOrt",
        "TestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FaceRecognitionArcFaceCore",
      "module_type" : "SwiftTarget",
      "name" : "FaceRecognitionArcFaceCore",
      "path" : "Sources/FaceRecognitionArcFaceCore",
      "product_dependencies" : [
        "VerIDCommonTypes"
      ],
      "product_memberships" : [
        "FaceRecognitionArcFaceCloud",
        "FaceRecognitionArcFaceCore"
      ],
      "sources" : [
        "Errors.swift",
        "FaceAlignment.swift",
        "FaceRecognitionArcFaceCore.swift",
        "V24.swift"
      ],
      "target_dependencies" : [
        "FaceDetectionRetinaFaceOrt"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FaceRecognitionArcFaceCloudTests",
      "module_type" : "SwiftTarget",
      "name" : "FaceRecognitionArcFaceCloudTests",
      "path" : "Tests/FaceRecognitionArcFaceCloudTests",
      "product_dependencies" : [
        "OHHTTPStubsSwift"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/FaceRecognitionArcFaceCloudTests/Resources/config.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "FaceRecognitionArcFaceCloudTests.swift"
      ],
      "target_dependencies" : [
        "FaceRecognitionArcFaceCloud",
        "FaceDetectionRetinaFaceOrt",
        "TestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FaceRecognitionArcFaceCloud",
      "module_type" : "SwiftTarget",
      "name" : "FaceRecognitionArcFaceCloud",
      "path" : "Sources/FaceRecognitionArcFaceCloud",
      "product_memberships" : [
        "FaceRecognitionArcFaceCloud"
      ],
      "sources" : [
        "FaceRecognitionArcFace.swift"
      ],
      "target_dependencies" : [
        "FaceRecognitionArcFaceCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FaceDetectionRetinaFaceOrtTests",
      "module_type" : "SwiftTarget",
      "name" : "FaceDetectionRetinaFaceOrtTests",
      "path" : "Tests/FaceDetectionRetinaFaceOrtTests",
      "sources" : [
        "FaceDetectionRetinaFaceOrtTests.swift"
      ],
      "target_dependencies" : [
        "FaceDetectionRetinaFaceOrt"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FaceDetectionRetinaFaceOrt",
      "module_type" : "SwiftTarget",
      "name" : "FaceDetectionRetinaFaceOrt",
      "path" : "Sources/FaceDetectionRetinaFaceOrt",
      "product_dependencies" : [
        "VerIDCommonTypes",
        "onnxruntime"
      ],
      "product_memberships" : [
        "FaceRecognitionArcFaceCloud",
        "FaceRecognitionArcFaceCore",
        "FaceDetectionRetinaFaceOrt"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/FaceDetectionRetinaFaceOrt/Resources/det_500m.onnx",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Errors.swift",
        "FaceDetectionRetinaFaceOrt.swift",
        "ManagedImageBuffer.swift",
        "Postprocessing.swift",
        "Preprocessing.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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 -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
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/Ver-ID-Common-Types-Apple.git
Fetching https://github.com/microsoft/onnxruntime-swift-package-manager.git
[1/1068] Fetching onnxruntime-swift-package-manager
[98/2318] Fetching onnxruntime-swift-package-manager, ver-id-common-types-apple
Fetched https://github.com/AppliedRecognition/Ver-ID-Common-Types-Apple.git from cache (0.99s)
[105/1068] Fetching onnxruntime-swift-package-manager
Fetching https://github.com/AliSoftware/OHHTTPStubs.git
Fetched https://github.com/microsoft/onnxruntime-swift-package-manager.git from cache (3.26s)
[1/7901] Fetching ohhttpstubs
Fetched https://github.com/AliSoftware/OHHTTPStubs.git from cache (0.88s)
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 (7.99s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs.git
Computed https://github.com/AliSoftware/OHHTTPStubs.git at 9.1.0 (1.10s)
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 (0.89s)
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/AliSoftware/OHHTTPStubs.git
Working copy of https://github.com/AliSoftware/OHHTTPStubs.git resolved at 9.1.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
[15954/19359053] Downloading https://download.onnxruntime.ai/pod-archive-onnxruntime-extensions-c-0.13.0.zip
[3201074/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 (3.65s)
Downloaded https://download.onnxruntime.ai/pod-archive-onnxruntime-c-1.20.0.zip (7.41s)
Building for debugging...
[0/30] Write sources
/host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/assert_arc_enabled.mm:4:37: error: static assertion failed: Objective-C ARC must be enabled.
    4 | static_assert(__has_feature(objc_arc), "Objective-C ARC must be enabled.");
      |                                     ^
<scratch space>:4:1: note: expanded from here
    4 | 0
      | ^
1 error generated.
[2/30] Compiling OnnxRuntimeBindings assert_arc_enabled.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/30] 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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/30] Compiling OnnxRuntimeBindings ort_session.mm
[2/30] 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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/30] Compiling OnnxRuntimeBindings ort_value.mm
[2/30] Compiling OnnxRuntimeBindings ort_env.mm
[2/30] Compiling OnnxRuntimeBindings cxx_utils.mm
[2/30] Write swift-version-24593BA9C3E375BF.txt
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...
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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/28] Compiling OnnxRuntimeBindings error_utils.mm
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.
[0/28] Compiling OnnxRuntimeBindings ort_xnnpack_execution_provider.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/28] Compiling OnnxRuntimeBindings ort_session.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/28] 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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/28] Compiling OnnxRuntimeBindings ort_env.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/28] 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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/28] Compiling OnnxRuntimeBindings ort_enums.mm
[0/28] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android