The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Timeout, reference 0.3.1 (da7999), with Swift 6.2 (beta) for macOS (SPM) on 24 Jun 2025 13:15:56 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swhitty/swift-timeout.git
Reference: 0.3.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swhitty/swift-timeout
 * tag               0.3.1      -> FETCH_HEAD
HEAD is now at da7999b imports
Cloned https://github.com/swhitty/swift-timeout.git
Revision (git rev-parse @):
da7999b795522b1b57fc45fe947732f35517d4ad
SUCCESS checkout https://github.com/swhitty/swift-timeout.git at 0.3.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/swhitty/swift-timeout.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/10] Compiling Timeout Transferring.swift
[4/10] Compiling Timeout MutexSwift5.swift
[5/10] Compiling Timeout TimeoutController.swift
/Users/admin/builder/spi-builder-workspace/Sources/TimeoutController.swift:138:21: warning: will never be executed
136 |         while let task = startPendingTask() {
137 |             do {
138 |                 try await withTaskCancellationHandler {
    |                     |     `- note: a call to a never-returning function
    |                     `- warning: will never be executed
139 |                     try await task.value
140 |                 } onCancel: {
/Users/admin/builder/spi-builder-workspace/Sources/TimeoutController.swift:139:25: warning: will never be executed
137 |             do {
138 |                 try await withTaskCancellationHandler {
139 |                     try await task.value
    |                         |          `- note: a call to a never-returning function
    |                         `- warning: will never be executed
140 |                 } onCancel: {
141 |                     task.cancel()
[6/10] Compiling Timeout Task+SleepIndefinitely.swift
[7/10] Compiling Timeout AsyncTimeoutSequence.swift
[8/10] Emitting module Timeout
[9/10] Compiling Timeout withThrowingTimeout.swift
[10/10] Compiling Timeout Mutex.swift
Build complete! (4.08s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Timeout",
  "name" : "Timeout",
  "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" : "6.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Timeout",
      "targets" : [
        "Timeout"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TimeoutTests",
      "module_type" : "SwiftTarget",
      "name" : "TimeoutTests",
      "path" : "Tests",
      "sources" : [
        "AsyncTimeoutSequenceTests.swift",
        "AsyncTimeoutSequenceXCTests.swift",
        "MutexTests.swift",
        "MutexXCTests.swift",
        "Task+SleepIndefinitelyTests.swift",
        "withThrowingTimeoutTests.swift",
        "withThrowingTimeoutXCTests.swift"
      ],
      "target_dependencies" : [
        "Timeout"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Timeout",
      "module_type" : "SwiftTarget",
      "name" : "Timeout",
      "path" : "Sources",
      "product_memberships" : [
        "Timeout"
      ],
      "sources" : [
        "AsyncTimeoutSequence.swift",
        "Mutex.swift",
        "MutexSwift5.swift",
        "Task+SleepIndefinitely.swift",
        "TimeoutController.swift",
        "Transferring.swift",
        "withThrowingTimeout.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Done.