The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AlecrimAsyncKit, reference master (974e49), with Swift 6.2 for macOS (SPM) on 18 Jun 2025 05:05:19 UTC.

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/Alecrim/AlecrimAsyncKit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Alecrim/AlecrimAsyncKit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 974e49c Merge branch 'release/5.0-beta.2'
Cloned https://github.com/Alecrim/AlecrimAsyncKit.git
Revision (git rev-parse @):
974e49ce5e6ca0543aba4532448e5799e2bba545
SUCCESS checkout https://github.com/Alecrim/AlecrimAsyncKit.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Alecrim/AlecrimAsyncKit.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/9] Compiling AlecrimAsyncKit Error+Extensions.swift
[4/9] Compiling AlecrimAsyncKit Await.swift
[5/9] Compiling AlecrimAsyncKit Async.swift
[6/9] Compiling AlecrimAsyncKit Cancellation.swift
[7/9] Emitting module AlecrimAsyncKit
[8/9] Compiling AlecrimAsyncKit Task.swift
/Users/admin/builder/spi-builder-workspace/Sources/Task.swift:265:20: warning: no calls to throwing functions occur within 'try' expression
263 |     internal func await() -> V {
264 |         if let result = self.result {
265 |             return try! result.get()
    |                    `- warning: no calls to throwing functions occur within 'try' expression
266 |         }
267 |         else if let workItem = self.workItem {
/Users/admin/builder/spi-builder-workspace/Sources/Task.swift:275:20: warning: no calls to throwing functions occur within 'try' expression
273 |             }
274 |
275 |             return try! result.get()
    |                    `- warning: no calls to throwing functions occur within 'try' expression
276 |         }
277 |         else {
[9/9] Compiling AlecrimAsyncKit TaskAwaiter.swift
/Users/admin/builder/spi-builder-workspace/Sources/TaskAwaiter.swift:79:26: error: cannot pass function of type '@Sendable () async -> Void' to parameter expecting synchronous function type
 77 |
 78 |     fileprivate func enqueue() {
 79 |         self.queue.async {
    |                          `- error: cannot pass function of type '@Sendable () async -> Void' to parameter expecting synchronous function type
 80 |             defer {
 81 |                 if let finallyClosure = self.finallyClosure {
    :
 89 |
 90 |             do {
 91 |                 let value = try await(self.task)
    |                                 `- note: 'async' inferred from asynchronous operation used here
 92 |
 93 |                 if let thenClosure = self.thenClosure {
/Users/admin/builder/spi-builder-workspace/Sources/TaskAwaiter.swift:95:37: error: cannot convert value of type 'Task<V, any Error>' to expected argument type 'V'
 93 |                 if let thenClosure = self.thenClosure {
 94 |                     self.callbackQueue.async {
 95 |                         thenClosure(value)
    |                                     `- error: cannot convert value of type 'Task<V, any Error>' to expected argument type 'V'
 96 |                         self.thenClosure = nil
 97 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/TaskAwaiter.swift:126:26: error: cannot pass function of type '@Sendable () async -> Void' to parameter expecting synchronous function type
124 |
125 |     fileprivate func enqueue() {
126 |         self.queue.async {
    |                          `- error: cannot pass function of type '@Sendable () async -> Void' to parameter expecting synchronous function type
127 |             let value = await(self.task)
    |                         `- note: 'async' inferred from asynchronous operation used here
128 |
129 |             if let thenClosure = self.thenClosure {
/Users/admin/builder/spi-builder-workspace/Sources/TaskAwaiter.swift:131:33: error: cannot convert value of type 'Task<V, Never>' to expected argument type 'V'
129 |             if let thenClosure = self.thenClosure {
130 |                 self.callbackQueue.async {
131 |                     thenClosure(value)
    |                                 `- error: cannot convert value of type 'Task<V, Never>' to expected argument type 'V'
132 |                     self.thenClosure = nil
133 |                 }
BUILD FAILURE 6.2 macosSpm