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 blue-triangle, reference 3.14.1 (efd6ba), with Swift 6.1 for Android on 6 Jun 2025 16:14:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/blue-triangle-tech/btt-swift-sdk.git
Reference: 3.14.1
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/blue-triangle-tech/btt-swift-sdk
 * tag               3.14.1     -> FETCH_HEAD
HEAD is now at efd6bab Hotfix/custom variable exclude 20 (#124)
Cloned https://github.com/blue-triangle-tech/btt-swift-sdk.git
Revision (git rev-parse @):
efd6babe0c4e3425dc1466886b1d302b255ca967
SUCCESS checkout https://github.com/blue-triangle-tech/btt-swift-sdk.git at 3.14.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/blue-triangle-tech/btt-swift-sdk.git
https://github.com/blue-triangle-tech/btt-swift-sdk.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "blue-triangle",
  "name" : "blue-triangle",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "BlueTriangle",
      "targets" : [
        "BlueTriangle"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ObjcCompatibilityTests",
      "module_type" : "ClangTarget",
      "name" : "ObjcCompatibilityTests",
      "path" : "Tests/ObjcCompatibilityTests",
      "sources" : [
        "ObjcCompatibilityTests.m"
      ],
      "target_dependencies" : [
        "BlueTriangle"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BlueTriangleTests",
      "module_type" : "SwiftTarget",
      "name" : "BlueTriangleTests",
      "path" : "Tests/BlueTriangleTests",
      "sources" : [
        "AnyCodableTests.swift",
        "App/CollectionViewController.swift",
        "App/Extensions/UIColor+Utils.swift",
        "App/ImageCell.swift",
        "App/Models/Album.swift",
        "App/Models/Photo.swift",
        "App/Models/SingleSection.swift",
        "App/Models/ViewState.swift",
        "App/NetworkClientMock.swift",
        "BTTConfigurationFetcherTests.swift",
        "BTTConfigurationRepoTests.swift",
        "BTTConfigurationUpdaterTests.swift",
        "BTTimerTests.swift",
        "BlueTriangleTests.swift",
        "CaptureRateProbabilityTest.swift",
        "CaptureTimerManagerTests.swift",
        "ContentTypeTests.swift",
        "CrashReportManagerTests.swift",
        "DeviceTests.swift",
        "InitiatorTypeTests.swift",
        "Mocks/CaptureTimerManagerMock.swift",
        "Mocks/CapturedRequestCollectorMock.swift",
        "Mocks/CrashReportPersistenceMock.swift",
        "Mocks/LoggerMock.swift",
        "Mocks/Mock.swift",
        "Mocks/MockBTTConfigurationFetcher.swift",
        "Mocks/MockBTTConfigurationRepo.swift",
        "Mocks/MockRemoteConfigURL.swift",
        "Mocks/PerformanceMonitorMock.swift",
        "Mocks/ResourceUsageMock.swift",
        "Mocks/SystemLoggerMock.swift",
        "Mocks/URLProtocolMock.swift",
        "Mocks/UploaderMock.swift",
        "NetworkCaptureDelegateTests.swift",
        "PersistenceTests.swift",
        "RequestCacheTests.swift",
        "RequestCollectionTests.swift",
        "RequestCollectorTests.swift",
        "ResourceUsageTests.swift",
        "TimerRequestBuilderTests.swift",
        "UploaderTests.swift",
        "UtilityTests.swift"
      ],
      "target_dependencies" : [
        "BlueTriangle"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BlueTriangle",
      "module_type" : "SwiftTarget",
      "name" : "BlueTriangle",
      "path" : "Sources/BlueTriangle",
      "product_memberships" : [
        "BlueTriangle"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/BlueTriangle/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AppEventObserver.swift",
        "BTLogger.swift",
        "BTSignalCrashReporter.swift",
        "BTTimer.swift",
        "BlueTriangle.swift",
        "BlueTriangleConfiguration.swift",
        "ClaritySupport/ClaritySessionConnector.swift",
        "Constants.swift",
        "CrashReportManager.swift",
        "CrashReportPersistence.swift",
        "Device.swift",
        "DisableModeSessionManager.swift",
        "DynamicConfig/BTTConfigurationFetcher.swift",
        "DynamicConfig/BTTConfigurationRepo.swift",
        "DynamicConfig/BTTConfigurationUpdater.swift",
        "DynamicConfig/BTTRemoteConfig.swift",
        "DynamicConfig/BTTSavedRemoteConfig.swift",
        "DynamicConfig/BTTStoredConfigSyncer.swift",
        "DynamicConfig/RemoteConfigAckReporter.swift",
        "DynamicConfig/SessionStore.swift",
        "Extensions/Array+Vitals.swift",
        "Extensions/Bool+Utils.swift",
        "Extensions/Bundle+Utils.swift",
        "Extensions/Data+Utils.swift",
        "Extensions/Date+Utils.swift",
        "Extensions/HTTPURLResponse+ContentType.swift",
        "Extensions/JSONDecoder+Utils.swift",
        "Extensions/NSException+Utils.swift",
        "Extensions/NSLocking+Utils.swift",
        "Extensions/NSNumber+Utils.swift",
        "Extensions/NWPathMonitor+Combine.swift",
        "Extensions/NotificationName+Platform.swift",
        "Extensions/OperatingSystemVersion+Utils.swift",
        "Extensions/Publisher+Retry.swift",
        "Extensions/Task+Utils.swift",
        "Extensions/TimeInterval+Utils.swift",
        "Extensions/URL+ExpressibleByStringLiteral.swift",
        "Extensions/URLSession+NetworkCapture.swift",
        "Extensions/URLSession+Networking.swift",
        "Extensions/URLSession+Publisher.swift",
        "Extensions/UserDefault+Utils.swift",
        "Identifier.swift",
        "InternalTimer.swift",
        "MetricKit/CrashReportResponse.swift",
        "MetricKit/CrashSignal.swift",
        "MetricKit/DignosticWatchDog.swift",
        "Millisecond.swift",
        "Models/AnyCodable.swift",
        "Models/CapturedRequest.swift",
        "Models/CrashReport.swift",
        "Models/CustomCategories.swift",
        "Models/CustomNumbers.swift",
        "Models/CustomVariables.swift",
        "Models/ErrorReport.swift",
        "Models/NativeAppProperties.swift",
        "Models/Page.swift",
        "Models/PageTimeInterval.swift",
        "Models/PerformanceReport.swift",
        "Models/PurchaseConfirmation.swift",
        "Models/ResourceUsageMeasurement.swift",
        "Models/Session.swift",
        "Models/TimerRequest.swift",
        "NetworkCapture/BTTimerNetStateAccumulator.swift",
        "NetworkCapture/CaptureTimerManager.swift",
        "NetworkCapture/CapturedRequestBuilder.swift",
        "NetworkCapture/CapturedRequestCollector.swift",
        "NetworkCapture/NetworkCaptureConfiguration.swift",
        "NetworkCapture/NetworkCaptureTracker.swift",
        "NetworkCapture/NetworkStateMonitor.swift",
        "NetworkCapture/NetworkTelephonyHandler.swift",
        "NetworkCapture/RequestCollection.swift",
        "NetworkCaptureSessionDelegate.swift",
        "Offline/Payload.swift",
        "Offline/PayloadCache.swift",
        "Persistence/File.swift",
        "Persistence/Persistence.swift",
        "Persistence/PersistenceError.swift",
        "Persistence/UserLocation.swift",
        "Protocols/CaptureTimerManaging.swift",
        "Protocols/CapturedRequestCollecting.swift",
        "Protocols/CrashReportManaging.swift",
        "Protocols/CrashReportPersisting.swift",
        "Protocols/FileLocation.swift",
        "Protocols/Logging.swift",
        "Protocols/PerformanceMonitoring.swift",
        "Protocols/RequestFailureHandling.swift",
        "Protocols/ResourceMeasuring.swift",
        "Protocols/SystemLogging.swift",
        "Protocols/URLRequestConvertible.swift",
        "Protocols/Uploading.swift",
        "Request.swift",
        "RequestCache.swift",
        "RequestFailureHandler.swift",
        "SessionManager.swift",
        "TimerRequestBuilder.swift",
        "Uploader.swift",
        "Version.swift",
        "Vitals/ANR/ANRPerformanceMonitor.swift",
        "Vitals/ANR/ANRTrace/MainThreadStackTraceProvider.swift",
        "Vitals/ANR/ANRWatchDog.swift",
        "Vitals/ANR/MainThreadObserver.swift",
        "Vitals/DispatchSourceTimerPerformanceMonitor.swift",
        "Vitals/DisplayLinkPerformanceMonitor.swift",
        "Vitals/Launch/LaunchTimeMonitor.swift",
        "Vitals/Launch/LaunchTimeReporter.swift",
        "Vitals/Memory/MemoryWarningWatchDog.swift",
        "Vitals/PerformanceMonitorBuilder.swift",
        "Vitals/ResourceUsage.swift",
        "Vitals/RunLoopServices.swift",
        "Vitals/ScreenTracker/BTTScreenLifecycleTracker.swift",
        "Vitals/ScreenTracker/BTTScreenTracker.swift",
        "Vitals/ScreenTracker/BTTWebViewTracker.swift",
        "Vitals/ScreenTracker/ViewControllerLifecycleTracker.swift",
        "Vitals/ScreenTracker/ViewLifecycleTrackerModifier.swift",
        "Vitals/TimerPerformanceMonitor.swift"
      ],
      "target_dependencies" : [
        "Backtrace",
        "AppEventLogger"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Backtrace",
      "module_type" : "ClangTarget",
      "name" : "Backtrace",
      "path" : "Sources/Backtrace",
      "product_memberships" : [
        "BlueTriangle"
      ],
      "sources" : [
        "backtress_extracter.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AppEventLogger",
      "module_type" : "ClangTarget",
      "name" : "AppEventLogger",
      "path" : "Sources/AppEventLogger",
      "product_memberships" : [
        "BlueTriangle"
      ],
      "sources" : [
        "AppNotificationLogger.m",
        "NotificationLog.m",
        "SignalHandler.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
warning: 'spi-builder-workspace': ignoring target 'ObjcCompatibilityTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': ignoring target 'ObjcCompatibilityTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
Building for debugging...
[0/7] Copying PrivacyInfo.xcprivacy
[1/7] Write sources
In file included from /host/spi-builder-workspace/Sources/AppEventLogger/NotificationLog.m:8:
/host/spi-builder-workspace/Sources/AppEventLogger/include/NotificationLog.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
    8 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/7] Compiling AppEventLogger NotificationLog.m
In file included from /host/spi-builder-workspace/Sources/AppEventLogger/SignalHandler.m:8:
/host/spi-builder-workspace/Sources/AppEventLogger/include/SignalHandler.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
    8 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/7] Compiling AppEventLogger SignalHandler.m
[2/7] Compiling Backtrace backtress_extracter.c
In file included from /host/spi-builder-workspace/Sources/AppEventLogger/AppNotificationLogger.m:12:
/host/spi-builder-workspace/Sources/AppEventLogger/include/AppNotificationLogger.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
    8 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/7] Compiling AppEventLogger AppNotificationLogger.m
[2/7] 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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': ignoring target 'ObjcCompatibilityTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/AppEventLogger/NotificationLog.m:8:
/host/spi-builder-workspace/Sources/AppEventLogger/include/NotificationLog.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
    8 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/5] Compiling AppEventLogger NotificationLog.m
In file included from /host/spi-builder-workspace/Sources/AppEventLogger/AppNotificationLogger.m:12:
/host/spi-builder-workspace/Sources/AppEventLogger/include/AppNotificationLogger.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
    8 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/5] Compiling AppEventLogger AppNotificationLogger.m
In file included from /host/spi-builder-workspace/Sources/AppEventLogger/SignalHandler.m:8:
/host/spi-builder-workspace/Sources/AppEventLogger/include/SignalHandler.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
    8 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/5] Compiling AppEventLogger SignalHandler.m
In file included from /host/spi-builder-workspace/Sources/Backtrace/backtress_extracter.c:7:
/host/spi-builder-workspace/Sources/Backtrace/include/backtress_extracter.h:12:10: fatal error: 'mach/mach.h' file not found
   12 | #include <mach/mach.h>
      |          ^~~~~~~~~~~~~
[0/5] Compiling Backtrace backtress_extracter.c
[0/5] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android