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 AsyncExpectations, reference 0.2.0 (667fac), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 19:09:04 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.1
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
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5010] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.39s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.8.5 (0.56s)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 0.8.5
========================================
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": "swift-async-expectations",
      "name": "AsyncExpectations",
      "url": "https://github.com/bangerang/swift-async-expectations.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-async-expectations",
      "dependencies": [
        {
          "identity": "xctest-dynamic-overlay",
          "name": "xctest-dynamic-overlay",
          "url": "https://github.com/pointfreeco/xctest-dynamic-overlay",
          "version": "0.9.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/xctest-dynamic-overlay",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/bangerang/swift-async-expectations.git
[2/127] Fetching swift-async-expectations
Fetched https://github.com/bangerang/swift-async-expectations.git from cache (0.68s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay from cache
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.46s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (0.02s)
Creating working copy for https://github.com/bangerang/swift-async-expectations.git
Working copy of https://github.com/bangerang/swift-async-expectations.git resolved at 0.2.0 (667facd)
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
warning: '.resolve-product-dependencies': dependency 'swift-async-expectations' is not used by any target
Found 1 product dependencies
  - xctest-dynamic-overlay
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/bangerang/swift-async-expectations.git
{
  "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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/12] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[5/12] Compiling XCTestDynamicOverlay XCTFail.swift
[6/12] Compiling XCTestDynamicOverlay Unimplemented.swift
[7/12] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[8/12] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[9/12] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[10/12] Compiling XCTestDynamicOverlay Deprecations.swift
[11/12] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[12/12] Emitting module XCTestDynamicOverlay
[13/14] Emitting module AsyncExpectations
[14/14] Compiling AsyncExpectations AsyncExpectations.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncExpectations/AsyncExpectations.swift:257:13: warning: capture of 'errorHandler' with non-sendable type '((any Error) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
255 |             return false
256 |         } catch {
257 |             errorHandler?(error)
    |             |- warning: capture of 'errorHandler' with non-sendable type '((any Error) -> 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'
258 |             return true
259 |         }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncExpectations/AsyncExpectations.swift:282:13: warning: capture of 'errorHandler' with non-sendable type '((any Error) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
280 |             return false
281 |         } catch {
282 |             errorHandler?(error)
    |             |- warning: capture of 'errorHandler' with non-sendable type '((any Error) -> 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'
283 |             return true
284 |         }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncExpectations/AsyncExpectations.swift:306:21: warning: capture of 'expression' with non-sendable type '() throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
304 |     let expression = { @Sendable in
305 |         do {
306 |             _ = try expression()
    |                     |- warning: capture of 'expression' with non-sendable type '() throws -> T' 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'
307 |             return true
308 |         } catch {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncExpectations/AsyncExpectations.swift:406:28: warning: capture of 'expression2' with non-sendable type '() throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
404 |     let expression = { @Sendable in
405 |         async let first = expression1()
406 |         async let second = expression2()
    |                            |- warning: capture of 'expression2' with non-sendable type '() throws -> T' 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'
407 |         return try await first <= second
408 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncExpectations/AsyncExpectations.swift:456:28: warning: capture of 'expression2' with non-sendable type '() throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
454 |     let expression = { @Sendable in
455 |         async let first = expression1()
456 |         async let second = expression2()
    |                            |- warning: capture of 'expression2' with non-sendable type '() throws -> T' 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'
457 |         return try await first > second
458 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncExpectations/AsyncExpectations.swift:602:50: warning: type 'T.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
600 |     }
601 |
602 |     let expression = { @Sendable in return value.value != nil }
    |                                                  `- warning: type 'T.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
603 |     if try await evaluate(expression, timeout: timeout), let value = value.value {
604 |         cancellable.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/AsyncExpectations/AsyncExpectations.swift:603:76: warning: type 'T.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
601 |
602 |     let expression = { @Sendable in return value.value != nil }
603 |     if try await evaluate(expression, timeout: timeout), let value = value.value {
    |                                                                            `- warning: type 'T.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
604 |         cancellable.cancel()
605 |         return value
/Users/admin/builder/spi-builder-workspace/Sources/AsyncExpectations/AsyncExpectations.swift:599:24: warning: implicit capture of 'output' requires that 'T.Output' conforms to `Sendable`; this is an error in the Swift 6 language mode
597 |     let cancellable = publisher.sink { _ in
598 |     } receiveValue: { output in
599 |         value.setValue(output)
    |                        `- warning: implicit capture of 'output' requires that 'T.Output' conforms to `Sendable`; this is an error in the Swift 6 language mode
600 |     }
601 |
Build complete! (13.44s)
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.