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 ExpectToEventuallyEqual, reference v2.0.0 (9bde19), with Swift 6.0 for macOS (SPM) on 11 Apr 2025 11:39:47 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jonreid/ExpectToEventuallyEqual.git
Reference: v2.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jonreid/ExpectToEventuallyEqual
 * tag               v2.0.0     -> FETCH_HEAD
HEAD is now at 9bde197 . d Update README to show 2.0.0
Cloned https://github.com/jonreid/ExpectToEventuallyEqual.git
Revision (git rev-parse @):
9bde197316c12d4be18f7646629c87f3d9321728
SUCCESS checkout https://github.com/jonreid/ExpectToEventuallyEqual.git at v2.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",
  "dependencies": [
    {
      "identity": "expecttoeventuallyequal",
      "name": "ExpectToEventuallyEqual",
      "url": "https://github.com/jonreid/ExpectToEventuallyEqual.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ExpectToEventuallyEqual",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/jonreid/ExpectToEventuallyEqual.git
[1/847] Fetching expecttoeventuallyequal
Fetched https://github.com/jonreid/ExpectToEventuallyEqual.git from cache (0.73s)
Creating working copy for https://github.com/jonreid/ExpectToEventuallyEqual.git
Working copy of https://github.com/jonreid/ExpectToEventuallyEqual.git resolved at v2.0.0 (9bde197)
warning: '.resolve-product-dependencies': dependency 'expecttoeventuallyequal' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/jonreid/ExpectToEventuallyEqual.git
https://github.com/jonreid/ExpectToEventuallyEqual.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ExpectToEventuallyEqual",
  "name" : "ExpectToEventuallyEqual",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "ExpectToEventuallyEqual",
      "targets" : [
        "ExpectToEventuallyEqual"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ExpectToEventuallyEqualTests",
      "module_type" : "SwiftTarget",
      "name" : "ExpectToEventuallyEqualTests",
      "path" : "Tests/ExpectToEventuallyEqualTests",
      "sources" : [
        "DescribeMismatchTests.swift",
        "ExpectToEventuallyEqualTests.swift",
        "FailSpy.swift"
      ],
      "target_dependencies" : [
        "ExpectToEventuallyEqual"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ExpectToEventuallyEqual",
      "module_type" : "SwiftTarget",
      "name" : "ExpectToEventuallyEqual",
      "path" : "Sources/ExpectToEventuallyEqual",
      "product_memberships" : [
        "ExpectToEventuallyEqual"
      ],
      "sources" : [
        "DescribeMismatch.swift",
        "ExpectToEventuallyEqual.swift",
        "Fail.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
[3/6] Compiling ExpectToEventuallyEqual Fail.swift
[4/6] Emitting module ExpectToEventuallyEqual
[5/6] Compiling ExpectToEventuallyEqual DescribeMismatch.swift
[6/6] Compiling ExpectToEventuallyEqual ExpectToEventuallyEqual.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExpectToEventuallyEqual/ExpectToEventuallyEqual.swift:20:32: warning: non-sendable type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
 6 |
 7 | @MainActor
 8 | public func expectToEventuallyEqual<T: Equatable>(
   |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 9 |     actual: () async throws -> T,
10 |     expected: T,
   :
18 |     let timeoutDate = Date(timeIntervalSinceNow: timeout)
19 |
20 |     var lastActual = try await actual()
   |                                `- warning: non-sendable type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
21 |     var tryCount = 0
22 |     repeat {
/Users/admin/builder/spi-builder-workspace/Sources/ExpectToEventuallyEqual/ExpectToEventuallyEqual.swift:28:32: warning: non-sendable type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
 6 |
 7 | @MainActor
 8 | public func expectToEventuallyEqual<T: Equatable>(
   |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 9 |     actual: () async throws -> T,
10 |     expected: T,
   :
26 |         }
27 |         try await Task.sleep(nanoseconds: 10_000_000)
28 |         lastActual = try await actual()
   |                                `- warning: non-sendable type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
29 |     } while Date().compare(timeoutDate) == .orderedAscending
30 |
Build complete! (11.73s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ExpectToEventuallyEqual",
  "name" : "ExpectToEventuallyEqual",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "ExpectToEventuallyEqual",
      "targets" : [
        "ExpectToEventuallyEqual"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ExpectToEventuallyEqualTests",
      "module_type" : "SwiftTarget",
      "name" : "ExpectToEventuallyEqualTests",
      "path" : "Tests/ExpectToEventuallyEqualTests",
      "sources" : [
        "DescribeMismatchTests.swift",
        "ExpectToEventuallyEqualTests.swift",
        "FailSpy.swift"
      ],
      "target_dependencies" : [
        "ExpectToEventuallyEqual"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ExpectToEventuallyEqual",
      "module_type" : "SwiftTarget",
      "name" : "ExpectToEventuallyEqual",
      "path" : "Sources/ExpectToEventuallyEqual",
      "product_memberships" : [
        "ExpectToEventuallyEqual"
      ],
      "sources" : [
        "DescribeMismatch.swift",
        "ExpectToEventuallyEqual.swift",
        "Fail.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.