The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Statsig, reference main (452529), with Swift 6.4 for macOS (SPM) on 24 Oct 2026 07:26:10 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/statsig-io/statsig-kit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/statsig-io/statsig-kit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4525294 [release] 1.62.9 - StatsigClient instances honor enableCacheByFile and storageProvider (#526)
Cloned https://github.com/statsig-io/statsig-kit.git
Revision (git rev-parse @):
4525294ea87d8256467d7270fe642ba66b91b43e
SUCCESS checkout https://github.com/statsig-io/statsig-kit.git at main
Fetching https://github.com/erikdoe/ocmock
[1/10914] Fetching ocmock
Fetched https://github.com/erikdoe/ocmock (2.31s)
Fetching https://github.com/AliSoftware/OHHTTPStubs.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/1024jp/GzipSwift
Fetching https://github.com/Quick/Nimble.git
[1/1766] Fetching gzipswift
[107/9666] Fetching gzipswift, ohhttpstubs
[2044/24591] Fetching gzipswift, ohhttpstubs, quick
[3400/44593] Fetching gzipswift, ohhttpstubs, quick, nimble
Fetched https://github.com/Quick/Quick.git (4.03s)
Fetched https://github.com/1024jp/GzipSwift (4.03s)
Fetched https://github.com/Quick/Nimble.git (4.04s)
Fetched https://github.com/AliSoftware/OHHTTPStubs.git (4.04s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 10.0.0 (4.74s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (0.99s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs.git
Computed https://github.com/AliSoftware/OHHTTPStubs.git at 9.1.0 (1.77s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 5.2.0 (0.73s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 5.0.1 (0.68s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.68s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git (0.78s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.52s)
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/AliSoftware/OHHTTPStubs.git
Working copy of https://github.com/AliSoftware/OHHTTPStubs.git resolved at 9.1.0
Creating working copy for https://github.com/erikdoe/ocmock
Working copy of https://github.com/erikdoe/ocmock resolved at master (7f6e9e9)
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/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 10.0.0
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 5.0.1
Creating working copy for https://github.com/1024jp/GzipSwift
Working copy of https://github.com/1024jp/GzipSwift resolved at 5.2.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "statsig-kit",
      "name": "Statsig",
      "url": "https://github.com/statsig-io/statsig-kit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/statsig-kit",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/statsig-io/statsig-kit.git
[1/5212] Fetching statsig-kit
Fetched https://github.com/statsig-io/statsig-kit.git (1.23s)
Creating working copy for https://github.com/statsig-io/statsig-kit.git
Working copy of https://github.com/statsig-io/statsig-kit.git resolved at main (4525294)
warning: '.resolve-product-dependencies': dependency 'statsig-kit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/statsig-io/statsig-kit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 95]
[Planning deferred tasks]
[31 / 40] Statsig_StatsigObjcTests
[31 / 40]
[32 / 41] Statsig
[42 / 118]
[45 / 118]
[53 / 118]
[56 / 118]
[57 / 118]
[63 / 118]
[66 / 118]
[70 / 118]
[75 / 118]
[78 / 118]
[80 / 118]
[81 / 118]
[91 / 118]
[93 / 118]
[94 / 118]
[96 / 118]
[98 / 118]
[109 / 118] Statsig
[110 / 118] Statsig
[115 / 118] Statsig
Build complete! (11.90 sec)
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:163:35: warning: 'unarchiveTopLevelObjectWithData' was deprecated in macOS 10.14: Use unarchivedObject(ofClass:from:) instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
161 |
162 | fileprivate func unarchiveData(_ data: Data) -> Any? {
163 |     return try? NSKeyedUnarchiver.unarchiveTopLevelObjectWithData(data)
    |                                   `- warning: 'unarchiveTopLevelObjectWithData' was deprecated in macOS 10.14: Use unarchivedObject(ofClass:from:) instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
164 | }
165 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/PlatformCompatibility.swift:134:13: warning: 'kIOMasterPortDefault' was deprecated in macOS 12.0: renamed to 'kIOMainPortDefault' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
132 |     init() {
133 |         let service = IOServiceGetMatchingService(
134 |             kIOMasterPortDefault, IOServiceMatching("IOPlatformExpertDevice"))
    |             |- warning: 'kIOMasterPortDefault' was deprecated in macOS 12.0: renamed to 'kIOMainPortDefault' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |             `- note: use 'kIOMainPortDefault' instead
135 |         if let data = IORegistryEntryCreateCFProperty(
136 |             service, "model" as CFString, kCFAllocatorDefault, 0
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete.
{
  "dependencies" : [
    {
      "identity" : "ohhttpstubs",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "9.1.0",
            "upper_bound" : "10.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/AliSoftware/OHHTTPStubs.git"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "10.0.0",
            "upper_bound" : "11.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble.git"
    },
    {
      "identity" : "quick",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Quick.git"
    },
    {
      "identity" : "ocmock",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/erikdoe/ocmock"
    },
    {
      "identity" : "gzipswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.1.1",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/1024jp/GzipSwift"
    }
  ],
  "manifest_display_name" : "Statsig",
  "name" : "Statsig",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "watchos",
      "version" : "7.0"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "Statsig",
      "targets" : [
        "Statsig"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "StatsigTests",
      "module_type" : "SwiftTarget",
      "name" : "StatsigTests",
      "path" : "Tests/StatsigTests",
      "product_dependencies" : [
        "Quick",
        "Nimble",
        "OHHTTPStubs",
        "Gzip",
        "OHHTTPStubsSwift"
      ],
      "sources" : [
        "ApiOverrideSpec.swift",
        "AppLifecycleSpec.swift",
        "AsyncInitVsUpdateSpec.swift",
        "AtomicDictionarySpec.swift",
        "AutoUpdateSpec.swift",
        "BaseSpec.swift",
        "CacheByFileInstanceTests.swift",
        "CodableSpec.swift",
        "ComparisonSpec.swift",
        "CompletionCallbackRaceSpec.swift",
        "DNSQuerySpec.swift",
        "DeviceEnvironmentSpec.swift",
        "DiagnosticsSpec.swift",
        "DynamicConfigSpec.swift",
        "ErrorBoundarySpec.swift",
        "EvaluationCallbackSpec.swift",
        "EvaluationDetailSpec.swift",
        "EventLoggerSpec.swift",
        "EventLoggingEnabledSpec.swift",
        "EventSpec.swift",
        "ExposureLoggingSpec.swift",
        "FailedLogRequestStoreSpec.swift",
        "FailedLogRequestStoreTestHelpers.swift",
        "FileBasedUserDefaultsSpec.swift",
        "FileBasedUserDefaultsUsageSpec.swift",
        "GzipSpec.swift",
        "InitRetriesSpec.swift",
        "InitializeSinceTimeSpec.swift",
        "InternalStoreAppleUserDefaultsSpec.swift",
        "InternalStoreFileBasedUserDefaultsSpec.swift",
        "InternalStoreMultiFileSpec.swift",
        "InternalStoreSpec.swift",
        "LayerConfigSpec.swift",
        "LayerExposureSpec.swift",
        "LocalOverridesSpec.swift",
        "LockedValueSpec.swift",
        "LogEventFailureSpec.swift",
        "LogFlushTimerSpec.swift",
        "ManualFlushSpec.swift",
        "ManyThreadsSpec.swift",
        "MockUserDefaults.swift",
        "MultiClientSupportSpec.swift",
        "NetworkFallbackResolverSpec.swift",
        "NetworkServiceSpec.swift",
        "NotAwaitingInitCallsSpec.swift",
        "NullInitialize.swift",
        "PerformanceSpec.swift",
        "PrintHandlerSpec.swift",
        "PublicFuncSpec.swift",
        "SDKKeySpec.swift",
        "SpiedEventLogger.swift",
        "StatsigClientSpec.swift",
        "StatsigListeningSpec.swift",
        "StatsigMetadataSpec.swift",
        "StatsigNetworkMetadataProviderSpec.swift",
        "StatsigOptionsSpec.swift",
        "StatsigSpec.swift",
        "StatsigUserSpec.swift",
        "StoragePerformanceSpec.swift",
        "StorageProviderBasedUserDefaultsSpec.swift",
        "StorageProviderBasedUserDefaultsUsageSpec.swift",
        "StoreDeadlockSpec.swift",
        "TestUtils.swift",
        "ThreadsSpec.swift",
        "UserCacheKeyMigrationSpec.swift",
        "UserCacheKeySpec.swift",
        "UserHashingSpec.swift"
      ],
      "target_dependencies" : [
        "Statsig"
      ],
      "type" : "test"
    },
    {
      "c99name" : "StatsigObjcTests",
      "module_type" : "ClangTarget",
      "name" : "StatsigObjcTests",
      "path" : "Tests/StatsigObjcTests",
      "product_dependencies" : [
        "OCMock"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/StatsigObjcTests/Resources/initialize.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "ObjcManualExposureSpec.m",
        "ObjcParameterStoreSpec.m",
        "ObjcStableIDSpec.m",
        "ObjcStatsigUserSpec.m",
        "ObjcTestUtils.m",
        "ObjcUsageSpec.m"
      ],
      "target_dependencies" : [
        "Statsig"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Statsig",
      "module_type" : "SwiftTarget",
      "name" : "Statsig",
      "path" : "Sources/Statsig",
      "product_memberships" : [
        "Statsig"
      ],
      "sources" : [
        "AtomicDictionary.swift",
        "BootstrapValidator.swift",
        "ClientError.swift",
        "Comparison.swift",
        "Concurrency/LockedValue.swift",
        "ConfigBase.swift",
        "ConfigProtocol.swift",
        "CryptoSwift.swift",
        "DNSQuery.swift",
        "Data+Statsig.swift",
        "DedupeKey.swift",
        "DeviceEnvironment.swift",
        "Diagnostics/CreateCacheMarker.swift",
        "Diagnostics/Diagnostics.swift",
        "Diagnostics/DiagnosticsEvent.swift",
        "Diagnostics/InitializeMarker.swift",
        "Diagnostics/InitializeStepMarker.swift",
        "Diagnostics/MarkerBase.swift",
        "Diagnostics/NetworkMarker.swift",
        "Diagnostics/OverallMarker.swift",
        "DynamicConfig.swift",
        "ErrorBoundary.swift",
        "EvaluationDetails.swift",
        "EvaluationResult.swift",
        "Evaluator.swift",
        "Event.swift",
        "EventLogger.swift",
        "ExternalInitializeResponse.swift",
        "FailedLogRequestStore.swift",
        "FeatureGate.swift",
        "Gzip.swift",
        "JsonValue.swift",
        "Layer.swift",
        "NetworkFallbackResolver.swift",
        "NetworkService.swift",
        "ObjectiveC/DynamicConfigObjC.swift",
        "ObjectiveC/FeatureGateObjC.swift",
        "ObjectiveC/LayerObjC.swift",
        "ObjectiveC/ParameterStoreObjC.swift",
        "ObjectiveC/StatsigObjC.swift",
        "ObjectiveC/StatsigOptionsObjC.swift",
        "ObjectiveC/StatsigOverridesObjC.swift",
        "ObjectiveC/StatsigUserObjC.swift",
        "OverrideAdapter/OnDeviceEvalAdapter.swift",
        "OverrideAdapter/OverrideAdapter.swift",
        "ParameterStore.swift",
        "PlatformCompatibility.swift",
        "PrintHandler.swift",
        "SDKKeyValidator.swift",
        "SpecsResponse.swift",
        "Statsig.swift",
        "StatsigClient+AppLifecycle.swift",
        "StatsigClient.swift",
        "StatsigDebugViewController.swift",
        "StatsigDynamicConfigValue.swift",
        "StatsigEnvironment.swift",
        "StatsigError.swift",
        "StatsigListening.swift",
        "StatsigMetadata.swift",
        "StatsigNetworkMetadataProvider.swift",
        "StatsigOptions.swift",
        "StatsigUser.swift",
        "StatsigUserCustomTypeConvertible.swift",
        "Storage/BootstrapMetadata.swift",
        "Storage/FileStorageAdapter.swift",
        "Storage/InternalStore.swift",
        "Storage/SDKConfigs.swift",
        "Storage/SDKFlags.swift",
        "Storage/StatsigValuesCache.swift",
        "Storage/StorageAdapter.swift",
        "Storage/StorageProviderToAdapter.swift",
        "Storage/StorageService.swift",
        "Storage/StorageServiceMigrationStatus.swift",
        "Storage/StoreItems/UserPayloadIndex.swift",
        "Storage/StoreItems/UserPayloadStore.swift",
        "Storage/UserDefaults/FileBasedUserDefaults.swift",
        "Storage/UserDefaults/StatsigUserDefaults.swift",
        "Storage/UserDefaults/StorageProviderBasedUserDefaults.swift",
        "Storage/UserDefaultsKeys.swift",
        "Threads.swift",
        "Time.swift",
        "URLResponse+Statsig.swift",
        "UserCacheKey.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.