Build Information
Failed to build AsyncGuardKit, reference 1.1.0 (5cb33a), with Swift 6.1 for macOS (SPM) on 30 Oct 2026 07:30:01 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ANSCoder/AsyncGuardKit.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ANSCoder/AsyncGuardKit
* tag 1.1.0 -> FETCH_HEAD
HEAD is now at 5cb33ab Modernize concurrency: Swift 6 mode, safety fixes, README rewrite (#1)
Cloned https://github.com/ANSCoder/AsyncGuardKit.git
Revision (git rev-parse @):
5cb33ab9c8b08c16eec460731200cc5a102853e0
SUCCESS checkout https://github.com/ANSCoder/AsyncGuardKit.git at 1.1.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/ANSCoder/AsyncGuardKit.git
https://github.com/ANSCoder/AsyncGuardKit.git
{
"dependencies" : [
],
"manifest_display_name" : "AsyncGuardKit",
"name" : "AsyncGuardKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "AsyncGuardKit",
"targets" : [
"AsyncGuardKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"6"
],
"targets" : [
{
"c99name" : "AsyncGuardKitTests",
"module_type" : "SwiftTarget",
"name" : "AsyncGuardKitTests",
"path" : "Tests/AsyncGuardKitTests",
"sources" : [
"BenchmarkTests.swift",
"DelayTests.swift",
"ExecutionTests.swift",
"IntegrationTests.swift",
"RegressionTests.swift",
"RetryTests.swift",
"ScopeTests.swift",
"SingleFlightTests.swift",
"TestHelpers.swift"
],
"target_dependencies" : [
"AsyncGuardKit"
],
"type" : "test"
},
{
"c99name" : "AsyncGuardKit",
"module_type" : "SwiftTarget",
"name" : "AsyncGuardKit",
"path" : "Sources/AsyncGuardKit",
"product_memberships" : [
"AsyncGuardKit"
],
"sources" : [
"Configuration/AsyncGuardConfiguration.swift",
"Core/AsyncCancellable.swift",
"Core/AsyncGuard.swift",
"Core/AsyncTask.swift",
"Diagnostics/Diagnostics.swift",
"Execution/SingleFlightRegistry.swift",
"Policies/Retry.swift",
"Policies/SingleFlight.swift",
"Scope/AsyncLifetime.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/12] Compiling AsyncGuardKit SingleFlight.swift
[4/12] Compiling AsyncGuardKit AsyncLifetime.swift
[5/12] Compiling AsyncGuardKit Retry.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncGuardKit/Policies/Retry.swift:79:36: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'operation'
62 | /// - Throws: The error from the final attempt, or `CancellationError` if
63 | /// the enclosing task is cancelled.
64 | public func retry<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
65 | attempts: Int,
66 | backoff: RetryBackoff = .none,
:
77 |
78 | do {
79 | let result = try await operation()
| `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'operation'
80 | Diagnostics.log("retry.succeeded", context: "attempt=\(attempt + 1)")
81 | return result
[6/12] Compiling AsyncGuardKit AsyncGuard.swift
[7/12] Compiling AsyncGuardKit SingleFlightRegistry.swift
[8/12] Compiling AsyncGuardKit AsyncTask.swift
[9/12] Compiling AsyncGuardKit AsyncGuardConfiguration.swift
[10/12] Compiling AsyncGuardKit AsyncCancellable.swift
[11/12] Emitting module AsyncGuardKit
[12/12] Compiling AsyncGuardKit Diagnostics.swift
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/11] Compiling AsyncGuardKit AsyncLifetime.swift
[3/11] Compiling AsyncGuardKit SingleFlight.swift
[4/11] Compiling AsyncGuardKit Retry.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncGuardKit/Policies/Retry.swift:79:36: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'operation'
62 | /// - Throws: The error from the final attempt, or `CancellationError` if
63 | /// the enclosing task is cancelled.
64 | public func retry<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
65 | attempts: Int,
66 | backoff: RetryBackoff = .none,
:
77 |
78 | do {
79 | let result = try await operation()
| `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'operation'
80 | Diagnostics.log("retry.succeeded", context: "attempt=\(attempt + 1)")
81 | return result
[5/11] Compiling AsyncGuardKit AsyncGuard.swift
[6/11] Compiling AsyncGuardKit AsyncTask.swift
[7/11] Compiling AsyncGuardKit SingleFlightRegistry.swift
[8/11] Compiling AsyncGuardKit AsyncCancellable.swift
[9/11] Compiling AsyncGuardKit AsyncGuardConfiguration.swift
[10/11] Emitting module AsyncGuardKit
[11/11] Compiling AsyncGuardKit Diagnostics.swift
BUILD FAILURE 6.1 macosSpm