The Swift Package Index logo.Swift Package Index

Build Information

Failed to build UrgentMainQueueKit, reference main (971a8b), with Swift 6.1 for Linux on 13 Jul 2025 19:01:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kyle-Ye/UrgentMainQueueKit.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/Kyle-Ye/UrgentMainQueueKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         linux
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-1":/host -w "$PWD" 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:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-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-1":/host -w "$PWD" 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:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
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/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 linux