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 BitriseTrace, reference 1.7.39 (5dace8), with Swift 6.1 for Android on 28 May 2025 01:32:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/bitrise-io/trace-cocoa-sdk.git
Reference: 1.7.39
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/bitrise-io/trace-cocoa-sdk
 * tag               1.7.39     -> FETCH_HEAD
HEAD is now at 5dace83 Bumped version to 1.7.39
Cloned https://github.com/bitrise-io/trace-cocoa-sdk.git
Revision (git rev-parse @):
5dace831481550cfd1c17d0641b521915c948530
SUCCESS checkout https://github.com/bitrise-io/trace-cocoa-sdk.git at 1.7.39
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/bitrise-io/trace-cocoa-sdk.git
https://github.com/bitrise-io/trace-cocoa-sdk.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "cxx_language_standard" : "gnu++11",
  "dependencies" : [
  ],
  "manifest_display_name" : "BitriseTrace",
  "name" : "BitriseTrace",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "Trace",
      "targets" : [
        "Trace"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "TraceInternal_Swift",
      "module_type" : "ClangTarget",
      "name" : "TraceInternal_Swift",
      "path" : "TraceInternal/CrashReporting/swift/Basic",
      "product_memberships" : [
        "Trace"
      ],
      "sources" : [
        "Context.cpp",
        "Demangle.cpp",
        "Demangler.cpp",
        "ManglingUtils.cpp",
        "NodePrinter.cpp",
        "OldDemangler.cpp",
        "Punycode.cpp"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TraceInternal_Reporting_Tools",
      "module_type" : "ClangTarget",
      "name" : "TraceInternal_Reporting_Tools",
      "path" : "TraceInternal/CrashReporting/Reporting/Tools",
      "product_memberships" : [
        "Trace"
      ],
      "sources" : [
        "KSCString.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TraceInternal_Reporting_Filters_Tools",
      "module_type" : "ClangTarget",
      "name" : "TraceInternal_Reporting_Filters_Tools",
      "path" : "TraceInternal/CrashReporting/Reporting/Filters/Tools",
      "product_memberships" : [
        "Trace"
      ],
      "sources" : [
        "Container+DeepSearch.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TraceInternal_Reporting_Filters",
      "module_type" : "ClangTarget",
      "name" : "TraceInternal_Reporting_Filters",
      "path" : "TraceInternal/CrashReporting/Reporting/Filters",
      "product_memberships" : [
        "Trace"
      ],
      "sources" : [
        "KSCrashReportFilterAppleFmt.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TraceInternal_Recording_Tools",
      "module_type" : "ClangTarget",
      "name" : "TraceInternal_Recording_Tools",
      "path" : "TraceInternal/CrashReporting/Recording/Tools",
      "product_memberships" : [
        "Trace"
      ],
      "sources" : [
        "KSCPU.c",
        "KSCPU_arm.c",
        "KSCPU_arm64.c",
        "KSCPU_x86_32.c",
        "KSCPU_x86_64.c",
        "KSCxaThrowSwapper.c",
        "KSDate.c",
        "KSDebug.c",
        "KSDemangle_CPP.cpp",
        "KSDemangle_Swift.cpp",
        "KSDynamicLinker.c",
        "KSFileUtils.c",
        "KSID.c",
        "KSJSONCodec.c",
        "KSJSONCodecObjC.m",
        "KSLogger.c",
        "KSMach.c",
        "KSMachineContext.c",
        "KSMemory.c",
        "KSObjC.c",
        "KSSignalInfo.c",
        "KSStackCursor.c",
        "KSStackCursor_Backtrace.c",
        "KSStackCursor_MachineContext.c",
        "KSStackCursor_SelfThread.c",
        "KSString.c",
        "KSSymbolicator.c",
        "KSSysCtl.c",
        "KSThread.c",
        "KSgetsect.c",
        "NSError+SimpleConstructor.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TraceInternal_Recording_Monitors",
      "module_type" : "ClangTarget",
      "name" : "TraceInternal_Recording_Monitors",
      "path" : "TraceInternal/CrashReporting/Recording/Monitors",
      "product_memberships" : [
        "Trace"
      ],
      "sources" : [
        "KSCrashMonitor.c",
        "KSCrashMonitorType.c",
        "KSCrashMonitor_AppState.c",
        "KSCrashMonitor_CPPException.cpp",
        "KSCrashMonitor_MachException.c",
        "KSCrashMonitor_NSException.m",
        "KSCrashMonitor_Signal.c",
        "KSCrashMonitor_System.m",
        "KSCrashMonitor_User.c",
        "KSCrashMonitor_Zombie.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TraceInternal_Recording",
      "module_type" : "ClangTarget",
      "name" : "TraceInternal_Recording",
      "path" : "TraceInternal/CrashReporting/Recording",
      "product_memberships" : [
        "Trace"
      ],
      "sources" : [
        "KSCrash.m",
        "KSCrashC.c",
        "KSCrashCachedData.c",
        "KSCrashDoctor.m",
        "KSCrashReport.c",
        "KSCrashReportFixer.c",
        "KSCrashReportStore.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TraceInternal",
      "module_type" : "ClangTarget",
      "name" : "TraceInternal",
      "path" : "TraceInternal/Installations",
      "product_memberships" : [
        "Trace"
      ],
      "sources" : [
        "BRFilterPipeline.m",
        "BRFilterStringToData.m",
        "BRLogger.m",
        "BRObjectiveCOnlyLoad.m",
        "BRReportingSink.m",
        "KSCrashInstallation.m"
      ],
      "target_dependencies" : [
        "TraceInternal_Recording",
        "TraceInternal_Recording_Monitors",
        "TraceInternal_Recording_Tools",
        "TraceInternal_Reporting_Filters",
        "TraceInternal_Reporting_Filters_Tools",
        "TraceInternal_Reporting_Tools",
        "TraceInternal_Swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Trace",
      "module_type" : "SwiftTarget",
      "name" : "Trace",
      "path" : "Trace",
      "product_memberships" : [
        "Trace"
      ],
      "sources" : [
        "Configuration/BitriseConfiguration.swift",
        "Configuration/BitriseConfigurationInteractor.swift",
        "Configuration/TraceConfigurationInteractor.swift",
        "Configuration/TraceSwizzleInteractor.swift",
        "Constants.swift",
        "Error/CrashFormatter.swift",
        "Error/CrashReporting.swift",
        "Error/Error+Swizzled.swift",
        "Error/ErrorFormatter.swift",
        "Error/Exception+Swizzled.swift",
        "Error/Report.swift",
        "Hardware/CPU/CPU.swift",
        "Hardware/Connectivity/Connectivity.swift",
        "Hardware/Device/DeviceFormatter.swift",
        "Hardware/Device/DeviceModel.swift",
        "Hardware/HardwareFormatter.swift",
        "Hardware/Memory/Memory.swift",
        "Hardware/Session.swift",
        "Helper/FileManager+Space.swift",
        "Helper/Host/Host/Host.swift",
        "Helper/JSONEncodable.swift",
        "Helper/Swift/Data+Helper.swift",
        "Helper/Swift/Date+Helper.swift",
        "Helper/Swift/Decodable+Helper.swift",
        "Helper/Swift/DispatchQueue.swift",
        "Helper/Swift/DispatchQueueSynchronized.swift",
        "Helper/Swift/Double+Helper.swift",
        "Helper/Swift/Encodable+Helper.swift",
        "Helper/Swift/Int+helper.swift",
        "Helper/Swift/OrderedDictionary.swift",
        "Helper/Swift/String+Hex.swift",
        "Helper/Swift/TimestampValidator.swift",
        "Helper/Swift/UUID.swift",
        "Helper/UIApplication+Screenshot.swift",
        "Helper/UIApplication+ViewController.swift",
        "Helper/UIDevice+Jailbreak.swift",
        "Helper/URL/URLStructure.swift",
        "Javascript/JSContext+Swizzled.swift",
        "Javascript/JSValue+Swizzled.swift",
        "Library/API/Crashes/CrashesService+Router.swift",
        "Library/API/Crashes/CrashesService.swift",
        "Library/API/Metrics/MetricsService+Router.swift",
        "Library/API/Metrics/MetricsService.swift",
        "Library/API/Trace/TraceService+Router.swift",
        "Library/API/Trace/TraceService.swift",
        "Library/CrashReportingSwift/AppleCrashFormatInterpreter.swift",
        "Library/CrashReportingSwift/Crash.swift",
        "Library/CrashReportingSwift/CrashController+Testing.swift",
        "Library/CrashReportingSwift/CrashController.swift",
        "Library/Database/CRUD.swift",
        "Library/Database/DAO.swift",
        "Library/Database/Database.swift",
        "Library/Database/Entities.swift",
        "Library/Database/MetricDAO.swift",
        "Library/Database/Model/DBMetric.swift",
        "Library/Database/Model/DBTrace.swift",
        "Library/Database/Persistent.swift",
        "Library/Database/TraceDAO.swift",
        "Library/JSON/Encodable+JSON.swift",
        "Library/JSON/JSONDecoder+Helper.swift",
        "Library/Log/Logger.swift",
        "Library/Network/Network+Configuration.swift",
        "Library/Network/Network+HTTP.swift",
        "Library/Network/Network+Request.swift",
        "Library/Network/Network+Upload.swift",
        "Library/Network/Network+Validation.swift",
        "Library/Network/Network.swift",
        "Library/Network/Routable.swift",
        "Library/Repeater/Repeater.swift",
        "Library/Swizzle/Swizzle.swift",
        "Library/Time/Time.swift",
        "Library/ULID/ULID.swift",
        "Lifecycle/Lifecycle.swift",
        "Lifecycle/SessionFormatter.swift",
        "Lifecycle/Startup.swift",
        "Lifecycle/StartupFormatter.swift",
        "Metric/Metric+Collater.swift",
        "Metric/Metric+Descriptor+Keys.swift",
        "Metric/Metric+Descriptor.swift",
        "Metric/Metric+Timeseries+Point.swift",
        "Metric/Metric+Timeseries+Value.swift",
        "Metric/Metric+Timeseries.swift",
        "Metric/Metric.swift",
        "Metric/Metrics.swift",
        "Metric/Resource.swift",
        "Metric/Timeseriesble.swift",
        "Network/DataTaskFormatter.swift",
        "Network/LocalSessionTask.swift",
        "Network/RequestFormatter.swift",
        "Network/SessionConfigurationFormatter.swift",
        "Network/TaskMetricsFormatter.swift",
        "Network/URLLocalSessionConnection.swift",
        "Network/URLSession+Swizzled.swift",
        "Network/URLSessionTask+Helper.swift",
        "Network/URLSessionTaskFormatter.swift",
        "Network/URLSessionTaskMetrics+Swizzled.swift",
        "Queue/Queue.swift",
        "Scheduler/Scheduler.swift",
        "SwiftOnlyLoad.swift",
        "Trace+Configuration.swift",
        "Trace.swift",
        "TraceModel/TraceModel+Span.swift",
        "TraceModel/TraceModel.swift",
        "TraceModel/Tracer.swift",
        "View/Control+Swizzled.swift",
        "View/FPS.swift",
        "View/FPSFormatter.swift",
        "View/Gesture+Swizzled.swift",
        "View/View+Swizzled.swift",
        "View/ViewController+Metric.swift",
        "View/ViewController+Swizzled.swift",
        "View/ViewControllerFilter.swift",
        "View/ViewFilter.swift",
        "View/ViewFormatter.swift"
      ],
      "target_dependencies" : [
        "TraceInternal"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
Building for debugging...
In file included from /host/spi-builder-workspace/TraceInternal/Installations/BRLogger.m:9:
/host/spi-builder-workspace/TraceInternal/Installations/BRLogger.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/66] Compiling TraceInternal BRLogger.m
In file included from /host/spi-builder-workspace/TraceInternal/Installations/BRFilterStringToData.m:9:
/host/spi-builder-workspace/TraceInternal/Installations/BRFilterStringToData.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/66] Compiling TraceInternal BRFilterStringToData.m
In file included from /host/spi-builder-workspace/TraceInternal/Installations/BRFilterPipeline.m:9:
/host/spi-builder-workspace/TraceInternal/Installations/BRFilterPipeline.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/66] Compiling TraceInternal BRFilterPipeline.m
[0/66] Compiling TraceInternal_Recording_Tools KSMemory.c
[0/66] Compiling TraceInternal_Recording KSCrash.m
/host/spi-builder-workspace/TraceInternal/CrashReporting/Recording/KSCrashCachedData.c:31:10: fatal error: 'mach/mach.h' file not found
   31 | #include <mach/mach.h>
      |          ^~~~~~~~~~~~~
[0/66] Compiling TraceInternal_Recording KSCrashCachedData.c
[0/66] Compiling TraceInternal_Recording KSCrashC.c
In file included from /host/spi-builder-workspace/TraceInternal/CrashReporting/Recording/KSCrashDoctor.m:9:
/host/spi-builder-workspace/TraceInternal/CrashReporting/Recording/KSCrashDoctor.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/66] Compiling TraceInternal_Recording KSCrashDoctor.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
[0/1] Planning build
Building for debugging...
[0/66] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/TraceInternal/CrashReporting/Reporting/Tools/KSCString.m:27:
/host/spi-builder-workspace/TraceInternal/CrashReporting/Reporting/Tools/KSCString.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
   27 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/66] Compiling TraceInternal_Reporting_Tools KSCString.m
[1/66] Compiling TraceInternal_Swift Demangle.cpp
[1/66] Compiling TraceInternal_Swift Punycode.cpp
[1/66] Compiling TraceInternal_Swift Demangler.cpp
[1/66] Compiling TraceInternal_Swift NodePrinter.cpp
[1/66] Compiling TraceInternal_Swift ManglingUtils.cpp
[1/66] Compiling TraceInternal_Swift Context.cpp
[1/66] Compiling TraceInternal_Swift OldDemangler.cpp
BUILD FAILURE 6.1 android