The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build GoogleUtilities, reference main (c97127), with Swift 5.9 for Linux on 29 Oct 2024 01:07:07 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.55.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 c97127f Bump rexml from 3.3.6 to 3.3.9 in the bundler group (#214)
Cloned https://github.com/google/GoogleUtilities.git
Revision (git rev-parse @):
c97127f6cfcf6a86992fd6a99a187fa8f37a82c8
SUCCESS checkout https://github.com/google/GoogleUtilities.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/google/GoogleUtilities.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:5a47d9d39a5702cbfa0ba55458353b9ccb6eb7cde0581792bc757a518ca63386
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/paulb777/ocmock.git
[1/8713] Fetching ocmock
Fetched https://github.com/paulb777/ocmock.git (0.96s)
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/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
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/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
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
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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[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
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
BUILD FAILURE 5.9 linux