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 AsyncValue, reference 1.1.0 (c04bdc), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 18:38:06 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/BrentMifsud/AsyncValue.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/BrentMifsud/AsyncValue
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at c04bdc3 Update README to reflect latest api changes (#9)
Cloned https://github.com/BrentMifsud/AsyncValue.git
Revision (git rev-parse @):
c04bdc325ad7f48dd2eb43bdb401c6cfaa5019e3
SUCCESS checkout https://github.com/BrentMifsud/AsyncValue.git at 1.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/BrentMifsud/AsyncValue.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/6] Compiling AsyncValue ContinuationStorage.swift
[4/6] Compiling AsyncValue AsyncValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncValue/AsyncValue.swift:103:17: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
101 |
102 |             continuation.onTermination = { @Sendable _ in
103 |                 storage.removeContinuation(for: uuid)
    |                 `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
104 |             }
105 |         }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncValue/AsyncValue.swift:93:51: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
 91 |     }
 92 |
 93 |     public var projectedValue: AsyncStream<Value> {
    |                                                   `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
 94 |         AsyncStream { continuation in
 95 |             let uuid = UUID()
[5/6] Emitting module AsyncValue
[6/6] Compiling AsyncValue View+AsyncValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncValue/View+AsyncValue.swift:69:48: warning: capture of non-sendable type 'Sequence.AsyncIterator.Type' in an isolated closure
 67 |                 task = Task {
 68 |                     do {
 69 |                         for try await value in sequence {
    |                                                `- warning: capture of non-sendable type 'Sequence.AsyncIterator.Type' in an isolated closure
 70 |                             await handler(value)
 71 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncValue/View+AsyncValue.swift:69:48: warning: capture of non-sendable type 'Sequence.Type' in an isolated closure
 67 |                 task = Task {
 68 |                     do {
 69 |                         for try await value in sequence {
    |                                                `- warning: capture of non-sendable type 'Sequence.Type' in an isolated closure
 70 |                             await handler(value)
 71 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncValue/View+AsyncValue.swift:48:11: warning: capture of non-sendable type 'Sequence.Type' in an isolated closure
 46 |     /// ```
 47 |     @ViewBuilder func onReceive<Sequence: AsyncSequence>(
 48 |         _ sequence: Sequence,
    |           `- warning: capture of non-sendable type 'Sequence.Type' in an isolated closure
 49 |         perform handler: @escaping (Sequence.Element) async -> Void
 50 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncValue/View+AsyncValue.swift:75:25: warning: capture of non-sendable type 'Self.Type' in an isolated closure
 73 |                         // cancellation errors are valid and we can ignore them.
 74 |                     } catch {
 75 |                         Self.printErrorWarning(error: error, sequence: sequence, function: #function, line: #line, file: #file)
    |                         `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
 76 |                     }
 77 |                 }
Build complete! (6.94s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AsyncValue",
  "name" : "AsyncValue",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "AsyncValue",
      "targets" : [
        "AsyncValue"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AsyncValueTests",
      "module_type" : "SwiftTarget",
      "name" : "AsyncValueTests",
      "path" : "Tests/AsyncValueTests",
      "sources" : [
        "AsyncValueTests.swift"
      ],
      "target_dependencies" : [
        "AsyncValue"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AsyncValue",
      "module_type" : "SwiftTarget",
      "name" : "AsyncValue",
      "path" : "Sources/AsyncValue",
      "product_memberships" : [
        "AsyncValue"
      ],
      "sources" : [
        "AsyncValue.swift",
        "ContinuationStorage.swift",
        "View+AsyncValue.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.