Build Information
Failed to build Kinvey, reference master (deb36a), with Swift 6.1 for Wasm on 28 May 2025 04:47:47 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 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: wasm
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-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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.30s)
Fetching https://github.com/mxcl/PromiseKit.git
Fetching https://github.com/SwiftyBeaver/SwiftyBeaver.git
Fetching https://github.com/Kinvey/objective-c.git
Fetching https://github.com/tristanhimmelman/ObjectMapper.git
[41/4057] Fetching swiftybeaver
[1340/10394] Fetching swiftybeaver, objectmapper
[2228/62962] Fetching swiftybeaver, objectmapper, objective-c
[2355/80148] Fetching swiftybeaver, objectmapper, objective-c, promisekit
Fetched https://github.com/tristanhimmelman/ObjectMapper.git from cache (1.14s)
Fetched https://github.com/SwiftyBeaver/SwiftyBeaver.git from cache (1.16s)
[12870/69754] Fetching objective-c, promisekit
Fetching https://github.com/realm/realm-cocoa.git
Fetching https://github.com/kishikawakatsumi/KeychainAccess.git
Fetched https://github.com/mxcl/PromiseKit.git from cache (2.75s)
[24182/52568] Fetching objective-c
[39953/56954] Fetching objective-c, keychainaccess
[56955/188222] Fetching objective-c, keychainaccess, realm-cocoa
Fetched https://github.com/Kinvey/objective-c.git from cache (5.85s)
[41142/135654] Fetching keychainaccess, realm-cocoa
Fetched https://github.com/kishikawakatsumi/KeychainAccess.git from cache (16.40s)
Fetched https://github.com/realm/realm-cocoa.git from cache (16.65s)
Computing version for https://github.com/tristanhimmelman/ObjectMapper.git
Computed https://github.com/tristanhimmelman/ObjectMapper.git at 4.2.0 (20.19s)
Computing version for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Computed https://github.com/SwiftyBeaver/SwiftyBeaver.git at 1.9.5 (0.83s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess.git
Computed https://github.com/kishikawakatsumi/KeychainAccess.git at 4.2.2 (0.90s)
Computing version for https://github.com/mxcl/PromiseKit.git
Computed https://github.com/mxcl/PromiseKit.git at 6.15.3 (0.92s)
Computing version for https://github.com/realm/realm-cocoa.git
Computed https://github.com/realm/realm-cocoa.git at 10.15.1 (1.40s)
Fetching https://github.com/realm/realm-core
[1/252487] Fetching realm-core
Fetched https://github.com/realm/realm-core from cache (30.25s)
Computing version for https://github.com/realm/realm-core
Computed https://github.com/realm/realm-core at 11.4.1 (31.81s)
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 (3.18s)
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/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/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/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/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/realm/realm-core
Working copy of https://github.com/realm/realm-core resolved at 11.4.1
Building for debugging...
[0/287] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/NSError+RLMSync.m:19:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/NSError+RLMSync.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
19 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/287] Compiling NSError+RLMSync.m
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMUser.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMUser_Private.hpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMUser_Private.h:19:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/include/Realm/RLMUser.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
19 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/287] Compiling RLMUser.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
19 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/287] Compiling RLMAccessor.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMAPIKeyAuth.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMAPIKeyAuth.h:19:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/include/Realm/RLMProviderClient.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
19 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/287] Compiling RLMAPIKeyAuth.mm
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
19 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/287] Compiling RLMUtil.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMUserAPIKey.mm:19:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMUserAPIKey.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
19 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/287] Compiling RLMUserAPIKey.mm
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
19 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/287] Compiling RLMValue.mm
[2/287] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/285] 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.
[5/285] Compiling PNMultipartInputStream.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.
[5/285] Compiling PNRemovePushNotificationsRequest.m
[5/285] Compiling RLMValue.mm
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[5/285] Compiling RLMUtil.mm
[5/285] Compiling RLMUserAPIKey.mm
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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[5/285] Compiling PNRemoveAllPushNotificationsRequest.m
[5/285] Write swift-version-24593BA9C3E375BF.txt
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.
[5/285] Compiling PNEncryptedInputStream.m
BUILD FAILURE 6.1 wasm