The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build async-task, reference 1.2.5 (d05dc1), with Swift 5.10 for macOS (SPM) on 1 Dec 2024 14:14:23 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftuiux/async-task.git
Reference: 1.2.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swiftuiux/async-task
 * tag               1.2.5      -> FETCH_HEAD
HEAD is now at d05dc1e Update ObservableSingleTask.swift
Cloned https://github.com/swiftuiux/async-task.git
Revision (git rev-parse @):
d05dc1ec967813392da38e3501dfe666098baaec
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftuiux/async-task.git at 1.2.5
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/swiftuiux/async-task.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
[3/10] Compiling async_task State.swift
[4/10] Compiling async_task Type.swift
[5/10] Compiling async_task IAsyncTask.swift
[6/10] Compiling async_task ObservableSingleTask.swift
/Users/admin/builder/spi-builder-workspace/Sources/async-task/task/ObservableSingleTask.swift:55:44: error: reference to invalid associated type 'ErrorType' of type 'Async.ObservableSingleTask<V, E>'
            errorMapper: Async.ErrorMapper<ErrorType>? = nil
                                           ^
[7/10] Compiling async_task Async.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/10] Compiling async_task TaskProperty.swift
[9/10] Compiling async_task SingleTask.swift
[10/10] Emitting module async_task
/Users/admin/builder/spi-builder-workspace/Sources/async-task/task/ObservableSingleTask.swift:55:44: error: reference to invalid associated type 'ErrorType' of type 'Async.ObservableSingleTask<V, E>'
            errorMapper: Async.ErrorMapper<ErrorType>? = nil
                                           ^
error: fatalError
BUILD FAILURE 5.10 macosSpm