The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Kinvey, reference 6.0.0 (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-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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:         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-1":/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.32s)
Fetching https://github.com/tristanhimmelman/ObjectMapper.git
Fetching https://github.com/SwiftyBeaver/SwiftyBeaver.git
Fetching https://github.com/Kinvey/objective-c.git
Fetching https://github.com/mxcl/PromiseKit.git
Fetching https://github.com/kishikawakatsumi/KeychainAccess.git
Fetching https://github.com/realm/realm-cocoa.git
[1/4057] Fetching swiftybeaver
[894/10394] Fetching swiftybeaver, objectmapper
[2798/62962] Fetching swiftybeaver, objectmapper, objective-c
[2799/67348] Fetching swiftybeaver, objectmapper, objective-c, keychainaccess
[6976/84534] Fetching swiftybeaver, objectmapper, objective-c, keychainaccess, promisekit
Fetched https://github.com/SwiftyBeaver/SwiftyBeaver.git from cache (1.22s)
[19684/80477] Fetching objectmapper, objective-c, keychainaccess, promisekit
Fetched https://github.com/tristanhimmelman/ObjectMapper.git from cache (1.26s)
[14044/74140] Fetching objective-c, keychainaccess, promisekit
[19233/205408] Fetching objective-c, keychainaccess, promisekit, realm-cocoa
Fetched https://github.com/Kinvey/objective-c.git from cache (6.14s)
[112147/152840] Fetching keychainaccess, promisekit, realm-cocoa
Fetched https://github.com/kishikawakatsumi/KeychainAccess.git from cache (17.30s)
Fetched https://github.com/mxcl/PromiseKit.git from cache (17.33s)
Fetched https://github.com/realm/realm-cocoa.git from cache (17.60s)
Computing version for https://github.com/tristanhimmelman/ObjectMapper.git
Computed https://github.com/tristanhimmelman/ObjectMapper.git at 4.2.0 (18.60s)
Computing version for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Computed https://github.com/SwiftyBeaver/SwiftyBeaver.git at 1.9.5 (0.79s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess.git
Computed https://github.com/kishikawakatsumi/KeychainAccess.git at 4.2.2 (0.85s)
Computing version for https://github.com/mxcl/PromiseKit.git
Computed https://github.com/mxcl/PromiseKit.git at 6.15.3 (0.89s)
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 (30.06s)
Computing version for https://github.com/realm/realm-core
Computed https://github.com/realm/realm-core at 11.4.1 (31.58s)
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.32s)
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/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
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/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/tristanhimmelman/ObjectMapper.git
Working copy of https://github.com/tristanhimmelman/ObjectMapper.git resolved at 4.2.0
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
[2/287] Compiling RLMValue.mm
/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.
[2/287] Compiling RLMAnalytics.mm
[2/287] Compiling RLMDecimal128.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 [2/287] Compiling RLMApp.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
[2/287] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
[5/285] Compiling PNBasePushNotificationsRequest.m
[5/285] Compiling PNRemovePushNotificationsRequest.m
[5/285] Compiling PNAddPushNotificationsRequest.m
[5/285] Compiling PNAuditPushNotificationsRequest.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.
[5/285] Compiling PNEncryptedInputStream.m
[5/285] Compiling PNRemoveAllPushNotificationsRequest.m
In file included from /host/spi-builder-workspace/.build/checkouts/objective-c/Sources/PubNub/Network/Requests/Publish/PNPublishRequest.m:7:
In file included from /host/spi-builder-workspace/.build/checkouts/objective-c/Sources/PubNub/Network/Requests/Publish/PNBasePublishRequest+Private.h:1:
In file included from /host/spi-builder-workspace/.build/checkouts/objective-c/Sources/PubNub/Network/Requests/Publish/PNBasePublishRequest.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 PNPublishRequest.m
BUILD FAILURE 6.1 wasm