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 Kinvey with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kinvey/swift-sdk.git
Reference: 6.0.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/Kinvey/swift-sdk
 * tag               6.0.0      -> FETCH_HEAD
HEAD is now at deb36a3 Merge pull request #387 from Kinvey/mapostol-fix-build
Cloned https://github.com/Kinvey/swift-sdk.git
Revision (git rev-parse @):
deb36a3022ca94afde595d568e193351ff8ce092
SUCCESS checkout https://github.com/Kinvey/swift-sdk.git at 6.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/Kinvey/swift-sdk.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/tjboneman/NSPredicate-MongoDB-Adaptor.git
[1/119] Fetching nspredicate-mongodb-adaptor
Fetched https://github.com/tjboneman/NSPredicate-MongoDB-Adaptor.git from cache (0.25s)
Fetching https://github.com/Kinvey/objective-c.git
Fetching https://github.com/SwiftyBeaver/SwiftyBeaver.git
Fetching https://github.com/kishikawakatsumi/KeychainAccess.git
Fetching https://github.com/tristanhimmelman/ObjectMapper.git
Fetching https://github.com/mxcl/PromiseKit.git
Fetching https://github.com/realm/realm-cocoa.git
[1/4368] Fetching keychainaccess
[700/8129] Fetching keychainaccess, swiftybeaver
[776/60697] Fetching keychainaccess, swiftybeaver, objective-c
[896/66955] Fetching keychainaccess, swiftybeaver, objective-c, objectmapper
[11373/83793] Fetching keychainaccess, swiftybeaver, objective-c, objectmapper, promisekit
Fetched https://github.com/kishikawakatsumi/KeychainAccess.git from cache (0.70s)
[27248/79425] Fetching swiftybeaver, objective-c, objectmapper, promisekit
[31290/208555] Fetching swiftybeaver, objective-c, objectmapper, promisekit, realm-cocoa
[31289/79425] Fetching swiftybeaver, objective-c, objectmapper, promisekit
[31458/208555] Fetching swiftybeaver, objective-c, objectmapper, promisekit, realm-cocoa
Fetched https://github.com/SwiftyBeaver/SwiftyBeaver.git from cache (2.83s)
Fetched https://github.com/Kinvey/objective-c.git from cache (2.88s)
[100574/152226] Fetching objectmapper, promisekit, realm-cocoa
Fetched https://github.com/tristanhimmelman/ObjectMapper.git from cache (10.95s)
Fetched https://github.com/mxcl/PromiseKit.git from cache (10.97s)
Fetched https://github.com/realm/realm-cocoa.git from cache (11.16s)
Computing version for https://github.com/Kinvey/objective-c.git
Computed https://github.com/Kinvey/objective-c.git at 4.16.2-with-spm-v0.0.1 (1.25s)
Computing version for https://github.com/tristanhimmelman/ObjectMapper.git
Computed https://github.com/tristanhimmelman/ObjectMapper.git at 4.2.0 (0.45s)
Computing version for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Computed https://github.com/SwiftyBeaver/SwiftyBeaver.git at 1.9.5 (0.44s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess.git
Computed https://github.com/kishikawakatsumi/KeychainAccess.git at 4.2.2 (0.45s)
Computing version for https://github.com/mxcl/PromiseKit.git
Computed https://github.com/mxcl/PromiseKit.git at 6.15.3 (0.48s)
Computing version for https://github.com/realm/realm-cocoa.git
Computed https://github.com/realm/realm-cocoa.git at 10.15.1 (0.88s)
Fetching https://github.com/realm/realm-core
[1/235048] Fetching realm-core
Fetched https://github.com/realm/realm-core from cache (15.21s)
Computing version for https://github.com/realm/realm-core
Computed https://github.com/realm/realm-core at 11.4.1 (0.90s)
Creating working copy for https://github.com/realm/realm-cocoa.git
Working copy of https://github.com/realm/realm-cocoa.git resolved at 10.15.1
Creating working copy for https://github.com/Kinvey/objective-c.git
Working copy of https://github.com/Kinvey/objective-c.git resolved at 4.16.2-with-spm-v0.0.1
Creating working copy for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Working copy of https://github.com/SwiftyBeaver/SwiftyBeaver.git resolved at 1.9.5
Creating working copy for https://github.com/tjboneman/NSPredicate-MongoDB-Adaptor.git
Working copy of https://github.com/tjboneman/NSPredicate-MongoDB-Adaptor.git resolved at master (fce0cd0)
Creating working copy for https://github.com/tristanhimmelman/ObjectMapper.git
Working copy of https://github.com/tristanhimmelman/ObjectMapper.git resolved at 4.2.0
Creating working copy for https://github.com/mxcl/PromiseKit.git
Working copy of https://github.com/mxcl/PromiseKit.git resolved at 6.15.3
Creating working copy for https://github.com/kishikawakatsumi/KeychainAccess.git
Working copy of https://github.com/kishikawakatsumi/KeychainAccess.git resolved at 4.2.2
Creating working copy for https://github.com/realm/realm-core
Working copy of https://github.com/realm/realm-core resolved at 11.4.1
Building for debugging...
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMAnalytics.mm:57:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/287] Compiling RLMAnalytics.mm
[0/287] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMApp.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMApp_Private.hpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/include/Realm/RLMApp_Private.h:19:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/include/Realm/RLMApp.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/287] Compiling RLMApp.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMArray.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMArray_Private.hpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMArray_Private.h:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/include/Realm/RLMArray.h:19:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/include/Realm/RLMCollection.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/287] Compiling RLMArray.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMClassInfo.mm:19:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMClassInfo.hpp:19:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/287] Compiling RLMClassInfo.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMCollection.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMCollection_Private.hpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/include/Realm/RLMCollection_Private.h:19:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/include/Realm/RLMCollection.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/287] Compiling RLMCollection.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMBSON.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMBSON_Private.hpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMBSON.h:19:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/include/Realm/RLMObjectId.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/287] Compiling RLMBSON.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMAccessor.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMAccessor.hpp:19:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMAccessor.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/287] Compiling RLMAccessor.mm
[0/1] Planning build
Building for debugging...
[0/287] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/objective-c/Sources/PubNub/Network/Requests/Push Notifications/PNRemoveAllPushNotificationsRequest.m:7:
In file included from /host/spi-builder-workspace/.build/checkouts/objective-c/Sources/PubNub/Network/Requests/Push Notifications/PNRemoveAllPushNotificationsRequest.h:1:
In file included from /host/spi-builder-workspace/.build/checkouts/objective-c/Sources/PubNub/Network/Requests/Push Notifications/PNBasePushNotificationsRequest.h:1:
/host/spi-builder-workspace/.build/checkouts/objective-c/Sources/PubNub/include/PNStructures.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/287] Compiling PNRemoveAllPushNotificationsRequest.m
In file included from /host/spi-builder-workspace/.build/checkouts/objective-c/Sources/PubNub/Network/Requests/Push Notifications/PNBasePushNotificationsRequest.m:7:
In file included from /host/spi-builder-workspace/.build/checkouts/objective-c/Sources/PubNub/Network/Requests/Push Notifications/PNBasePushNotificationsRequest.h:1:
/host/spi-builder-workspace/.build/checkouts/objective-c/Sources/PubNub/include/PNStructures.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/objective-c/Sources/PubNub/Network/Requests/Push Notifications/PNRemovePushNotificationsRequest.m:7:
In file included from /host/spi-builder-workspace/.build/checkouts/objective-c/Sources/PubNub/Network/Requests/Push Notifications/PNRemovePushNotificationsRequest.h:1:
In file included from /host/spi-builder-workspace/.build/checkouts/objective-c/Sources/PubNub/Network/Requests/Push Notifications/PNBasePushNotificationsRequest.h:1:
/host/spi-builder-workspace/.build/checkouts/objective-c/Sources/PubNub/include/PNStructures.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/287] Compiling PNRemovePushNotificationsRequest.m
[3/287] Compiling PNBasePushNotificationsRequest.m
In file included from /host/spi-builder-workspace/.build/checkouts/objective-c/Sources/PubNub/Network/Streams/PNMultipartInputStream.m:1:
/host/spi-builder-workspace/.build/checkouts/objective-c/Sources/PubNub/Network/Streams/PNMultipartInputStream.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1[3/287] Compiling PNMultipartInputStream.m
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMValue.mm:19:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMValue.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMUtil.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMUtil.hpp:19:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/include/Realm/RLMConstants.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/287] Compiling RLMValue.mm
[3/287] Compiling RLMUtil.mm
In file included from /host/spi-builder-workspace/.build/checkouts/objective-c/Sources/PubNub/Network/Streams/PNEncryptedInputStream.m:7:
/host/spi-builder-workspace/.build/checkouts/objective-c/Sources/PubNub/Network/Streams/PNEncryptedInputStream.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/287] Compiling PNEncryptedInputStream.m
[3/287] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux

Build Machine: Linux 2