The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Segment, reference main (4fdb4a), with Swift 6.4 for Linux on 25 Oct 2026 00:16:02 UTC.

Swift 6 data race errors: 0

Build Command

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

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 /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 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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/segmentio/analytics-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:ad3afec1d6cff9a88dbd06b5b923cd7d46d6f55cc44d4c49fe48cde94ee812a7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Fetching https://github.com/segmentio/jsonsafeencoding-swift.git
Fetching https://github.com/segmentio/sovran-swift.git
[1/93] Fetching jsonsafeencoding-swift
[97/481] Fetching jsonsafeencoding-swift, sovran-swift
Fetched https://github.com/segmentio/jsonsafeencoding-swift.git (0.37s)
[24/388] Fetching sovran-swift
Fetched https://github.com/segmentio/sovran-swift.git (0.42s)
Computing version for https://github.com/segmentio/jsonsafeencoding-swift.git
Computed https://github.com/segmentio/jsonsafeencoding-swift.git at 2.0.0 (2.00s)
Computing version for https://github.com/segmentio/sovran-swift.git
Computed https://github.com/segmentio/sovran-swift.git at 1.1.2 (0.30s)
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...
[Computing dependencies]
[Pre-planning 1 / 155]
[Planning deferred tasks]
[33 / 58]
[47 / 73] Sovran
[48 / 73] Sovran
[50 / 73] Sovran
[56 / 73] JSONSafeEncoding
[60 / 73] Sovran
[61 / 73] Sovran
[67 / 83] Segment
[68 / 83] Segment
[71 / 84] Sovran
[73 / 84] Sovran
[74 / 85] Sovran
[77 / 85]
[77 / 85] Segment
[82 / 85]
/host/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)
[82 / 85] Segment
/host/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)
[85 / 86] Segment
Build complete! (10.90 secs)
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",
        "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" : "/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/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"
}
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:ad3afec1d6cff9a88dbd06b5b923cd7d46d6f55cc44d4c49fe48cde94ee812a7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Done.