The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build MagicBell, reference main (8bd2e4), with Swift 6.1 for Wasm on 29 May 2025 19:33:54 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/magicbell/magicbell-swift.git
Reference: main
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/magicbell/magicbell-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8bd2e47 fix: readme carthage version
Cloned https://github.com/magicbell/magicbell-swift.git
Revision (git rev-parse @):
8bd2e4734259681c2733aec2e1d29abd2dba17e0
SUCCESS checkout https://github.com/magicbell/magicbell-swift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/magicbell/magicbell-swift.git
https://github.com/magicbell/magicbell-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "harmony-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mobilejazz/harmony-swift"
    },
    {
      "identity" : "ably-cocoa",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.27",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ably/ably-cocoa"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "12.0.0",
            "upper_bound" : "13.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble.git"
    }
  ],
  "manifest_display_name" : "MagicBell",
  "name" : "MagicBell",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "MagicBell",
      "targets" : [
        "MagicBell"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MagicBellTests",
      "module_type" : "SwiftTarget",
      "name" : "MagicBellTests",
      "path" : "Tests",
      "product_dependencies" : [
        "Nimble"
      ],
      "sources" : [
        "Common/Utils/BoolObjectMother.swift",
        "Common/Utils/IntMotherObject.swift",
        "Common/Utils/ResultUtils.swift",
        "Common/Utils/StringMotherObject.swift",
        "Features/Config/DeleteConfigMockInteractor.swift",
        "Features/Config/GetConfigMockInteractor.swift",
        "Features/Notification/NotificationMotherObject.swift",
        "Features/Notification/Utils/ContentObserverMock.swift",
        "Features/Notification/Utils/CountObserverMock.swift",
        "Features/NotificationPreferences/Data/NotificationPreferencesEntityTests.swift",
        "Features/Store/Mock/ActionNotificationMockInteractor.swift",
        "Features/Store/Mock/DeleteNotificationMockInteractor.swift",
        "Features/Store/Mock/FetchStorePageMockInteractor.swift",
        "Features/Store/Mother Object/StorePageMotherObject.swift",
        "Features/Store/NotificationStoreCombineTests.swift",
        "Features/Store/NotificationStoreRealTimeTests.swift",
        "Features/Store/NotificationStoreTests.swift",
        "Features/Store/NotificationValidatorTests.swift",
        "Features/Store/Utils/InitialNotificationStoreCounts.swift",
        "Features/StoreRealTime/Mock/StoreRealTimeMock.swift",
        "MagicBellTests.swift"
      ],
      "target_dependencies" : [
        "MagicBell"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MagicBell",
      "module_type" : "SwiftTarget",
      "name" : "MagicBell",
      "path" : "Source",
      "product_dependencies" : [
        "Harmony",
        "Ably"
      ],
      "product_memberships" : [
        "MagicBell"
      ],
      "sources" : [
        "Common/Environment/Environment.swift",
        "Common/Error/ErrorEntity.swift",
        "Common/Error/MagicBellError.swift",
        "Common/Error/MappingError.swift",
        "Common/Error/NetworkError.swift",
        "Common/Extension/CodingKey+JSON.swift",
        "Common/Extension/String+Data.swift",
        "Common/Logger/LogLevel.swift",
        "Common/Network/DataToDecodableMapper.swift",
        "Common/Network/EncodableToDataMapper.swift",
        "Common/Network/HttpClient.swift",
        "Common/Query/UserQuery.swift",
        "Features/APNSToken/APNSEnvironment.swift",
        "Features/APNSToken/APNSToken.swift",
        "Features/APNSToken/APNSTokenDirector.swift",
        "Features/APNSToken/APNSTokenProvider.swift",
        "Features/APNSToken/Data/APNSTokenNetworkDataSource.swift",
        "Features/APNSToken/Data/DeleteAPNSTokenQuery.swift",
        "Features/APNSToken/Data/RegisterAPNSTokenQuery.swift",
        "Features/APNSToken/Interactor/DeleteAPNSTokenInteractor.swift",
        "Features/APNSToken/Interactor/RegisterAPNSTokensInteractor.swift",
        "Features/Config/Config.swift",
        "Features/Config/ConfigProvider.swift",
        "Features/Config/Data/ConfigNetworkDataSource.swift",
        "Features/Config/Interactor/DeleteConfigInteractor.swift",
        "Features/Config/Interactor/GetConfigInteractor.swift",
        "Features/Notification/Data/ActionNotificationNetworkDataSource.swift",
        "Features/Notification/Data/NotificationNetworkDataSource.swift",
        "Features/Notification/Data/NotificationQuery.swift",
        "Features/Notification/Interactor/ActionNotificationInteractor.swift",
        "Features/Notification/Interactor/DeleteNotificationInteractor.swift",
        "Features/Notification/Interactor/GetNotificationInteractor.swift",
        "Features/Notification/Notification.swift",
        "Features/Notification/NotificationProvider.swift",
        "Features/NotificationPreferences/Data/NotificationPreferencesEntity.swift",
        "Features/NotificationPreferences/Data/NotificationPreferencesNetworkDataSource.swift",
        "Features/NotificationPreferences/Interactor/GetNotificationPreferencesInteractor.swift",
        "Features/NotificationPreferences/Interactor/UpdateNotificationPreferencesInteractor.swift",
        "Features/NotificationPreferences/NotificationPreferences.swift",
        "Features/NotificationPreferences/NotificationPreferencesDirector.swift",
        "Features/NotificationPreferences/NotificationPreferencesMapper.swift",
        "Features/NotificationPreferences/NotificationPreferencesProvider.swift",
        "Features/Store/Data/StoreContext+QueryItems.swift",
        "Features/Store/Data/StoreDataSource.swift",
        "Features/Store/Data/StoreQuery.swift",
        "Features/Store/Interactor/FetchStorePageInteractor.swift",
        "Features/Store/Interactor/GetStorePagesInteractor.swift",
        "Features/Store/NotificationStore.swift",
        "Features/Store/NotificationStoreCombine.swift",
        "Features/Store/NotificationStoreObserver.swift",
        "Features/Store/NotificationStorePublisher.swift",
        "Features/Store/NotificationValidator.swift",
        "Features/Store/StoreContext.swift",
        "Features/Store/StoreDirector.swift",
        "Features/Store/StorePage.swift",
        "Features/Store/StorePagePredicate.swift",
        "Features/Store/StorePredicate.swift",
        "Features/Store/StoreProvider.swift",
        "Features/StoreRealTime/AblyConnector.swift",
        "Features/StoreRealTime/AblyMessageProcessor.swift",
        "Features/StoreRealTime/StoreRealTime.swift",
        "Features/StoreRealTime/StoreRealTimeProvider.swift",
        "MagicBellClient.swift",
        "SDKProvider.swift",
        "User.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
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/Quick/Nimble.git
Fetching https://github.com/ably/ably-cocoa
Fetching https://github.com/mobilejazz/harmony-swift
[1/19584] Fetching nimble
[393/64128] Fetching nimble, ably-cocoa
[1872/76375] Fetching nimble, ably-cocoa, harmony-swift
Fetched https://github.com/ably/ably-cocoa from cache (8.30s)
Fetched https://github.com/Quick/Nimble.git from cache (8.31s)
Fetched https://github.com/mobilejazz/harmony-swift from cache (8.42s)
Computing version for https://github.com/mobilejazz/harmony-swift
Computed https://github.com/mobilejazz/harmony-swift at 2.0.2 (8.99s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 12.3.0 (0.55s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.24s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (4.34s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.21s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.82s)
Computing version for https://github.com/ably/ably-cocoa
Computed https://github.com/ably/ably-cocoa at 1.2.40 (0.87s)
Fetching https://github.com/rvi/msgpack-objective-C
Fetching https://github.com/ably/delta-codec-cocoa
[1/597] Fetching delta-codec-cocoa
[61/1103] Fetching delta-codec-cocoa, msgpack-objective-c
Fetched https://github.com/rvi/msgpack-objective-C from cache (0.24s)
Fetched https://github.com/ably/delta-codec-cocoa from cache (0.24s)
Computing version for https://github.com/ably/delta-codec-cocoa
Computed https://github.com/ably/delta-codec-cocoa at 1.3.3 (0.81s)
Computing version for https://github.com/rvi/msgpack-objective-C
Computed https://github.com/rvi/msgpack-objective-C at 0.4.0 (0.63s)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/mobilejazz/harmony-swift
Working copy of https://github.com/mobilejazz/harmony-swift resolved at 2.0.2
Creating working copy for https://github.com/ably/ably-cocoa
Working copy of https://github.com/ably/ably-cocoa resolved at 1.2.40
Creating working copy for https://github.com/ably/delta-codec-cocoa
Working copy of https://github.com/ably/delta-codec-cocoa resolved at 1.3.3
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 12.3.0
Creating working copy for https://github.com/rvi/msgpack-objective-C
Working copy of https://github.com/rvi/msgpack-objective-C resolved at 0.4.0
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Building for debugging...
[0/134] Copying PrivacyInfo.xcprivacy
[0/134] Write sources
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Ably.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/134] Compiling Ably resource_bundle_accessor.m
[3/134] Compiling NSRunLoop+ARTSRWebSocket.m
[3/134] Compiling ARTSRSIMDHelpers.m
[3/134] Compiling ARTSRRandom.m
[3/134] Compiling ARTSRMutex.m
[3/134] Compiling ARTSRURLUtilities.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Ably.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/134] Compiling NSURLRequest+ARTSRWebSocket.m
[3/134] 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...
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Ably.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/131] Compiling NSRunLoop+ARTSRWebSocket.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Ably.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/131] Compiling ARTSRRandom.m
[0/131] Compiling NSURLRequest+ARTSRWebSocket.m
[0/131] Compiling Ably resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Ably.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/131] Compiling ARTSRURLUtilities.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Ably.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/131] Compiling ARTSRSIMDHelpers.m
[0/131] Compiling ARTSRMutex.m
[0/131] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm