Build Information
Failed to build Kinvey, reference master (deb36a), with Swift 6.1 for Android on 28 May 2025 04:46:03 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kinvey/swift-sdk.git
Reference: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/Kinvey/swift-sdk.git
https://github.com/Kinvey/swift-sdk.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "realm-cocoa",
"requirement" : {
"exact" : [
"10.15.1"
]
},
"type" : "sourceControl",
"url" : "https://github.com/realm/realm-cocoa.git"
},
{
"identity" : "promisekit",
"requirement" : {
"exact" : [
"6.15.3"
]
},
"type" : "sourceControl",
"url" : "https://github.com/mxcl/PromiseKit.git"
},
{
"identity" : "keychainaccess",
"requirement" : {
"exact" : [
"4.2.2"
]
},
"type" : "sourceControl",
"url" : "https://github.com/kishikawakatsumi/KeychainAccess.git"
},
{
"identity" : "swiftybeaver",
"requirement" : {
"exact" : [
"1.9.5"
]
},
"type" : "sourceControl",
"url" : "https://github.com/SwiftyBeaver/SwiftyBeaver.git"
},
{
"identity" : "objectmapper",
"requirement" : {
"exact" : [
"4.2.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/tristanhimmelman/ObjectMapper.git"
},
{
"identity" : "objective-c",
"requirement" : {
"exact" : [
"4.16.2-with-spm-v0.0.1"
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kinvey/objective-c.git"
},
{
"identity" : "nspredicate-mongodb-adaptor",
"requirement" : {
"branch" : [
"master"
]
},
"type" : "sourceControl",
"url" : "https://github.com/tjboneman/NSPredicate-MongoDB-Adaptor.git"
}
],
"manifest_display_name" : "Kinvey",
"name" : "Kinvey",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "3.0"
}
],
"products" : [
{
"name" : "Kinvey",
"targets" : [
"Kinvey"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Kinvey",
"module_type" : "SwiftTarget",
"name" : "Kinvey",
"path" : "Sources/Kinvey",
"product_dependencies" : [
"Realm",
"RealmSwift",
"PromiseKit",
"KeychainAccess",
"SwiftyBeaver",
"ObjectMapper",
"PubNub",
"MongoDBPredicateAdaptor"
],
"product_memberships" : [
"Kinvey"
],
"sources" : [
"Acl.swift",
"AggregateOperation.swift",
"AuthSource.swift",
"BuilderType.swift",
"Cache.swift",
"CacheManager.swift",
"Client.swift",
"CollectionChange.swift",
"CountOperation.swift",
"Credential.swift",
"CustomEndpoint.swift",
"CustomEndpointParams.swift",
"Data.swift",
"DataStore.swift",
"Date.swift",
"DeviceInfo.swift",
"Endpoint.swift",
"Entity.swift",
"Error.swift",
"Executor.swift",
"File.swift",
"FileCache.swift",
"FileStore.swift",
"FindOperation.swift",
"Geolocation.swift",
"GetOperation.swift",
"HttpRequest.swift",
"HttpRequestFactory.swift",
"HttpResponse.swift",
"JSONParser.swift",
"JsonObject.swift",
"Keychain.swift",
"Kinvey.swift",
"KinveyDateTransform.swift",
"LocalRequest.swift",
"LocalResponse.swift",
"MIC.swift",
"Metadata.swift",
"Migration.swift",
"MultiRequest.swift",
"ObjCRuntime.swift",
"ObjectIdKind.swift",
"ObjectMapperJSONParser.swift",
"ObjectMapperSupport.swift",
"Operation.swift",
"Options.swift",
"PendingOperation.swift",
"Persistable.swift",
"PubNubRealtimeRouter.swift",
"PullOperation.swift",
"PurgeOperation.swift",
"Push.swift",
"PushOperation.swift",
"Query.swift",
"QueryCache.swift",
"ReadOperation.swift",
"ReadPolicy.swift",
"RealmCache.swift",
"RealmCascadeDeletable.swift",
"RealmCascadeDeleteExecutor.swift",
"RealmDynamicCache.swift",
"RealmFileCache.swift",
"RealmMapKitSupport.swift",
"RealmPendingOperation.swift",
"RealmPendingOperationReference.swift",
"RealmSupport.swift",
"RealmSync.swift",
"Realtime.swift",
"RemoveByIdOperation.swift",
"RemoveByQueryOperation.swift",
"RemoveOperation.swift",
"Request.swift",
"RequestFactory.swift",
"RequestType.swift",
"Response.swift",
"Result.swift",
"SaveMultiOperation.swift",
"SaveOperation.swift",
"StoreType.swift",
"String.swift",
"Sync.swift",
"SyncManager.swift",
"SyncOperation.swift",
"TTL.swift",
"TaskProgressRequest.swift",
"URLSessionTaskRequest.swift",
"User.swift",
"UserQuery.swift",
"ValidationStrategy.swift",
"WriteOperation.swift",
"WritePolicy.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
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.38s)
Fetching https://github.com/realm/realm-cocoa.git
Fetching https://github.com/mxcl/PromiseKit.git
Fetching https://github.com/kishikawakatsumi/KeychainAccess.git
Fetching https://github.com/tristanhimmelman/ObjectMapper.git
Fetching https://github.com/SwiftyBeaver/SwiftyBeaver.git
Fetching https://github.com/Kinvey/objective-c.git
[1/17186] Fetching promisekit
[2236/21572] Fetching promisekit, keychainaccess
[2851/25629] Fetching promisekit, keychainaccess, swiftybeaver
[3060/31966] Fetching promisekit, keychainaccess, swiftybeaver, objectmapper
[7754/84534] Fetching promisekit, keychainaccess, swiftybeaver, objectmapper, objective-c
[27115/215802] Fetching promisekit, keychainaccess, swiftybeaver, objectmapper, objective-c, realm-cocoa
Fetched https://github.com/tristanhimmelman/ObjectMapper.git from cache (6.36s)
Fetched https://github.com/SwiftyBeaver/SwiftyBeaver.git from cache (6.38s)
Fetched https://github.com/kishikawakatsumi/KeychainAccess.git from cache (6.42s)
Fetched https://github.com/mxcl/PromiseKit.git from cache (6.46s)
Fetched https://github.com/Kinvey/objective-c.git from cache (6.51s)
[77449/131268] Fetching realm-cocoa
Fetched https://github.com/realm/realm-cocoa.git from cache (20.63s)
Computing version for https://github.com/tristanhimmelman/ObjectMapper.git
Computed https://github.com/tristanhimmelman/ObjectMapper.git at 4.2.0 (21.63s)
Computing version for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Computed https://github.com/SwiftyBeaver/SwiftyBeaver.git at 1.9.5 (1.01s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess.git
Computed https://github.com/kishikawakatsumi/KeychainAccess.git at 4.2.2 (0.94s)
Computing version for https://github.com/mxcl/PromiseKit.git
Computed https://github.com/mxcl/PromiseKit.git at 6.15.3 (0.98s)
Computing version for https://github.com/realm/realm-cocoa.git
Computed https://github.com/realm/realm-cocoa.git at 10.15.1 (1.15s)
Fetching https://github.com/realm/realm-core
[1/252487] Fetching realm-core
Fetched https://github.com/realm/realm-core from cache (17.34s)
Computing version for https://github.com/realm/realm-core
Computed https://github.com/realm/realm-core at 11.4.1 (20.20s)
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 (2.00s)
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/mxcl/PromiseKit.git
Working copy of https://github.com/mxcl/PromiseKit.git resolved at 6.15.3
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/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/realm/realm-core
Working copy of https://github.com/realm/realm-core resolved at 11.4.1
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/SwiftyBeaver/SwiftyBeaver.git
Working copy of https://github.com/SwiftyBeaver/SwiftyBeaver.git resolved at 1.9.5
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
Building for debugging...
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMAnalytics.mm:57:9: fatal error: 'Foundation/Foundation.h' file not found
57 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/287] Compiling RLMAnalytics.mm
[0/287] Compiling RLMUtil.mm
[0/287] Compiling RLMValue.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
19 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/287] Compiling RLMArray.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
19 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/287] Compiling RLMBSON.mm
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
19 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/287] Compiling RLMApp.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMEmbeddedObject.mm:19:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMEmbeddedObject.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
19 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/287] Compiling RLMEmbeddedObject.mm
[0/287] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[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/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
1 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[7/287] Compiling PNMultipartInputStream.m
[7/287] Compiling PNBasePushNotificationsRequest.m
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
1 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[7/287] Compiling PNEncryptedInputStream.m
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
9 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[7/287] Compiling PNRemoveAllPushNotificationsRequest.m
[7/287] Compiling PNAddPushNotificationsRequest.m
[7/287] Compiling PNPublishRequest.m
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
9 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[7/287] Compiling PNRemovePushNotificationsRequest.m
[7/287] Compiling PNAuditPushNotificationsRequest.m
BUILD FAILURE 6.1 android