This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of Promises with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/google/promises.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/google/promises
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 540318e Bump version to 2.4.0.
Cloned https://github.com/google/promises.git
Revision (git rev-parse @):
540318ecedd63d883069ae7f1ed811a2df00b6ac
SUCCESS checkout https://github.com/google/promises.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/google/promises.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/26] Write sources
[2/26] Copying PrivacyInfo.xcprivacy
[4/26] Write swift-version-6F35C1178C84523A.txt
[5/26] Compiling FBLPromises FBLPromiseError.m
[6/26] Compiling FBLPromises FBLPromise+Retry.m
[7/26] Compiling FBLPromises FBLPromise+Reduce.m
[8/26] Compiling FBLPromises FBLPromise+Testing.m
[9/26] Compiling FBLPromises FBLPromise.m
[10/26] Compiling FBLPromises FBLPromise+Recover.m
[11/26] Compiling FBLPromises FBLPromise+Race.m
[12/26] Compiling FBLPromises FBLPromise+Wrap.m
[13/26] Compiling FBLPromises FBLPromise+Validate.m
[14/26] Compiling FBLPromises FBLPromise+Do.m
[15/26] Compiling FBLPromises FBLPromise+Delay.m
[16/26] Compiling FBLPromises FBLPromise+Timeout.m
[17/26] Compiling FBLPromises FBLPromise+Catch.m
[18/26] Compiling FBLPromises FBLPromise+Await.m
[19/26] Compiling FBLPromises FBLPromise+Then.m
[20/26] Compiling FBLPromises resource_bundle_accessor.m
[21/26] Compiling FBLPromises FBLPromise+Async.m
[22/26] Compiling FBLPromises FBLPromise+Always.m
[23/26] Compiling FBLPromises FBLPromise+Any.m
[24/26] Compiling FBLPromises FBLPromise+All.m
[25/26] Compiling FBLPromisesTestHelpers FBLPromisesTestInteroperability.m
[27/45] Compiling Promises Promise+Wrap.swift
[28/45] Compiling Promises Promise.swift
[29/47] Compiling Promises Promise+Timeout.swift
[30/47] Compiling Promises Promise+Validate.swift
[31/47] Compiling Promises Promise+Reduce.swift
[32/47] Compiling Promises Promise+Retry.swift
[33/47] Compiling Promises Promise+Testing.swift
[34/47] Compiling Promises Promise+Then.swift
[35/47] Compiling Promises Promise+Delay.swift
[36/47] Compiling Promises Promise+Do.swift
[37/47] Compiling Promises Promise+All.swift
[38/47] Compiling Promises Promise+Always.swift
[39/47] Compiling Promises Promise+Race.swift
[40/47] Compiling Promises Promise+Recover.swift
[41/47] Emitting module Promises
[42/47] Compiling Promises Promise+Await.swift
[43/47] Compiling Promises Promise+Catch.swift
[44/47] Compiling Promises Promise+Any.swift
[45/47] Compiling Promises Promise+Async.swift
[46/47] Compiling Promises PromiseError.swift
[47/47] Compiling Promises resource_bundle_accessor.swift
[48/50] Compiling PromisesTestHelpers PromisesTestInteroperability.swift
[49/50] Compiling PromisesTestHelpers PromisesTestHelpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/PromisesTestHelpers/PromisesTestHelpers.swift:23:7: warning: capture of 'work' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |   public static func delay(_ interval: TimeInterval, work: @escaping () -> Void) {
22 |     DispatchQueue.main.asyncAfter(deadline: .now() + interval) {
23 |       work()
   |       |- warning: capture of 'work' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
24 |     }
25 |   }
/Users/admin/builder/spi-builder-workspace/Sources/PromisesTestHelpers/PromisesTestHelpers.swift:23:7: warning: sending 'work' risks causing data races; this is an error in the Swift 6 language mode
21 |   public static func delay(_ interval: TimeInterval, work: @escaping () -> Void) {
22 |     DispatchQueue.main.asyncAfter(deadline: .now() + interval) {
23 |       work()
   |       |- warning: sending 'work' risks causing data races; this is an error in the Swift 6 language mode
   |       `- note: task-isolated 'work' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
24 |     }
25 |   }
[50/50] Emitting module PromisesTestHelpers
Build complete! (21.30s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Promises",
  "name" : "Promises",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "FBLPromises",
      "targets" : [
        "FBLPromises"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "FBLPromisesTestHelpers",
      "targets" : [
        "FBLPromisesTestHelpers"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Promises",
      "targets" : [
        "Promises"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PromisesTestHelpers",
      "targets" : [
        "PromisesTestHelpers"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PromisesTests",
      "module_type" : "SwiftTarget",
      "name" : "PromisesTests",
      "path" : "Tests/PromisesTests",
      "sources" : [
        "Promise+AllTests.swift",
        "Promise+AlwaysTests.swift",
        "Promise+AnyTests.swift",
        "Promise+AsyncTests.swift",
        "Promise+AwaitTests.swift",
        "Promise+CatchTests.swift",
        "Promise+DelayTests.swift",
        "Promise+DoTests.swift",
        "Promise+RaceTests.swift",
        "Promise+RecoverTests.swift",
        "Promise+ReduceTests.swift",
        "Promise+RetryTests.swift",
        "Promise+StringTests.swift",
        "Promise+ThenTests.swift",
        "Promise+TimeoutTests.swift",
        "Promise+ValidateTests.swift",
        "Promise+WrapTests.swift",
        "PromiseTests.swift"
      ],
      "target_dependencies" : [
        "PromisesTestHelpers"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PromisesTestHelpers",
      "module_type" : "SwiftTarget",
      "name" : "PromisesTestHelpers",
      "path" : "Sources/PromisesTestHelpers",
      "product_memberships" : [
        "PromisesTestHelpers"
      ],
      "sources" : [
        "PromisesTestHelpers.swift",
        "PromisesTestInteroperability.swift"
      ],
      "target_dependencies" : [
        "Promises"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PromisesPerformanceTests",
      "module_type" : "SwiftTarget",
      "name" : "PromisesPerformanceTests",
      "path" : "Tests/PromisesPerformanceTests",
      "sources" : [
        "Promise+ThenPerformanceTests.swift"
      ],
      "target_dependencies" : [
        "FBLPromisesTestHelpers",
        "PromisesTestHelpers"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PromisesInteroperabilityTests",
      "module_type" : "SwiftTarget",
      "name" : "PromisesInteroperabilityTests",
      "path" : "Tests/PromisesInteroperabilityTests",
      "sources" : [
        "Promise+CatchInteroperabilityTests.swift",
        "Promise+ThenInteroperabilityTests.swift"
      ],
      "target_dependencies" : [
        "FBLPromisesTestHelpers",
        "PromisesTestHelpers"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Promises",
      "module_type" : "SwiftTarget",
      "name" : "Promises",
      "path" : "Sources/Promises",
      "product_memberships" : [
        "Promises",
        "PromisesTestHelpers"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Promises/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Promise+All.swift",
        "Promise+Always.swift",
        "Promise+Any.swift",
        "Promise+Async.swift",
        "Promise+Await.swift",
        "Promise+Catch.swift",
        "Promise+Delay.swift",
        "Promise+Do.swift",
        "Promise+Race.swift",
        "Promise+Recover.swift",
        "Promise+Reduce.swift",
        "Promise+Retry.swift",
        "Promise+Testing.swift",
        "Promise+Then.swift",
        "Promise+Timeout.swift",
        "Promise+Validate.swift",
        "Promise+Wrap.swift",
        "Promise.swift",
        "PromiseError.swift"
      ],
      "target_dependencies" : [
        "FBLPromises"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FBLPromisesTests",
      "module_type" : "ClangTarget",
      "name" : "FBLPromisesTests",
      "path" : "Tests/FBLPromisesTests",
      "sources" : [
        "FBLPromise+AllTests.m",
        "FBLPromise+AlwaysTests.m",
        "FBLPromise+AnyTests.m",
        "FBLPromise+AsyncTests.m",
        "FBLPromise+AwaitTests.m",
        "FBLPromise+CatchTests.m",
        "FBLPromise+DelayTests.m",
        "FBLPromise+DoTests.m",
        "FBLPromise+RaceTests.m",
        "FBLPromise+RecoverTests.m",
        "FBLPromise+ReduceTests.m",
        "FBLPromise+RetryTests.m",
        "FBLPromise+ThenTests.m",
        "FBLPromise+TimeoutTests.m",
        "FBLPromise+ValidateTests.m",
        "FBLPromise+WrapTests.m",
        "FBLPromiseTests.m"
      ],
      "target_dependencies" : [
        "FBLPromisesTestHelpers"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FBLPromisesTestHelpers",
      "module_type" : "ClangTarget",
      "name" : "FBLPromisesTestHelpers",
      "path" : "Sources/FBLPromisesTestHelpers",
      "product_memberships" : [
        "FBLPromisesTestHelpers"
      ],
      "sources" : [
        "FBLPromisesTestInteroperability.m"
      ],
      "target_dependencies" : [
        "FBLPromises"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FBLPromisesPerformanceTests",
      "module_type" : "ClangTarget",
      "name" : "FBLPromisesPerformanceTests",
      "path" : "Tests/FBLPromisesPerformanceTests",
      "sources" : [
        "FBLPromise+ThenPerformanceTests.m"
      ],
      "target_dependencies" : [
        "FBLPromisesTestHelpers"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FBLPromisesInteroperabilityTests",
      "module_type" : "ClangTarget",
      "name" : "FBLPromisesInteroperabilityTests",
      "path" : "Tests/FBLPromisesInteroperabilityTests",
      "sources" : [
        "FBLPromise+CatchInteroperabilityTests.m",
        "FBLPromise+ThenInteroperabilityTests.m"
      ],
      "target_dependencies" : [
        "FBLPromisesTestHelpers",
        "PromisesTestHelpers"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FBLPromises",
      "module_type" : "ClangTarget",
      "name" : "FBLPromises",
      "path" : "Sources/FBLPromises",
      "product_memberships" : [
        "FBLPromises",
        "FBLPromisesTestHelpers",
        "Promises",
        "PromisesTestHelpers"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/FBLPromises/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "FBLPromise+All.m",
        "FBLPromise+Always.m",
        "FBLPromise+Any.m",
        "FBLPromise+Async.m",
        "FBLPromise+Await.m",
        "FBLPromise+Catch.m",
        "FBLPromise+Delay.m",
        "FBLPromise+Do.m",
        "FBLPromise+Race.m",
        "FBLPromise+Recover.m",
        "FBLPromise+Reduce.m",
        "FBLPromise+Retry.m",
        "FBLPromise+Testing.m",
        "FBLPromise+Then.m",
        "FBLPromise+Timeout.m",
        "FBLPromise+Validate.m",
        "FBLPromise+Wrap.m",
        "FBLPromise.m",
        "FBLPromiseError.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.