The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Kinvey, reference master (deb36a), with Swift 6.2 for Wasm on 19 Jun 2025 08:54:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
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.2
Building package at path:  $PWD
https://github.com/Kinvey/swift-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-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.24s)
Fetching https://github.com/SwiftyBeaver/SwiftyBeaver.git
Fetching https://github.com/mxcl/PromiseKit.git
Fetching https://github.com/tristanhimmelman/ObjectMapper.git
Fetching https://github.com/Kinvey/objective-c.git
Fetching https://github.com/kishikawakatsumi/KeychainAccess.git
Fetching https://github.com/realm/realm-cocoa.git
[1/6337] Fetching objectmapper
[5768/10723] Fetching objectmapper, keychainaccess
[6777/14780] Fetching objectmapper, keychainaccess, swiftybeaver
[7243/31966] Fetching objectmapper, keychainaccess, swiftybeaver, promisekit
[9569/84534] Fetching objectmapper, keychainaccess, swiftybeaver, promisekit, objective-c
Fetched https://github.com/kishikawakatsumi/KeychainAccess.git from cache (1.01s)
[25499/80148] Fetching objectmapper, swiftybeaver, promisekit, objective-c
[36710/211507] Fetching objectmapper, swiftybeaver, promisekit, objective-c, realm-cocoa
Fetched https://github.com/tristanhimmelman/ObjectMapper.git from cache (6.50s)
Fetched https://github.com/SwiftyBeaver/SwiftyBeaver.git from cache (6.52s)
[138061/201113] Fetching promisekit, objective-c, realm-cocoa
Fetched https://github.com/mxcl/PromiseKit.git from cache (6.61s)
Fetched https://github.com/Kinvey/objective-c.git from cache (6.70s)
[73562/131359] Fetching realm-cocoa
Fetched https://github.com/realm/realm-cocoa.git from cache (25.05s)
Computing version for https://github.com/tristanhimmelman/ObjectMapper.git
Computed https://github.com/tristanhimmelman/ObjectMapper.git at 4.2.0 (25.92s)
Computing version for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Computed https://github.com/SwiftyBeaver/SwiftyBeaver.git at 1.9.5 (0.92s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess.git
Computed https://github.com/kishikawakatsumi/KeychainAccess.git at 4.2.2 (0.80s)
Computing version for https://github.com/mxcl/PromiseKit.git
Computed https://github.com/mxcl/PromiseKit.git at 6.15.3 (3.57s)
Computing version for https://github.com/realm/realm-cocoa.git
Computed https://github.com/realm/realm-cocoa.git at 10.15.1 (2.58s)
Fetching https://github.com/realm/realm-core
[1/252487] Fetching realm-core
Fetched https://github.com/realm/realm-core from cache (33.60s)
Computing version for https://github.com/realm/realm-core
Computed https://github.com/realm/realm-core at 11.4.1 (35.22s)
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 (4.59s)
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/mxcl/PromiseKit.git
Working copy of https://github.com/mxcl/PromiseKit.git resolved at 6.15.3
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/tristanhimmelman/ObjectMapper.git
Working copy of https://github.com/tristanhimmelman/ObjectMapper.git resolved at 4.2.0
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/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
Creating working copy for https://github.com/kishikawakatsumi/KeychainAccess.git
Working copy of https://github.com/kishikawakatsumi/KeychainAccess.git resolved at 4.2.2
Building for debugging...
[0/287] Write sources
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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/287] Compiling RLMValue.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/287] Compiling RLMEmbeddedObject.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/RLMEmailPasswordAuth.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMEmailPasswordAuth.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 RLMEmailPasswordAuth.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMFindOneAndModifyOptions.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMFindOneAndModifyOptions_Private.hpp:19:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/include/Realm/RLMFindOneAndModifyOptions.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
   19 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/287] Compiling RLMFindOneAndModifyOptions.mm
[2/287] Write swift-version-24593BA9C3E375BF.txt
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/RLMDictionary.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMDictionary_Private.hpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMDictionary_Private.h:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/include/Realm/RLMDictionary.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/287] Compiling RLMDictionary.mm
BUILD FAILURE 6.2 wasm