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 UrgentMainQueueKit, reference 1.0.0 (971a8b), with Swift 6.1 for Android on 12 Jul 2025 21:11:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/Kyle-Ye/UrgentMainQueueKit.git
Reference: 1.0.0
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/Kyle-Ye/UrgentMainQueueKit
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 971a8bb Add SPI badge
Cloned https://github.com/Kyle-Ye/UrgentMainQueueKit.git
Revision (git rev-parse @):
971a8bbc594a93b2c148126b6fb4bc9ef1134690
SUCCESS checkout https://github.com/Kyle-Ye/UrgentMainQueueKit.git at 1.0.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Kyle-Ye/UrgentMainQueueKit.git
https://github.com/Kyle-Ye/UrgentMainQueueKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "UrgentMainQueueKit",
  "name" : "UrgentMainQueueKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "UrgentMainQueueKit",
      "targets" : [
        "UrgentMainQueueKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "UrgentMainQueueKitTests",
      "module_type" : "SwiftTarget",
      "name" : "UrgentMainQueueKitTests",
      "path" : "Tests/UrgentMainQueueKitTests",
      "sources" : [
        "UrgentMainQueueKitTests.swift"
      ],
      "target_dependencies" : [
        "UrgentMainQueueKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "UrgentMainQueueKit",
      "module_type" : "ClangTarget",
      "name" : "UrgentMainQueueKit",
      "path" : "Sources/UrgentMainQueueKit",
      "product_memberships" : [
        "UrgentMainQueueKit"
      ],
      "sources" : [
        "UMQ_ObserverHook.mm"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/UrgentMainQueueKit/UMQ_ObserverHook.mm:8:
/host/spi-builder-workspace/Sources/UrgentMainQueueKit/include/UMQ_ObserverHook.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
    8 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/1] Compiling UrgentMainQueueKit UMQ_ObserverHook.mm
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/Sources/UrgentMainQueueKit/UMQ_ObserverHook.mm:8:
/host/spi-builder-workspace/Sources/UrgentMainQueueKit/include/UMQ_ObserverHook.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
    8 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/1] Compiling UrgentMainQueueKit UMQ_ObserverHook.mm
BUILD FAILURE 6.1 android