The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SF2LibAU, reference 0.0.2 (4f8ddc), with Swift 6.1 for Android on 28 Jun 2025 22:16:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bradhowes/SF2LibAU.git
Reference: 0.0.2
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/bradhowes/SF2LibAU
 * tag               0.0.2      -> FETCH_HEAD
HEAD is now at 4f8ddc8 Correct some call flows
Cloned https://github.com/bradhowes/SF2LibAU.git
Revision (git rev-parse @):
4f8ddc870a3e890e75e96c228e3cc3108eb022a9
SUCCESS checkout https://github.com/bradhowes/SF2LibAU.git at 0.0.2
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/bradhowes/SF2LibAU.git
https://github.com/bradhowes/SF2LibAU.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "cxx_language_standard" : "c++2b",
  "dependencies" : [
    {
      "identity" : "sf2lib",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.5.0",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/bradhowes/SF2Lib"
    }
  ],
  "manifest_display_name" : "SF2LibAU",
  "name" : "SF2LibAU",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "SF2LibAU",
      "targets" : [
        "SF2LibAU"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SF2LibAUTests",
      "module_type" : "SwiftTarget",
      "name" : "SF2LibAUTests",
      "path" : "Tests/SF2LibAUTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/SF2LibAUTests/Resources/FreeFont.sf2",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/SF2LibAUTests/Resources/RolandNicePiano.sf2",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Helpers.swift",
        "SF2LibAUTests.swift"
      ],
      "target_dependencies" : [
        "SF2LibAU"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SF2LibAU",
      "module_type" : "SwiftTarget",
      "name" : "SF2LibAU",
      "path" : "Sources/SF2LibAU",
      "product_dependencies" : [
        "Engine"
      ],
      "product_memberships" : [
        "SF2LibAU"
      ],
      "sources" : [
        "SF2LibAU.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/bradhowes/SF2Lib
[1/5966] Fetching sf2lib
Fetched https://github.com/bradhowes/SF2Lib from cache (2.15s)
Computing version for https://github.com/bradhowes/SF2Lib
Computed https://github.com/bradhowes/SF2Lib at 6.5.1 (2.73s)
Creating working copy for https://github.com/bradhowes/SF2Lib
Working copy of https://github.com/bradhowes/SF2Lib resolved at 6.5.1
Building for debugging...
[0/4] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/SF2Lib/Sources/Engine/FileInfo.mm:3:
/host/spi-builder-workspace/.build/checkouts/SF2Lib/Sources/Engine/include/Engine.hpp:10:10: fatal error: 'Foundation/Foundation.h' file not found
   10 | #include <Foundation/Foundation.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/4] Compiling Engine FileInfo.mm
In file included from /host/spi-builder-workspace/.build/checkouts/SF2Lib/Sources/Engine/Engine.mm:3:
/host/spi-builder-workspace/.build/checkouts/SF2Lib/Sources/Engine/include/Engine.hpp:10:10: fatal error: 'Foundation/Foundation.h' file not found
   10 | #include <Foundation/Foundation.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/4] Compiling Engine Engine.mm
[1/4] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
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/SF2Lib/Sources/Engine/FileInfo.mm:3:
/host/spi-builder-workspace/.build/checkouts/SF2Lib/Sources/Engine/include/Engine.hpp:10:10: fatal error: 'Foundation/Foundation.h' file not found
   10 | #include <Foundation/Foundation.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/3] Compiling Engine FileInfo.mm
In file included from /host/spi-builder-workspace/.build/checkouts/SF2Lib/Sources/Engine/Engine.mm:3:
/host/spi-builder-workspace/.build/checkouts/SF2Lib/Sources/Engine/include/Engine.hpp:10:10: fatal error: 'Foundation/Foundation.h' file not found
   10 | #include <Foundation/Foundation.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/3] Compiling Engine Engine.mm
[0/3] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android