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 (60da36), with Swift 6.0 for Linux on 2 May 2025 04:54:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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: 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 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 main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/google/GoogleUtilities.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/paulb777/ocmock.git
[1/8713] Fetching ocmock
Fetched https://github.com/paulb777/ocmock.git from cache (0.65s)
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/GoogleUtilities/SwizzlerTestHelpers/GULRuntimeDiff.m:15:
/host/spi-builder-workspace/GoogleUtilities/SwizzlerTestHelpers/GULRuntimeDiff.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/GoogleUtilities/SwizzlerTestHelpers/GULSwizzler+Unswizzle.m:15:
/host/spi-builder-workspace/GoogleUtilities/MethodSwizzler/Public/GoogleUtilities/GULSwizzler.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/39] Compiling GoogleUtilities-SwizzlerTestHelpers GULSwizzler+Unswizzle.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
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/39] Compiling GoogleUtilities-SwizzlerTestHelpers GULSwizzlingCache.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
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/39] Compiling GoogleUtilities-SwizzlerTestHelpers GULRuntimeSnapshot.m
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
   22 | #import <objc/objc.h>
      |         ^~~~~~~~~~~~~
1 error generated.
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
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/39] Compiling third-party-IsAppEncrypted IsAppEncrypted.m
[0/39] Compiling GoogleUtilities-SwizzlerTestHelpers GULRuntimeClassDiff.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
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/39] Compiling GoogleUtilities-SwizzlerTestHelpers GULRuntimeStateHelper.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
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/39] Compiling GoogleUtilities-SwizzlerTestHelpers GULRuntimeClassSnapshot.m
[0/39] Compiling GoogleUtilities-SwizzlerTestHelpers GULRuntimeDiff.m
BUILD FAILURE 6.0 linux