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 main (6c88c9), with Swift 5.10 for macOS (SPM) on 4 Dec 2024 15:02:51 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftuiux/async-task.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swiftuiux/async-task
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6c88c90 Update README.md
Cloned https://github.com/swiftuiux/async-task.git
Revision (git rev-parse @):
6c88c908c563dc5eff4a4301ba4fe787d8002375
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftuiux/async-task.git at main
========================================
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 IAsyncTask.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/10] Compiling async_task TaskProperty.swift
[5/10] Compiling async_task Type.swift
[6/10] Compiling async_task Async.swift
[7/10] Compiling async_task State.swift
[8/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
                                           ^
[9/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
                                           ^
[10/10] Compiling async_task SingleTask.swift
error: fatalError
BUILD FAILURE 5.10 macosSpm