The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Segment, reference main (4fdb4a), with Swift 6.4 for macOS (SPM) on 25 Oct 2026 00:30:31 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/segmentio/analytics-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/segmentio/analytics-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4fdb4a4 Drop retryable batches without Retry-After when backoff is disabled (#455)
Cloned https://github.com/segmentio/analytics-swift.git
Revision (git rev-parse @):
4fdb4a46d157b9e71d2ad495a5774e1a178b816f
SUCCESS checkout https://github.com/segmentio/analytics-swift.git at main
Fetching https://github.com/segmentio/jsonsafeencoding-swift.git
Fetching https://github.com/segmentio/sovran-swift.git
[1/93] Fetching jsonsafeencoding-swift
[94/481] Fetching jsonsafeencoding-swift, sovran-swift
Fetched https://github.com/segmentio/jsonsafeencoding-swift.git (0.79s)
Fetched https://github.com/segmentio/sovran-swift.git (0.79s)
Computing version for https://github.com/segmentio/jsonsafeencoding-swift.git
Computed https://github.com/segmentio/jsonsafeencoding-swift.git at 2.0.0 (11.25s)
Computing version for https://github.com/segmentio/sovran-swift.git
Computed https://github.com/segmentio/sovran-swift.git at 1.1.2 (0.65s)
Creating working copy for https://github.com/segmentio/sovran-swift.git
Working copy of https://github.com/segmentio/sovran-swift.git resolved at 1.1.2
Creating working copy for https://github.com/segmentio/jsonsafeencoding-swift.git
Working copy of https://github.com/segmentio/jsonsafeencoding-swift.git resolved at 2.0.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": "analytics-swift",
      "name": "Segment",
      "url": "https://github.com/segmentio/analytics-swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/analytics-swift",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "sovran-swift",
          "name": "Sovran",
          "url": "https://github.com/segmentio/sovran-swift.git",
          "version": "1.1.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/sovran-swift",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        },
        {
          "identity": "jsonsafeencoding-swift",
          "name": "JSONSafeEncoding",
          "url": "https://github.com/segmentio/jsonsafeencoding-swift.git",
          "version": "2.0.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/jsonsafeencoding-swift",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/segmentio/analytics-swift.git
[1/9950] Fetching analytics-swift
Fetched https://github.com/segmentio/analytics-swift.git (1.33s)
Fetching https://github.com/segmentio/sovran-swift.git from cache
Fetching https://github.com/segmentio/jsonsafeencoding-swift.git from cache
Fetched https://github.com/segmentio/jsonsafeencoding-swift.git from cache (0.49s)
Fetched https://github.com/segmentio/sovran-swift.git from cache (0.49s)
Computing version for https://github.com/segmentio/jsonsafeencoding-swift.git
Computed https://github.com/segmentio/jsonsafeencoding-swift.git at 2.0.0 (0.56s)
Computing version for https://github.com/segmentio/sovran-swift.git
Computed https://github.com/segmentio/sovran-swift.git at 1.1.2 (0.03s)
Creating working copy for https://github.com/segmentio/sovran-swift.git
Working copy of https://github.com/segmentio/sovran-swift.git resolved at 1.1.2
Creating working copy for https://github.com/segmentio/jsonsafeencoding-swift.git
Working copy of https://github.com/segmentio/jsonsafeencoding-swift.git resolved at 2.0.0
Creating working copy for https://github.com/segmentio/analytics-swift.git
Working copy of https://github.com/segmentio/analytics-swift.git resolved at main (4fdb4a4)
warning: '.resolve-product-dependencies': dependency 'analytics-swift' is not used by any target
Found 2 product dependencies
  - Sovran
  - JSONSafeEncoding
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/segmentio/analytics-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[42 / 69] Segment_Segment
[44 / 69]
[46 / 71] JSONSafeEncoding
[55 / 118]
[58 / 118]
[63 / 118]
[65 / 118]
[69 / 118]
[71 / 118]
[74 / 118]
[77 / 118]
[79 / 118]
[80 / 118]
[91 / 118] JSONSafeEncoding
[92 / 118] Sovran
[95 / 118] Sovran
[106 / 119]
[108 / 164]
[109 / 164]
[110 / 164]
[112 / 164]
[113 / 164]
[114 / 164]
[116 / 164]
[118 / 164]
[129 / 164]
[135 / 164]
[137 / 164]
[140 / 164]
[142 / 164]
[144 / 164]
[155 / 164] Segment
[161 / 164] Segment
Build complete! (12.92 sec)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/OutputFileStream.swift:73:77: warning: '13.4' is not a valid version number for watchOS
 71 |     func write(_ data: Data) throws {
 72 |         guard data.isEmpty == false else { return }
 73 |         if #available(macOS 10.15.4, iOS 13.4, macCatalyst 13.4, tvOS 13.4, watchOS 13.4, *) {
    |                                                                             `- warning: '13.4' is not a valid version number for watchOS
 74 |             do {
 75 |                 try fileHandle?.write(contentsOf: data)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Storage/Utilities/LineStream.swift:109:77: warning: '13.4' is not a valid version number for watchOS
107 |         data?.append(LineStreamConstants.delimiter)
108 |         guard let data else { return }
109 |         if #available(macOS 10.15.4, iOS 13.4, macCatalyst 13.4, tvOS 13.4, watchOS 13.4, *) {
    |                                                                             `- warning: '13.4' is not a valid version number for watchOS
110 |             do {
111 |                 try fileHandle.write(contentsOf: data)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "sovran-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/segmentio/sovran-swift.git"
    },
    {
      "identity" : "jsonsafeencoding-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/segmentio/jsonsafeencoding-swift.git"
    }
  ],
  "manifest_display_name" : "Segment",
  "name" : "Segment",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "7.1"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Segment",
      "targets" : [
        "Segment"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Segment_Tests",
      "module_type" : "SwiftTarget",
      "name" : "Segment-Tests",
      "path" : "Tests/Segment-Tests",
      "sources" : [
        "Analytics_Tests.swift",
        "Atomic_Tests.swift",
        "BackgroundFlush_Tests.swift",
        "CheckSettingsConcurrency_Tests.swift",
        "CheckSettingsDebounce_Tests.swift",
        "CompletionGroup_Tests.swift",
        "DirectoryStore_Hardening_Tests.swift",
        "FlushPolicy_Tests.swift",
        "HTTPClient_Tests.swift",
        "JSON_Tests.swift",
        "KeyPath_Tests.swift",
        "MemoryLeak_Tests.swift",
        "ObjC_Tests.swift",
        "Retry_Tests/FlushData_Tests.swift",
        "Retry_Tests/FlushFiles_Tests.swift",
        "Retry_Tests/HttpConfig_Tests.swift",
        "Retry_Tests/RetryAfterGenericTests.swift",
        "Retry_Tests/RetryChain_Tests.swift",
        "Retry_Tests/RetryStateMachine_Tests.swift",
        "Retry_Tests/RetryState_Tests.swift",
        "Retry_Tests/RetryTypes_Tests.swift",
        "Retry_Tests/Storage_RetryState_Tests.swift",
        "RunOnce_Tests.swift",
        "SegmentDestination_Tests.swift",
        "Storage_Tests.swift",
        "StressTests.swift",
        "Support/TestUtilities.swift",
        "Telemetry_Tests.swift",
        "Timeline_Tests.swift",
        "UserAgentTests.swift",
        "Waiting_Tests.swift",
        "WindowsVendorSystem_Tests.swift",
        "XCTestManifests.swift",
        "iOSLifecycle_Tests.swift"
      ],
      "target_dependencies" : [
        "Segment"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Segment",
      "module_type" : "SwiftTarget",
      "name" : "Segment",
      "path" : "Sources/Segment",
      "product_dependencies" : [
        "Sovran",
        "JSONSafeEncoding"
      ],
      "product_memberships" : [
        "Segment"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Segment/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Analytics.swift",
        "Configuration.swift",
        "Deprecations.swift",
        "Errors.swift",
        "Events.swift",
        "ObjC/ObjCAnalytics.swift",
        "ObjC/ObjCConfiguration.swift",
        "ObjC/ObjCEvents.swift",
        "ObjC/ObjCPlugin.swift",
        "Plugins.swift",
        "Plugins/Context.swift",
        "Plugins/DestinationMetadataPlugin.swift",
        "Plugins/DeviceToken.swift",
        "Plugins/Platforms/Linux/LinuxLifecycleMonitor.swift",
        "Plugins/Platforms/Mac/macOSLifecycleEvents.swift",
        "Plugins/Platforms/Mac/macOSLifecycleMonitor.swift",
        "Plugins/Platforms/Vendors/AppleUtils.swift",
        "Plugins/Platforms/Vendors/LinuxUtils.swift",
        "Plugins/Platforms/Vendors/VendorSystem.swift",
        "Plugins/Platforms/Vendors/WindowsUtils.swift",
        "Plugins/Platforms/iOS/iOSDelegation.swift",
        "Plugins/Platforms/iOS/iOSLifecycleEvents.swift",
        "Plugins/Platforms/iOS/iOSLifecycleMonitor.swift",
        "Plugins/Platforms/watchOS/watchOSDelegation.swift",
        "Plugins/Platforms/watchOS/watchOSLifecycleEvents.swift",
        "Plugins/Platforms/watchOS/watchOSLifecycleMonitor.swift",
        "Plugins/SegmentDestination.swift",
        "Plugins/StartupQueue.swift",
        "Settings.swift",
        "Startup.swift",
        "State.swift",
        "Timeline.swift",
        "Types.swift",
        "Utilities/Atomic.swift",
        "Utilities/CompletionGroup.swift",
        "Utilities/JSON.swift",
        "Utilities/JSONKeyPath.swift",
        "Utilities/Logging.swift",
        "Utilities/Networking/HTTPClient.swift",
        "Utilities/Networking/HTTPSession+Apple.swift",
        "Utilities/Networking/HTTPSession.swift",
        "Utilities/Noncodable.swift",
        "Utilities/OutputFileStream.swift",
        "Utilities/Policies/CountBasedFlushPolicy.swift",
        "Utilities/Policies/FlushPolicy.swift",
        "Utilities/Policies/IntervalBasedFlushPolicy.swift",
        "Utilities/QueueTimer.swift",
        "Utilities/Retry/HttpConfig.swift",
        "Utilities/Retry/RetryState.swift",
        "Utilities/Retry/RetryStateMachine.swift",
        "Utilities/Retry/RetryTypes.swift",
        "Utilities/Retry/TimeProvider.swift",
        "Utilities/RunOnce.swift",
        "Utilities/Storage/DataStore.swift",
        "Utilities/Storage/Storage.swift",
        "Utilities/Storage/TransientDB.swift",
        "Utilities/Storage/Types/DirectoryStore.swift",
        "Utilities/Storage/Types/MemoryStore.swift",
        "Utilities/Storage/Utilities/FileHandleExt.swift",
        "Utilities/Storage/Utilities/LineStream.swift",
        "Utilities/Telemetry.swift",
        "Utilities/UserAgent.swift",
        "Utilities/Utils.swift",
        "Utilities/iso8601.swift",
        "Version.swift",
        "Waiting.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.