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 8.1.0 (60da36), with Swift 5.10 for Linux on 2 May 2025 19:10:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" 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.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/google/GoogleUtilities.git
Reference: 8.1.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/google/GoogleUtilities
 * tag               8.1.0      -> FETCH_HEAD
HEAD is now at 60da361 [Release] Add changelog and bump podspec bump following #220 (#222)
Cloned https://github.com/google/GoogleUtilities.git
Revision (git rev-parse @):
60da361632d0de02786f709bdc0c4df340f7613e
SUCCESS checkout https://github.com/google/GoogleUtilities.git at 8.1.0
========================================
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-2":/host -w "$PWD" 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:616ef225d0085997f26355ad9695b1159b91f6187a43f9ff135cb59d096bc97d
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.21s)
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/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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/39] Compiling GoogleUtilities-SwizzlerTestHelpers GULSwizzlingCache.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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/GoogleUtilities/SwizzlerTestHelpers/GULSwizzler+Unswizzle.m:15:9: fatal error: could not build module 'GoogleUtilities_MethodSwizzler'
#import "GoogleUtilities/MethodSwizzler/Public/GoogleUtilities/GULSwizzler.h"
 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
[0/39] Compiling GoogleUtilities-SwizzlerTestHelpers GULSwizzler+Unswizzle.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/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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/39] Compiling GoogleUtilities-SwizzlerTestHelpers GULRuntimeStateHelper.m
[0/39] Compiling GoogleUtilities-SwizzlerTestHelpers GULRuntimeClassDiff.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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/39] Compiling GoogleUtilities-SwizzlerTestHelpers GULRuntimeSnapshot.m
[0/39] Compiling GoogleUtilities-SwizzlerTestHelpers GULRuntimeClassSnapshot.m
BUILD FAILURE 5.10 linux