The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FaceRecognitionR300, reference main (3f530c), with Swift 6.1 for Linux on 3 Feb 2026 20:58:26 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: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-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:         linux
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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 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/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.37s)
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 (1.03s)
Fetching https://github.com/microsoft/onnxruntime-swift-package-manager.git
Fetching https://github.com/AppliedRecognition/Ver-ID-Common-Types-Apple.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 (2.22s)
Fetched https://github.com/microsoft/onnxruntime-swift-package-manager.git from cache (2.32s)
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.32s)
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.76s)
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/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/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/44218716] Downloading https://download.onnxruntime.ai/pod-archive-onnxruntime-c-1.20.0.zip
[516417/63577769] Downloading https://download.onnxruntime.ai/pod-archive-onnxruntime-c-1.20.0.zip, https://download.onnxruntime.ai/pod-archive-onnxruntime-extensions-c-0.13.0.zip
Downloaded https://download.onnxruntime.ai/pod-archive-onnxruntime-extensions-c-0.13.0.zip (3.18s)
Downloaded https://download.onnxruntime.ai/pod-archive-onnxruntime-c-1.20.0.zip (5.11s)
Building for debugging...
[0/21] 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.
[5/21] Compiling OnnxRuntimeBindings ort_xnnpack_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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[5/21] Compiling OnnxRuntimeBindings ort_enums.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[5/21] 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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[5/21] 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.
[5/21] Compiling OnnxRuntimeBindings ort_coreml_execution_provider.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[5/21] Compiling OnnxRuntimeBindings error_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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[5/21] Compiling OnnxRuntimeBindings ort_value.mm
[5/21] 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: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...
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/16] Compiling OnnxRuntimeBindings ort_xnnpack_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/16] Compiling OnnxRuntimeBindings ort_env.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/16] 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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/16] 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/16] 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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/16] Compiling OnnxRuntimeBindings ort_enums.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/16] Compiling OnnxRuntimeBindings ort_value.mm
[0/16] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux