The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GoogleUtilities with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" 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.36.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 73bc572 CI fixes now that default runners can be arm64 (#151)
Cloned https://github.com/google/GoogleUtilities.git
Revision (git rev-parse @):
73bc572f3483b868b8666252549736c4d5a4e443
SUCCESS checkout https://github.com/google/GoogleUtilities.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/google/GoogleUtilities.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/erikdoe/ocmock.git
[1/10809] Fetching ocmock
Fetched https://github.com/erikdoe/ocmock.git from cache (0.94s)
Fetching https://github.com/google/promises.git
[1/2396] Fetching promises
Fetched https://github.com/google/promises.git from cache (0.34s)
Computing version for https://github.com/google/promises.git
Computed https://github.com/google/promises.git at 2.4.0 (0.45s)
Creating working copy for https://github.com/google/promises.git
Working copy of https://github.com/google/promises.git resolved at 2.4.0
Creating working copy for https://github.com/erikdoe/ocmock.git
Working copy of https://github.com/erikdoe/ocmock.git resolved at c5eeaa6dde7c308a5ce48ae4d4530462dd3a1110
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/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/34] Compiling GoogleUtilities-SwizzlerTestHelpers GULRuntimeSnapshot.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/34] Compiling GoogleUtilities-SwizzlerTestHelpers GULRuntimeDiff.m
[0/34] Compiling third-party-IsAppEncrypted IsAppEncrypted.m
[0/34] Compiling GoogleUtilities-SwizzlerTestHelpers GULRuntimeClassDiff.m
In file included from [0/34] Compiling GoogleUtilities-SwizzlerTestHelpers GULRuntimeClassSnapshot.m
[0/34] Compiling GoogleUtilities-SwizzlerTestHelpers GULProxy.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/34] Compiling GoogleUtilities-SwizzlerTestHelpers GULRuntimeStateHelper.m
[0/34] Write swift-version-24593BA9C3E375BF.txt
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
[0/1] Planning build
Building for debugging...
[0/34] Write sources
[0/34] Copying PrivacyInfo.xcprivacy
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.
[2/34] Compiling GoogleUtilities-SwizzlerTestHelpers GULSwizzlingCache.m
[2/34] Compiling GoogleUtilities-SwizzlerTestHelpers GULRuntimeClassSnapshot.m
[2/34] Compiling GoogleUtilities-SwizzlerTestHelpers GULRuntimeDiff.m
[2/34] 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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/34] Compiling GoogleUtilities-SwizzlerTestHelpers GULRuntimeStateHelper.m
[2/34] Compiling GoogleUtilities-SwizzlerTestHelpers GULSwizzler+Unswizzle.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
#import <objc/objc.h>
        ^~~~~~~~~~~~~
1 error generated.
[2/34] Compiling third-party-IsAppEncrypted IsAppEncrypted.m
[2/34] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux

Build Machine: Linux 2