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 GoogleUtilities, reference main (d8b685), with Swift 5.10 for Linux on 30 Sep 2025 16:23:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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-5.10-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/google/GoogleUtilities.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/google/GoogleUtilities
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d8b685c Bump rexml from 3.3.9 to 3.4.2 in the bundler group across 1 directory (#224)
Cloned https://github.com/google/GoogleUtilities.git
Revision (git rev-parse @):
d8b685c0a258c64298d92a73a3a393126406b23e
SUCCESS checkout https://github.com/google/GoogleUtilities.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/google/GoogleUtilities.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:876c9f54cbb08e857839f8acb28beadbc9bf56a8488855996222d9f683e93e2f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/paulb777/ocmock.git
[1/8713] Fetching ocmock
Fetched https://github.com/paulb777/ocmock.git from cache (1.31s)
Creating working copy for https://github.com/paulb777/ocmock.git
Working copy of https://github.com/paulb777/ocmock.git resolved at 173955e93e6ee6999a10729ab67e4b4efdd1db6d
warning: 'spi-builder-workspace': ignoring target 'objc-import-test' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'UtilitiesUnit' in package 'spi-builder-workspace'; C language in tests is not yet supported
Building for debugging...
In file included from /host/spi-builder-workspace/third_party/IsAppEncrypted/IsAppEncrypted.m:43:
/host/spi-builder-workspace/third_party/IsAppEncrypted/Public/IsAppEncrypted.h:22:9: fatal error: 'objc/objc.h' file not found
#import <objc/objc.h>
        ^~~~~~~~~~~~~
1 error generated.
[0/39] Compiling third-party-IsAppEncrypted IsAppEncrypted.m
In file included from /host/spi-builder-workspace/GoogleUtilities/SwizzlerTestHelpers/GULRuntimeDiff.m:15:
/host/spi-builder-workspace/GoogleUtilities/SwizzlerTestHelpers/GULRuntimeDiff.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/39] Compiling GoogleUtilities-SwizzlerTestHelpers GULRuntimeDiff.m
In file included from /host/spi-builder-workspace/GoogleUtilities/SwizzlerTestHelpers/GULRuntimeClassDiff.m:15:
/host/spi-builder-workspace/GoogleUtilities/SwizzlerTestHelpers/GULRuntimeClassDiff.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/39] Compiling GoogleUtilities-SwizzlerTestHelpers GULRuntimeClassDiff.m
While building module 'GoogleUtilities_MethodSwizzler' imported from /host/spi-builder-workspace/GoogleUtilities/SwizzlerTestHelpers/GULSwizzler+Unswizzle.m:15:
In file included from <module-includes>:1:
/host/spi-builder-workspace/GoogleUtilities/MethodSwizzler/Public/GoogleUtilities/GULOriginalIMPConvenienceMacros.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/39] Compiling GoogleUtilities-SwizzlerTestHelpers GULSwizzler+Unswizzle.m
In file included from /host/spi-builder-workspace/GoogleUtilities/SwizzlerTestHelpers/GULRuntimeClassSnapshot.m:15:
/host/spi-builder-workspace/GoogleUtilities/SwizzlerTestHelpers/GULRuntimeClassSnapshot.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/39] Compiling GoogleUtilities-SwizzlerTestHelpers GULRuntimeClassSnapshot.m
In file included from /host/spi-builder-workspace/GoogleUtilities/SwizzlerTestHelpers/GULRuntimeSnapshot.m:15:
/host/spi-builder-workspace/GoogleUtilities/SwizzlerTestHelpers/GULRuntimeSnapshot.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/39] Compiling GoogleUtilities-SwizzlerTestHelpers GULRuntimeSnapshot.m
In file included from /host/spi-builder-workspace/GoogleUtilities/SwizzlerTestHelpers/GULRuntimeStateHelper.m:15:
/host/spi-builder-workspace/GoogleUtilities/SwizzlerTestHelpers/GULRuntimeStateHelper.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/39] Compiling GoogleUtilities-SwizzlerTestHelpers GULRuntimeStateHelper.m
In file included from /host/spi-builder-workspace/GoogleUtilities/SwizzlerTestHelpers/GULSwizzlingCache.m:15:
/host/spi-builder-workspace/GoogleUtilities/SwizzlerTestHelpers/GULSwizzlingCache.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/39] Compiling GoogleUtilities-SwizzlerTestHelpers GULSwizzlingCache.m
BUILD FAILURE 5.10 linux