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 v3.0.0 (d96e60), with Swift 6.1 for Linux on 29 Apr 2025 15:12:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/magicbell/magicbell-swift.git
Reference: v3.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/magicbell/magicbell-swift
 * tag               v3.0.0     -> FETCH_HEAD
HEAD is now at d96e604 chore: version package (#43)
Cloned https://github.com/magicbell/magicbell-swift.git
Revision (git rev-parse @):
d96e604e912c309c501cc23f3c22bda27665777a
SUCCESS checkout https://github.com/magicbell/magicbell-swift.git at v3.0.0
========================================
Build
========================================
Selected platform:         linux
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-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/ably/ably-cocoa
Fetching https://github.com/mobilejazz/harmony-swift
Fetching https://github.com/Quick/Nimble.git
[1/19567] Fetching nimble
[1176/64034] Fetching nimble, ably-cocoa
[4076/76281] Fetching nimble, ably-cocoa, harmony-swift
Fetched https://github.com/ably/ably-cocoa from cache (3.70s)
[30368/31814] Fetching nimble, harmony-swift
Fetched https://github.com/Quick/Nimble.git from cache (7.38s)
Fetched https://github.com/mobilejazz/harmony-swift from cache (7.51s)
Computing version for https://github.com/mobilejazz/harmony-swift
Computed https://github.com/mobilejazz/harmony-swift at 2.0.2 (8.18s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 12.3.0 (0.74s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.26s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.99s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.26s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.89s)
Computing version for https://github.com/ably/ably-cocoa
Computed https://github.com/ably/ably-cocoa at 1.2.40 (0.68s)
Fetching https://github.com/rvi/msgpack-objective-C
Fetching https://github.com/ably/delta-codec-cocoa
[1/577] Fetching delta-codec-cocoa
[388/1083] Fetching delta-codec-cocoa, msgpack-objective-c
Fetched https://github.com/rvi/msgpack-objective-C from cache (0.28s)
Fetched https://github.com/ably/delta-codec-cocoa from cache (0.28s)
Computing version for https://github.com/ably/delta-codec-cocoa
Computed https://github.com/ably/delta-codec-cocoa at 1.3.3 (1.00s)
Computing version for https://github.com/rvi/msgpack-objective-C
Computed https://github.com/rvi/msgpack-objective-C at 0.4.0 (0.65s)
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/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
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/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
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/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/ably/ably-cocoa
Working copy of https://github.com/ably/ably-cocoa resolved at 1.2.40
Building for debugging...
[0/134] Copying PrivacyInfo.xcprivacy
[1/134] Write sources
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/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.
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/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 ARTSRSIMDHelpers.m
[3/134] Compiling NSRunLoop+ARTSRWebSocket.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/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] Compiling Ably resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/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 ARTSRURLUtilities.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ably.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ably.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/134] Compiling ARTSRRandom.m
[3/134] Compiling ARTSRMutex.m
[3/134] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/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.
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/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.
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/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 NSURLRequest+ARTSRWebSocket.m
[0/131] Compiling ARTSRURLUtilities.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/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 ARTSRSIMDHelpers.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/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 ARTSRMutex.m
[0/131] Compiling ARTSRRandom.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/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 ARTSRHash.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/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
[0/131] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux