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 Linux on 29 Apr 2025 15:12:20 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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: 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:         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-1":/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/Quick/Nimble.git
Fetching https://github.com/mobilejazz/harmony-swift
Fetching https://github.com/ably/ably-cocoa
[1/12247] Fetching harmony-swift
[736/31814] Fetching harmony-swift, nimble
[8764/76281] Fetching harmony-swift, nimble, ably-cocoa
Fetched https://github.com/ably/ably-cocoa from cache (3.25s)
[30010/31814] Fetching harmony-swift, nimble
Fetched https://github.com/Quick/Nimble.git from cache (7.90s)
Fetched https://github.com/mobilejazz/harmony-swift from cache (8.02s)
Computing version for https://github.com/mobilejazz/harmony-swift
Computed https://github.com/mobilejazz/harmony-swift at 2.0.2 (8.73s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 12.3.0 (2.00s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.37s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (1.01s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (8.52s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (9.29s)
Computing version for https://github.com/ably/ably-cocoa
Computed https://github.com/ably/ably-cocoa at 1.2.40 (0.86s)
Fetching https://github.com/rvi/msgpack-objective-C
Fetching https://github.com/ably/delta-codec-cocoa
[1/577] Fetching delta-codec-cocoa
[348/1083] Fetching delta-codec-cocoa, msgpack-objective-c
Fetched https://github.com/ably/delta-codec-cocoa from cache (0.43s)
Fetched https://github.com/rvi/msgpack-objective-C from cache (0.44s)
Computing version for https://github.com/ably/delta-codec-cocoa
Computed https://github.com/ably/delta-codec-cocoa at 1.3.3 (1.37s)
Computing version for https://github.com/rvi/msgpack-objective-C
Computed https://github.com/rvi/msgpack-objective-C at 0.4.0 (0.85s)
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/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/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.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/mobilejazz/harmony-swift
Working copy of https://github.com/mobilejazz/harmony-swift resolved at 2.0.2
Building for debugging...
[0/134] Write sources
[0/134] Copying PrivacyInfo.xcprivacy
[0/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.
[3/134] 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.
[3/134] Compiling NSURLRequest+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 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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/134] 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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/134] Compiling ARTSRMutex.m
[3/134] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.
[0/131] Compiling NSURLRequest+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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/131] 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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/131] Compiling ARTSRMutex.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/131] 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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/131] Compiling ARTSRSIMDHelpers.m
[0/131] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux