The Swift Package Index logo.Swift Package Index

Build Information

Successful build of MetricsReporter, reference 2.0.1 (49b0d7), with Swift 6.2 for macOS (SPM) on 28 Apr 2026 09:21:44 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rudderlabs/metrics-reporter-ios.git
Reference: 2.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/rudderlabs/metrics-reporter-ios
 * tag               2.0.1      -> FETCH_HEAD
HEAD is now at 49b0d7b chore(release): pulling release/2.0.1 into master
Cloned https://github.com/rudderlabs/metrics-reporter-ios.git
Revision (git rev-parse @):
49b0d7b8f5fefd95da210f6c92fc8a6a9daf0dfd
SUCCESS checkout https://github.com/rudderlabs/metrics-reporter-ios.git at 2.0.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/rudderlabs/metrics-reporter-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/83] Write sources
[1/83] Write swift-version--3CB7CFEC50E0D141.txt
[2/83] Compiling RSCrashReporter RSCrashReporter.m
[3/83] Compiling MRCCanary.m
[4/83] Compiling RSCrashReporterUser.m
[5/88] Compiling RSCrashReporterStacktrace.m
[6/88] Compiling RSCrashReporterThread.m
[7/88] Compiling RSCrashReporter RSCCrashSentry.m
[8/88] Compiling RSCStorageMigratorV0V1.m
[9/88] Compiling RSCrashReporterNotifier.m
[10/88] Compiling RSCrashReporterSession.m
[11/88] Compiling RSCrashReporter RSCrashReporterFeatureFlag.m
[12/88] Compiling RSCrashReporterStackframe.m
[13/88] Compiling RSCrashReporterHandledState.m
[14/88] Compiling RSCrashReporter RSCrashReporterLastRunInfo.m
[15/88] Compiling RSCrashReporterError.m
[16/88] Compiling RSCrashReporterDeviceWithState.m
[17/88] Compiling RSCFileLocations.m
[18/88] Compiling RSCrashReporterEvent.m
[19/88] Compiling RSCrashReporterDevice.m
[20/88] Compiling RSCrashReporterBreadcrumb.m
[21/88] Compiling RSCrashReporterAppWithState.m
[22/88] Compiling RSCrashReporterApp.m
[23/88] Compiling RSCrashReporterMetadata.m
[24/88] Compiling RSC_KSMach_x86_64.c
[25/88] Compiling RSC_KSMach_x86_32.c
[26/88] Compiling RSC_KSMach_Arm.c
[27/88] Compiling RSC_KSString.c
[28/88] Compiling RSC_KSSignalInfo.c
[29/88] Compiling RSC_KSSysCtl.c
[30/88] Compiling RSC_KSLogger.c
[31/88] Compiling RSC_Symbolicate.c
[32/88] Compiling RSC_KSJSONCodec.c
[33/88] Compiling RSC_KSFileUtils.c
[34/88] Compiling RSC_KSCrashStringConversion.c
[35/88] Compiling RSC_KSMach_Arm64.c
[36/88] Compiling RSC_KSMach.c
[37/88] Compiling RSC_KSBacktrace.c
[38/88] Compiling RSC_KSCrashSentry_NSException.m
[39/88] Compiling RSC_KSMachHeaders.c
[40/88] Compiling RSC_KSFile.c
[41/88] Compiling RSC_KSCrashSentry_MachException.c
[42/88] Compiling RSC_KSCrashSentry_Signal.c
[43/88] Compiling RSC_KSCrashSentry.c
[44/88] Compiling RSC_KSCrashState.m
[45/88] Compiling RSC_KSCrashNames.c
[46/88] Compiling RSC_KSSystemInfo.m
[47/88] Compiling RSC_KSCrashIdentifier.m
[48/88] Compiling RSC_KSCrashReport.c
[49/88] Compiling RSC_KSCrashC.c
[50/88] Compiling RSC_KSCrashDoctor.m
[51/88] Compiling RSC_RFC3339DateTool.m
[52/88] Compiling RSCrashReporterCollections.m
[53/88] Compiling RSCUtils.m
[54/88] Compiling RSCSerialization.m
[55/88] Compiling RSCTelemetry.m
[56/88] Compiling RSCJSONSerialization.m
[57/88] Compiling RSCGlobals.m
[58/88] Compiling RSCInternalErrorReporter.m
[59/88] Compiling RSCFeatureFlagStore.m
[60/88] Compiling RSCAppHangDetector.m
[61/88] Compiling RSCrashReporterApiClient.m
[62/88] Compiling RSCSessionUploader.m
[63/88] Compiling RSCEventUploader.m
[64/88] Compiling RSCEventUploadOperation.m
[65/88] Compiling RSCEventUploadObjectOperation.m
[66/88] Compiling RSCEventUploadKSCrashReportOperation.m
[67/88] Compiling RSCEventUploadFileOperation.m
[68/88] Compiling RSC_KSCrashSentry_CPPException.mm
[69/88] Compiling RSCrashReporterErrorTypes.m
[70/88] Compiling RSCrashReporterEndpointConfiguration.m
[71/88] Compiling RSCrashReporterConfiguration.m
[72/88] Compiling RSCConfigurationBuilder.m
[73/88] Compiling RSCConnectivity.m
[74/88] Write sources
[75/88] Compiling RSCrashReporterBreadcrumbs.m
[76/88] Compiling RSCNetworkBreadcrumb.m
[77/88] Compiling RSCNotificationBreadcrumbs.m
[78/88] Compiling RSCrashReporter RSCrashReporterSystemState.m
[79/88] Compiling RSCRunContext.m
[80/88] Compiling RSCrashReporterClient.m
[81/88] Compiling RSCrashReporter RSCrashReporterSessionTracker.m
[82/88] Compiling RSC_KSCrash.m
[84/88] Compiling RudderKit Logger.swift
[85/88] Compiling RudderKit RepeatingTimer.swift
[86/88] Compiling RudderKit JSON.swift
[87/88] Emitting module RudderKit
[88/88] Compiling RudderKit Data+Ext.swift
[89/108] Compiling MetricsReporter MetricsClient.swift
[90/108] Compiling MetricsReporter Configuration.swift
[91/108] Compiling MetricsReporter Constants.swift
[92/108] Compiling MetricsReporter Controller.swift
[93/108] Compiling MetricsReporter Database.swift
[94/108] Emitting module MetricsReporter
/Users/admin/builder/spi-builder-workspace/Sources/Classes/Networking/APIClient/API.swift:10:1: warning: @frozen has no effect on non-public enums
 8 | import Foundation
 9 |
10 | @frozen enum API {
   | `- warning: @frozen has no effect on non-public enums
11 |     case sdkMetrics(params: String)
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/Networking/APIClient/API.swift:14:1: warning: @frozen has no effect on non-public enums
12 | }
13 |
14 | @frozen enum APIClientStatus {
   | `- warning: @frozen has no effect on non-public enums
15 |     case success
16 |     case failure
[95/108] Compiling MetricsReporter Plugins.swift
[96/108] Compiling MetricsReporter CrashReporter.swift
[97/108] Compiling MetricsReporter MetricOperator.swift
[98/108] Compiling MetricsReporter Vendor.swift
[99/108] Compiling MetricsReporter ErrorOperator.swift
[100/108] Compiling MetricsReporter LabelOperator.swift
[101/108] Compiling MetricsReporter ServiceType.swift
[102/108] Compiling MetricsReporter ObjCConfiguration.swift
[103/108] Compiling MetricsReporter Metric.swift
[104/108] Compiling MetricsReporter StatsCollection.swift
[105/108] Compiling MetricsReporter API.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/Networking/APIClient/API.swift:10:1: warning: @frozen has no effect on non-public enums
 8 | import Foundation
 9 |
10 | @frozen enum API {
   | `- warning: @frozen has no effect on non-public enums
11 |     case sdkMetrics(params: String)
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/Networking/APIClient/API.swift:14:1: warning: @frozen has no effect on non-public enums
12 | }
13 |
14 | @frozen enum APIClientStatus {
   | `- warning: @frozen has no effect on non-public enums
15 |     case success
16 |     case failure
[106/108] Compiling MetricsReporter ServiceManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/Networking/APIClient/API.swift:10:1: warning: @frozen has no effect on non-public enums
 8 | import Foundation
 9 |
10 | @frozen enum API {
   | `- warning: @frozen has no effect on non-public enums
11 |     case sdkMetrics(params: String)
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/Networking/APIClient/API.swift:14:1: warning: @frozen has no effect on non-public enums
12 | }
13 |
14 | @frozen enum APIClientStatus {
   | `- warning: @frozen has no effect on non-public enums
15 |     case success
16 |     case failure
[107/108] Compiling MetricsReporter ObjCMetric.swift
[108/108] Compiling MetricsReporter ObjCMetricsClient.swift
[109/110] Compiling MetricsReporter MetricsUploader.swift
[110/110] Compiling MetricsReporter Startup.swift
Build complete! (10.55s)
Fetching https://github.com/rudderlabs/rudder-ios-kit
Fetching https://github.com/rudderlabs/crash-reporter-ios
[1/33228] Fetching crash-reporter-ios
[2/33579] Fetching crash-reporter-ios, rudder-ios-kit
Fetched https://github.com/rudderlabs/rudder-ios-kit from cache (2.26s)
Fetched https://github.com/rudderlabs/crash-reporter-ios from cache (2.26s)
Computing version for https://github.com/rudderlabs/crash-reporter-ios
Computed https://github.com/rudderlabs/crash-reporter-ios at 1.0.1 (2.90s)
Computing version for https://github.com/rudderlabs/rudder-ios-kit
Computed https://github.com/rudderlabs/rudder-ios-kit at 1.4.0 (0.61s)
Creating working copy for https://github.com/rudderlabs/rudder-ios-kit
Working copy of https://github.com/rudderlabs/rudder-ios-kit resolved at 1.4.0
Creating working copy for https://github.com/rudderlabs/crash-reporter-ios
Working copy of https://github.com/rudderlabs/crash-reporter-ios resolved at 1.0.1
Build complete.
{
  "dependencies" : [
    {
      "identity" : "rudder-ios-kit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/rudderlabs/rudder-ios-kit"
    },
    {
      "identity" : "crash-reporter-ios",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/rudderlabs/crash-reporter-ios"
    }
  ],
  "manifest_display_name" : "MetricsReporter",
  "name" : "MetricsReporter",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "MetricsReporter",
      "targets" : [
        "MetricsReporter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MetricsReporterTests",
      "module_type" : "SwiftTarget",
      "name" : "MetricsReporterTests",
      "path" : "MetricsReporterTests",
      "product_dependencies" : [
        "RudderKit",
        "RSCrashReporter"
      ],
      "sources" : [
        "CrashReporterTests.swift",
        "DatabaseTests.swift",
        "ErrorOperatorTests.swift",
        "Helpers/JSON.swift",
        "Helpers/MockURLProtocol.swift",
        "Helpers/Utilities.swift",
        "LabelOperatorTests.swift",
        "MetricOperatorTests.swift",
        "MetricsClientTests.swift",
        "MetricsUploaderTests.swift",
        "ModelTests.swift",
        "ObjCTests.swift",
        "ServiceManagerTests.swift",
        "VendorTests.swift"
      ],
      "target_dependencies" : [
        "MetricsReporter"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MetricsReporter",
      "module_type" : "SwiftTarget",
      "name" : "MetricsReporter",
      "path" : "Sources",
      "product_dependencies" : [
        "RudderKit",
        "RSCrashReporter"
      ],
      "product_memberships" : [
        "MetricsReporter"
      ],
      "sources" : [
        "Classes/Constants.swift",
        "Classes/Controller.swift",
        "Classes/Database/Database.swift",
        "Classes/Database/ErrorOperator.swift",
        "Classes/Database/LabelOperator.swift",
        "Classes/Database/MetricOperator.swift",
        "Classes/Helpers/Vendors/Vendor.swift",
        "Classes/MetricsClient.swift",
        "Classes/Models/Configuration.swift",
        "Classes/Models/Metric.swift",
        "Classes/Models/StatsCollection.swift",
        "Classes/Networking/APIClient/API.swift",
        "Classes/Networking/APIClient/ServiceManager.swift",
        "Classes/Networking/ServiceType.swift",
        "Classes/ObjC/ObjCConfiguration.swift",
        "Classes/ObjC/ObjCMetric.swift",
        "Classes/ObjC/ObjCMetricsClient.swift",
        "Classes/Plugins.swift",
        "Classes/Plugins/CrashReporter.swift",
        "Classes/Plugins/MetricsUploader.swift",
        "Classes/Startup.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.