The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Segment, reference main (729d6a), with Swift 6.0 for Linux on 30 Apr 2026 04:52:57 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/segmentio/analytics-swift.git
Reference: main
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/segmentio/analytics-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 729d6ae Version 1.9.4
Cloned https://github.com/segmentio/analytics-swift.git
Revision (git rev-parse @):
729d6ae08b5488123f5c8e973cd4385ffa84f46a
SUCCESS checkout https://github.com/segmentio/analytics-swift.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/segmentio/analytics-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:6ccbc5e7995f6c524368c1828f9c677d1727c16390a603fc668217aec5f5123a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest
Fetching https://github.com/segmentio/sovran-swift.git
Fetching https://github.com/segmentio/jsonsafeencoding-swift.git
[1/371] Fetching sovran-swift
[372/448] Fetching sovran-swift, jsonsafeencoding-swift
Fetched https://github.com/segmentio/sovran-swift.git from cache (0.26s)
Fetched https://github.com/segmentio/jsonsafeencoding-swift.git from cache (0.26s)
Computing version for https://github.com/segmentio/jsonsafeencoding-swift.git
Computed https://github.com/segmentio/jsonsafeencoding-swift.git at 2.0.0 (4.56s)
Computing version for https://github.com/segmentio/sovran-swift.git
Computed https://github.com/segmentio/sovran-swift.git at 1.1.2 (1.51s)
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
Building for debugging...
[0/5] Write sources
[0/5] Copying PrivacyInfo.xcprivacy
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/18] Emitting module JSONSafeEncoding
[7/18] Compiling Sovran Version.swift
[8/18] Compiling JSONSafeEncoding Version.swift
[9/18] Compiling JSONSafeEncoding JSONError.swift
[10/18] Compiling Sovran Action.swift
[11/18] Emitting module Sovran
[12/18] Compiling JSONSafeEncoding JSONValue.swift
[13/18] Compiling Sovran Subscriber.swift
[14/18] Compiling Sovran Testing.swift
[15/18] Compiling Sovran State.swift
[16/18] Compiling Sovran Store.swift
[18/19] Compiling JSONSafeEncoding Extensions.swift
[19/19] Compiling JSONSafeEncoding JSONSafeEncoder.swift
[21/79] Emitting module Segment
[22/87] Compiling Segment Plugins.swift
[23/87] Compiling Segment Context.swift
[24/87] Compiling Segment DestinationMetadataPlugin.swift
[25/87] Compiling Segment DeviceToken.swift
[26/87] Compiling Segment LinuxLifecycleMonitor.swift
[27/87] Compiling Segment macOSLifecycleEvents.swift
[28/87] Compiling Segment macOSLifecycleMonitor.swift
[29/87] Compiling Segment AppleUtils.swift
[30/87] Compiling Segment LinuxUtils.swift
[31/87] Compiling Segment Analytics.swift
[32/87] Compiling Segment Configuration.swift
[33/87] Compiling Segment Deprecations.swift
[34/87] Compiling Segment Errors.swift
[35/87] Compiling Segment Events.swift
[36/87] Compiling Segment ObjCAnalytics.swift
[37/87] Compiling Segment ObjCConfiguration.swift
[38/87] Compiling Segment ObjCEvents.swift
[39/87] Compiling Segment ObjCPlugin.swift
[40/87] Compiling Segment OutputFileStream.swift
[41/87] Compiling Segment CountBasedFlushPolicy.swift
[42/87] Compiling Segment FlushPolicy.swift
[43/87] Compiling Segment IntervalBasedFlushPolicy.swift
[44/87] Compiling Segment QueueTimer.swift
[45/87] Compiling Segment HttpConfig.swift
[46/87] Compiling Segment RetryState.swift
[47/87] Compiling Segment RetryStateMachine.swift
[48/87] Compiling Segment RetryTypes.swift
[49/87] Compiling Segment TimeProvider.swift
[50/87] Compiling Segment DataStore.swift
[51/87] Compiling Segment Storage.swift
[52/87] Compiling Segment TransientDB.swift
[53/87] Compiling Segment DirectoryStore.swift
[54/87] Compiling Segment MemoryStore.swift
[55/87] Compiling Segment FileHandleExt.swift
[56/87] Compiling Segment CompletionGroup.swift
[57/87] Compiling Segment JSON.swift
[58/87] Compiling Segment JSONKeyPath.swift
[59/87] Compiling Segment Logging.swift
[60/87] Compiling Segment HTTPClient.swift
[61/87] Compiling Segment HTTPSession+Apple.swift
[62/87] Compiling Segment HTTPSession.swift
[63/87] Compiling Segment Noncodable.swift
[64/87] Compiling Segment LineStream.swift
[65/87] Compiling Segment Telemetry.swift
[66/87] Compiling Segment UserAgent.swift
[67/87] Compiling Segment Utils.swift
[68/87] Compiling Segment iso8601.swift
[69/87] Compiling Segment Version.swift
[70/87] Compiling Segment Waiting.swift
[71/87] Compiling Segment resource_bundle_accessor.swift
[72/87] Compiling Segment VendorSystem.swift
[73/87] Compiling Segment WindowsUtils.swift
[74/87] Compiling Segment iOSDelegation.swift
[75/87] Compiling Segment iOSLifecycleEvents.swift
[76/87] Compiling Segment iOSLifecycleMonitor.swift
[77/87] Compiling Segment watchOSDelegation.swift
[78/87] Compiling Segment watchOSLifecycleEvents.swift
[79/87] Compiling Segment watchOSLifecycleMonitor.swift
[80/87] Compiling Segment SegmentDestination.swift
[81/87] Compiling Segment StartupQueue.swift
[82/87] Compiling Segment Settings.swift
[83/87] Compiling Segment Startup.swift
[84/87] Compiling Segment State.swift
[85/87] Compiling Segment Timeline.swift
[86/87] Compiling Segment Types.swift
[87/87] Compiling Segment Atomic.swift
Build complete! (42.94s)
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" : "/host/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",
        "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/HttpConfig_Tests.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",
        "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" : "/host/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/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"
}
basic-6.0-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:6ccbc5e7995f6c524368c1828f9c677d1727c16390a603fc668217aec5f5123a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest
Done.