The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FaceRecognitionArcFace, reference main (c93222), with Swift 6.1 for Linux on 3 Feb 2026 01:50:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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-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:         linux
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-4606859-2":/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:8e1c3aab9de7fa4f6e33977b6a4cee007e876da3e605dda0be6b9b9bf86aa951
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/microsoft/onnxruntime-swift-package-manager.git
Fetching https://github.com/AliSoftware/OHHTTPStubs.git
[1/1250] Fetching ver-id-common-types-apple
[789/2318] Fetching ver-id-common-types-apple, onnxruntime-swift-package-manager
[1336/10219] Fetching ver-id-common-types-apple, onnxruntime-swift-package-manager, ohhttpstubs
Fetched https://github.com/AliSoftware/OHHTTPStubs.git from cache (0.54s)
[1355/2318] Fetching ver-id-common-types-apple, onnxruntime-swift-package-manager
Fetched https://github.com/AppliedRecognition/Ver-ID-Common-Types-Apple.git from cache (2.04s)
Fetched https://github.com/microsoft/onnxruntime-swift-package-manager.git from cache (2.15s)
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 (5.42s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs.git
Computed https://github.com/AliSoftware/OHHTTPStubs.git at 9.1.0 (1.03s)
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.51s)
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
Creating working copy for https://github.com/AliSoftware/OHHTTPStubs.git
Working copy of https://github.com/AliSoftware/OHHTTPStubs.git resolved at 9.1.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
[8879680/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.27s)
Downloaded https://download.onnxruntime.ai/pod-archive-onnxruntime-c-1.20.0.zip (7.62s)
Building for debugging...
[0/30] Write sources
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.
[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_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.
[2/30] Compiling OnnxRuntimeBindings ort_coreml_execution_provider.mm
In file included from /host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/cxx_utils.mm:4:
/host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/cxx_utils.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
    4 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/30] Compiling OnnxRuntimeBindings cxx_utils.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
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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/30] 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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/30] Compiling OnnxRuntimeBindings ort_session.mm
/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
[2/30] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:8e1c3aab9de7fa4f6e33977b6a4cee007e876da3e605dda0be6b9b9bf86aa951
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/29] Copying subject2-01-aligned.png-template.json
[0/28] Copying subject1-02.json
[0/28] Copying subject2-01.json
[3/28] Copying subject2-01.jpg
[4/28] Copying subject1-02.jpg
[4/28] Copying subject1-02-aligned.png-template.json
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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[6/28] 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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[6/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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[6/28] Compiling OnnxRuntimeBindings ort_env.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[6/28] Compiling OnnxRuntimeBindings ort_session.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[6/28] 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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[6/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.
[6/28] Compiling OnnxRuntimeBindings ort_xnnpack_execution_provider.mm
[6/28] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux