The Swift Package Index logo.Swift Package Index

Build Information

Successful build of AsyncExpectations, reference 0.2.0 (667fac), with Swift 6.2 for macOS (SPM) on 20 Jun 2025 09:24:54 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/bangerang/swift-async-expectations.git
Reference: 0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bangerang/swift-async-expectations
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 667facd Merge pull request #6 from KaiOelfke/sendable-expressions-instead-of-mainactor
Cloned https://github.com/bangerang/swift-async-expectations.git
Revision (git rev-parse @):
667facd8ccfa37d4263ad496e0d3a95ea39f5321
SUCCESS checkout https://github.com/bangerang/swift-async-expectations.git at 0.2.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/bangerang/swift-async-expectations.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/12] Compiling XCTestDynamicOverlay Unimplemented.swift
[5/12] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[6/12] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[7/12] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[8/12] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[9/12] Compiling XCTestDynamicOverlay XCTFail.swift
[10/12] Compiling XCTestDynamicOverlay Deprecations.swift
[11/12] Emitting module XCTestDynamicOverlay
[12/12] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[13/14] Emitting module AsyncExpectations
[14/14] Compiling AsyncExpectations AsyncExpectations.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncExpectations/AsyncExpectations.swift:85:27: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
 83 |                                       line: UInt = #line) async throws {
 84 |     let expression = { @Sendable in
 85 |         async let first = expression1()
    |                           `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
 86 |         async let second = expression2()
 87 |         return try await first == second
/Users/admin/builder/spi-builder-workspace/Sources/AsyncExpectations/AsyncExpectations.swift:80:41: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
 78 | ///   - line: The line number where the failure occurs. The default is the line number where you call this function.
 79 | public func expectEqual<T: Equatable>(timeout: TimeInterval = 1,
 80 |                                       _ expression1: @Sendable @escaping @autoclosure () throws -> T,
    |                                         `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
 81 |                                       _ expression2: @Sendable @escaping @autoclosure () throws -> T,
 82 |                                       file: StaticString = #file,
/Users/admin/builder/spi-builder-workspace/Sources/AsyncExpectations/AsyncExpectations.swift:108:27: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
106 |                                       line: UInt = #line) async throws {
107 |     let expression = { @Sendable in
108 |         async let first = expression1()
    |                           `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
109 |         async let second = expression2()
110 |         return try await first == second
/Users/admin/builder/spi-builder-workspace/Sources/AsyncExpectations/AsyncExpectations.swift:103:41: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
101 | ///   - line: The line number where the failure occurs. The default is the line number where you call this function.
102 | public func expectEqual<T: Equatable>(timeout: TimeInterval = 1,
103 |                                       _ expression1: @Sendable @escaping () async throws -> T,
    |                                         `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
104 |                                       _ expression2: @Sendable @escaping () async throws -> T,
105 |                                       file: StaticString = #file,
/Users/admin/builder/spi-builder-workspace/Sources/AsyncExpectations/AsyncExpectations.swift:135:27: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
133 |                                          line: UInt = #line) async throws {
134 |     let expression = { @Sendable in
135 |         async let first = expression1()
    |                           `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
136 |         async let second = expression2()
137 |         return try await first != second
/Users/admin/builder/spi-builder-workspace/Sources/AsyncExpectations/AsyncExpectations.swift:130:44: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
128 | ///   - line: The line number where the failure occurs. The default is the line number where you call this function.
129 | public func expectNotEqual<T: Equatable>(timeout: TimeInterval = 1,
130 |                                          _ expression1: @Sendable @escaping @autoclosure () throws -> T,
    |                                            `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
131 |                                          _ expression2: @Sendable @escaping @autoclosure () throws -> T,
132 |                                          file: StaticString = #file,
/Users/admin/builder/spi-builder-workspace/Sources/AsyncExpectations/AsyncExpectations.swift:158:27: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
156 |                                          line: UInt = #line) async throws {
157 |     let expression = { @Sendable in
158 |         async let first = expression1()
    |                           `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
159 |         async let second = expression2()
160 |         return try await first != second
/Users/admin/builder/spi-builder-workspace/Sources/AsyncExpectations/AsyncExpectations.swift:153:44: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
151 | ///   - line: The line number where the failure occurs. The default is the line number where you call this function.
152 | public func expectNotEqual<T: Equatable>(timeout: TimeInterval = 1,
153 |                                          _ expression1: @Sendable @escaping () async throws -> T,
    |                                            `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
154 |                                          _ expression2: @Sendable @escaping () async throws -> T,
155 |                                          file: StaticString = #file,
/Users/admin/builder/spi-builder-workspace/Sources/AsyncExpectations/AsyncExpectations.swift:355:27: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
353 |                                           line: UInt = #line) async throws {
354 |     let expression = { @Sendable in
355 |         async let first = expression1()
    |                           `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
356 |         async let second = expression2()
357 |         return try await first < second
/Users/admin/builder/spi-builder-workspace/Sources/AsyncExpectations/AsyncExpectations.swift:350:45: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
348 | ///   - line: The line number where the failure occurs. The default is the line number where you call this function.
349 | public func expectLessThan<T: Comparable>(timeout: TimeInterval = 1,
350 |                                           _ expression1: @Sendable @escaping @autoclosure () throws -> T,
    |                                             `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
351 |                                           _ expression2: @Sendable @escaping @autoclosure () throws -> T,
352 |                                           file: StaticString = #file,
/Users/admin/builder/spi-builder-workspace/Sources/AsyncExpectations/AsyncExpectations.swift:378:27: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
376 |                                           line: UInt = #line) async throws {
377 |     let expression = { @Sendable in
378 |         async let first = expression1()
    |                           `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
379 |         async let second = expression2()
380 |         return try await first < second
/Users/admin/builder/spi-builder-workspace/Sources/AsyncExpectations/AsyncExpectations.swift:373:45: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
371 | ///   - line: The line number where the failure occurs. The default is the line number where you call this function.
372 | public func expectLessThan<T: Comparable>(timeout: TimeInterval = 1,
373 |                                           _ expression1: @Sendable @escaping () async throws -> T,
    |                                             `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
374 |                                           _ expression2: @Sendable @escaping () async throws -> T,
375 |                                           file: StaticString = #file,
/Users/admin/builder/spi-builder-workspace/Sources/AsyncExpectations/AsyncExpectations.swift:405:27: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
403 |                                                  line: UInt = #line) async throws {
404 |     let expression = { @Sendable in
405 |         async let first = expression1()
    |                           `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
406 |         async let second = expression2()
407 |         return try await first <= second
/Users/admin/builder/spi-builder-workspace/Sources/AsyncExpectations/AsyncExpectations.swift:400:52: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
398 | ///   - line: The line number where the failure occurs. The default is the line number where you call this function.
399 | public func expectLessThanOrEqual<T: Comparable>(timeout: TimeInterval = 1,
400 |                                                  _ expression1: @Sendable @escaping @autoclosure () throws -> T,
    |                                                    `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
401 |                                                  _ expression2: @escaping  @autoclosure () throws -> T,
402 |                                                  file: StaticString = #file,
/Users/admin/builder/spi-builder-workspace/Sources/AsyncExpectations/AsyncExpectations.swift:428:27: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
426 |                                                  line: UInt = #line) async throws {
427 |     let expression = { @Sendable in
428 |         async let first = expression1()
    |                           `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
429 |         async let second = expression2()
430 |         return try await first <= second
/Users/admin/builder/spi-builder-workspace/Sources/AsyncExpectations/AsyncExpectations.swift:423:52: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
421 | ///   - line: The line number where the failure occurs. The default is the line number where you call this function.
422 | public func expectLessThanOrEqual<T: Comparable>(timeout: TimeInterval = 1,
423 |                                                  _ expression1: @Sendable @escaping () async throws -> T,
    |                                                    `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
424 |                                                  _ expression2: @Sendable @escaping () async throws -> T,
425 |                                                  file: StaticString = #file,
/Users/admin/builder/spi-builder-workspace/Sources/AsyncExpectations/AsyncExpectations.swift:455:27: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
453 |                                              line: UInt = #line) async throws {
454 |     let expression = { @Sendable in
455 |         async let first = expression1()
    |                           `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
456 |         async let second = expression2()
457 |         return try await first > second
/Users/admin/builder/spi-builder-workspace/Sources/AsyncExpectations/AsyncExpectations.swift:450:48: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
448 | ///   - line: The line number where the failure occurs. The default is the line number where you call this function.
449 | public func expectGreaterThan<T: Comparable>(timeout: TimeInterval = 1,
450 |                                              _ expression1: @Sendable @escaping @autoclosure () throws -> T,
    |                                                `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
451 |                                              _ expression2: @escaping  @autoclosure () throws -> T,
452 |                                              file: StaticString = #file,
/Users/admin/builder/spi-builder-workspace/Sources/AsyncExpectations/AsyncExpectations.swift:478:27: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
476 |                                              line: UInt = #line) async throws {
477 |     let expression = { @Sendable in
478 |         async let first = expression1()
    |                           `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
479 |         async let second = expression2()
480 |         return try await first > second
/Users/admin/builder/spi-builder-workspace/Sources/AsyncExpectations/AsyncExpectations.swift:473:48: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
471 | ///   - line: The line number where the failure occurs. The default is the line number where you call this function.
472 | public func expectGreaterThan<T: Comparable>(timeout: TimeInterval = 1,
473 |                                              _ expression1: @Sendable @escaping () async throws -> T,
    |                                                `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
474 |                                              _ expression2: @Sendable @escaping () async throws -> T,
475 |                                              file: StaticString = #file,
/Users/admin/builder/spi-builder-workspace/Sources/AsyncExpectations/AsyncExpectations.swift:505:27: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
503 |                                                     line: UInt = #line) async throws {
504 |     let expression = { @Sendable in
505 |         async let first = expression1()
    |                           `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
506 |         async let second = expression2()
507 |         return try await first >= second
/Users/admin/builder/spi-builder-workspace/Sources/AsyncExpectations/AsyncExpectations.swift:500:55: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
498 | ///   - line: The line number where the failure occurs. The default is the line number where you call this function.
499 | public func expectGreaterThanOrEqual<T: Comparable>(timeout: TimeInterval = 1,
500 |                                                     _ expression1: @Sendable @escaping @autoclosure () throws -> T,
    |                                                       `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
501 |                                                     _ expression2: @Sendable @escaping @autoclosure () throws -> T,
502 |                                                     file: StaticString = #file,
/Users/admin/builder/spi-builder-workspace/Sources/AsyncExpectations/AsyncExpectations.swift:528:27: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
526 |                                                     line: UInt = #line) async throws {
527 |     let expression = { @Sendable in
528 |         async let first = expression1()
    |                           `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
529 |         async let second = expression2()
530 |         return try await first >= second
/Users/admin/builder/spi-builder-workspace/Sources/AsyncExpectations/AsyncExpectations.swift:523:55: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
521 | ///   - line: The line number where the failure occurs. The default is the line number where you call this function.
522 | public func expectGreaterThanOrEqual<T: Comparable>(timeout: TimeInterval = 1,
523 |                                                     _ expression1: @Sendable @escaping () async throws -> T,
    |                                                       `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
524 |                                                     _ expression2: @Sendable @escaping () async throws -> T,
525 |                                                     file: StaticString = #file,
/Users/admin/builder/spi-builder-workspace/Sources/AsyncExpectations/AsyncExpectations.swift:598:23: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
596 |     let value = LockIsolated<T.Output?>(nil)
597 |     let cancellable = publisher.sink { _ in
598 |     } receiveValue: { output in
    |                       `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
599 |         value.setValue(output)
600 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncExpectations/AsyncExpectations.swift:596:9: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
594 |                                       file: StaticString = #file,
595 |                                       line: UInt = #line) async throws -> T.Output {
596 |     let value = LockIsolated<T.Output?>(nil)
    |         `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
597 |     let cancellable = publisher.sink { _ in
598 |     } receiveValue: { output in
Build complete! (7.88s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5467] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.43s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (1.96s)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 0.9.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "xctest-dynamic-overlay",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/xctest-dynamic-overlay"
    }
  ],
  "manifest_display_name" : "AsyncExpectations",
  "name" : "AsyncExpectations",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "AsyncExpectations",
      "targets" : [
        "AsyncExpectations"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AsyncExpectationsTests",
      "module_type" : "SwiftTarget",
      "name" : "AsyncExpectationsTests",
      "path" : "Tests/AsyncExpectationsTests",
      "sources" : [
        "ExpectEqualTests.swift",
        "ExpectFalseTests.swift",
        "ExpectGreaterThanOrEqualTests.swift",
        "ExpectGreaterThanTests.swift",
        "ExpectLessThanOrEqualTests.swift",
        "ExpectLessThanTests.swift",
        "ExpectNoThrowTests.swift",
        "ExpectNotEqualTests.swift",
        "ExpectTests.swift",
        "ExpectThrowsTests.swift",
        "ExpectValueTests.swift"
      ],
      "target_dependencies" : [
        "AsyncExpectations"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AsyncExpectations",
      "module_type" : "SwiftTarget",
      "name" : "AsyncExpectations",
      "path" : "Sources/AsyncExpectations",
      "product_dependencies" : [
        "XCTestDynamicOverlay"
      ],
      "product_memberships" : [
        "AsyncExpectations"
      ],
      "sources" : [
        "AsyncExpectations.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.