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

Failed to build RedUx, reference v1.0.0 (69f6e0), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 15:53:00 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/reddavis/RedUx.git
Reference: v1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/reddavis/RedUx
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at 69f6e07 fix: no compiler error on <Xcode 13.4 (#36)
Cloned https://github.com/reddavis/RedUx.git
Revision (git rev-parse @):
69f6e076e5dbe1ebc66154d54fdab90f16d310ec
SUCCESS checkout https://github.com/reddavis/RedUx.git at v1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/reddavis/RedUx.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/34] Emitting module Asynchrone
[5/37] Compiling Asynchrone Fail.swift
[6/37] Compiling Asynchrone Just.swift
[7/37] Compiling Asynchrone Merge3AsyncSequence.swift
[8/37] Compiling Asynchrone CombineLatest3AsyncSequence.swift
[9/37] Compiling Asynchrone CombineLatestAsyncSequence.swift
[10/37] Compiling Asynchrone CurrentElementAsyncSequence.swift
[11/37] Compiling Asynchrone ErrorMechanism.swift
[12/37] Compiling Asynchrone RethrowingAccessor.swift
[13/37] Compiling Asynchrone AsyncSequence+Extension.swift
[14/37] Compiling Asynchrone AsyncStream+Extension.swift
[15/37] Compiling Asynchrone AnyThrowingAsyncSequenceable.swift
[16/37] Compiling Asynchrone AsyncSequenceCompletion.swift
[17/37] Compiling Asynchrone CatchErrorAsyncSequence.swift
[18/37] Compiling Asynchrone ChainAsyncSequenceable.swift
[19/37] Compiling Asynchrone RemoveDuplicatesAsyncSequence.swift
[20/37] Compiling Asynchrone ReplaceErrorAsyncSequence.swift
[21/37] Compiling Asynchrone SequenceAsyncSequence.swift
[22/37] Compiling Asynchrone AsyncThrowingStream+Extension.swift
[23/37] Compiling Asynchrone Task+Extension.swift
[24/37] Compiling Asynchrone TimeInterval+Extension.swift
[25/37] Compiling Asynchrone AnyAsyncSequenceable.swift
[26/37] Compiling Asynchrone DebounceAsyncSequence.swift
[27/37] Compiling Asynchrone DelayAsyncSequence.swift
[28/37] Compiling Asynchrone Empty.swift
[29/37] Compiling Asynchrone TimerAsyncSequence.swift
[30/37] Compiling Asynchrone Zip3AsyncSequence.swift
[31/37] Compiling Asynchrone ZipAsyncSequence.swift
[32/37] Compiling Asynchrone MergeAsyncSequence.swift
[33/37] Compiling Asynchrone NotificationCenterAsyncSequence.swift
[34/37] Compiling Asynchrone PassthroughAsyncSequence.swift
[35/37] Compiling Asynchrone SharedAsyncSequence.swift
[36/37] Compiling Asynchrone ThrottleAsyncSequence.swift
[37/37] Compiling Asynchrone ThrowingPassthroughAsyncSequence.swift
[38/47] Compiling RedUx ValueStatus.swift
[39/48] Compiling RedUx ActionStatus.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[40/48] Compiling RedUx Reducer.swift
[41/48] Compiling RedUx RedUxable.swift
[42/48] Compiling RedUx View+Extension.swift
[43/48] Compiling RedUx EffectManager.swift
[44/48] Compiling RedUx UnwrapStore.swift
[45/48] Emitting module RedUx
/Users/admin/builder/spi-builder-workspace/RedUx/Source/Effect.swift:96:1: error: type 'Effect<Event>' does not conform to protocol 'AsyncSequence'
 94 | // MARK: AsyncSequence
 95 |
 96 | extension Effect: AsyncSequence {
    | `- error: type 'Effect<Event>' does not conform to protocol 'AsyncSequence'
 97 |     public typealias Element = Event
 98 |     public func makeAsyncIterator() -> AnyAsyncSequenceable<Element> {
    |                 `- note: candidate would match and infer 'AsyncIterator' = 'AnyAsyncSequenceable<Effect<Event>.Element>' (aka 'AnyAsyncSequenceable<Event>') if 'AnyAsyncSequenceable<Effect<Event>.Element>' (aka 'AnyAsyncSequenceable<Event>') conformed to 'AsyncIteratorProtocol'
 99 |         self.sequence.makeAsyncIterator()
100 |     }
_Concurrency.AsyncSequence.AsyncIterator:2:16: note: unable to infer associated type 'AsyncIterator' for protocol 'AsyncSequence'
1 | protocol AsyncSequence {
2 | associatedtype AsyncIterator : AsyncIteratorProtocol}
  |                `- note: unable to infer associated type 'AsyncIterator' for protocol 'AsyncSequence'
3 |
[46/48] Compiling RedUx Store.swift
/Users/admin/builder/spi-builder-workspace/RedUx/Source/Store.swift:112:27: warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
110 |             Task(priority: .high) {
111 |                 guard !effect.isCancellation else {
112 |                     await self.effectManager.cancelTask(effect.id)
    |                           `- warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
113 |                     return
114 |                 }
/Users/admin/builder/spi-builder-workspace/RedUx/Source/Store.swift:92:17: warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
 90 |     /// Send an event through the store's reducer.
 91 |     /// - Parameter event: The event.
 92 |     public func send(_ event: Event) {
    |                 `- warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
 93 |         self.eventBacklog.append(event)
 94 |         guard !self.isProcessingEvent else { return }
/Users/admin/builder/spi-builder-workspace/RedUx/Source/Store.swift:117:56: warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
115 |
116 |                 let task = effect.sink(
117 |                     receiveValue: { [weak self] in self?.send($0) },
    |                                                        `- warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
118 |                     receiveCompletion: { [weak self] _ in
119 |                         await self?.effectManager.taskComplete(
/Users/admin/builder/spi-builder-workspace/RedUx/Source/Store.swift:117:43: warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
115 |
116 |                 let task = effect.sink(
117 |                     receiveValue: { [weak self] in self?.send($0) },
    |                                           `- warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
118 |                     receiveCompletion: { [weak self] _ in
119 |                         await self?.effectManager.taskComplete(
/Users/admin/builder/spi-builder-workspace/RedUx/Source/Store.swift:119:35: warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
117 |                     receiveValue: { [weak self] in self?.send($0) },
118 |                     receiveCompletion: { [weak self] _ in
119 |                         await self?.effectManager.taskComplete(
    |                                   `- warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
120 |                             id: effect.id,
121 |                             uuid: effect.uuid
/Users/admin/builder/spi-builder-workspace/RedUx/Source/Store.swift:118:48: warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
116 |                 let task = effect.sink(
117 |                     receiveValue: { [weak self] in self?.send($0) },
118 |                     receiveCompletion: { [weak self] _ in
    |                                                `- warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
119 |                         await self?.effectManager.taskComplete(
120 |                             id: effect.id,
/Users/admin/builder/spi-builder-workspace/RedUx/Source/Store.swift:117:58: error: main actor-isolated instance method 'send' cannot be called from outside of the actor
115 |
116 |                 let task = effect.sink(
117 |                     receiveValue: { [weak self] in self?.send($0) },
    |                                                          `- error: main actor-isolated instance method 'send' cannot be called from outside of the actor
118 |                     receiveCompletion: { [weak self] _ in
119 |                         await self?.effectManager.taskComplete(
/Users/admin/builder/spi-builder-workspace/RedUx/Source/Store.swift:163:30: warning: capture of non-sendable type 'ScopedState.Type' in an isolated closure; this is an error in the Swift 6 language mode
161 |             .removeDuplicates()
162 |             .sink(priority: .high) { [weak scopedStore] in
163 |                 scopedStore?.state = toScopedState($0)
    |                              `- warning: capture of non-sendable type 'ScopedState.Type' in an isolated closure; this is an error in the Swift 6 language mode
164 |             }
165 |
/Users/admin/builder/spi-builder-workspace/RedUx/Source/Store.swift:162:44: warning: capture of non-sendable type 'ScopedState.Type' in an isolated closure; this is an error in the Swift 6 language mode
160 |         scopedStore.parentStatePropagationTask = self.stateSequence
161 |             .removeDuplicates()
162 |             .sink(priority: .high) { [weak scopedStore] in
    |                                            `- warning: capture of non-sendable type 'ScopedState.Type' in an isolated closure; this is an error in the Swift 6 language mode
163 |                 scopedStore?.state = toScopedState($0)
164 |             }
/Users/admin/builder/spi-builder-workspace/RedUx/Source/Store.swift:163:38: warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
161 |             .removeDuplicates()
162 |             .sink(priority: .high) { [weak scopedStore] in
163 |                 scopedStore?.state = toScopedState($0)
    |                                      `- warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
164 |             }
165 |
/Users/admin/builder/spi-builder-workspace/RedUx/Source/Store.swift:145:15: warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
143 |     /// - Returns: A `Store` instance.
144 |     public func scope<ScopedState, ScopedEvent, ScopedEnvironment>(
145 |         state toScopedState: @escaping (_ state: State) -> ScopedState,
    |               `- warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
146 |         event fromScopedEvent: @escaping (_ event: ScopedEvent) -> Event,
147 |         environment toScopedEnvironment: (_ environment: Environment) -> ScopedEnvironment
/Users/admin/builder/spi-builder-workspace/RedUx/Source/Store.swift:163:30: error: main actor-isolated property 'state' can not be mutated from a Sendable closure
 10 | public final class Store<State, Event, Environment> where State: Equatable {
 11 |     /// The state of the store.
 12 |     public private(set) var state: State {
    |                             `- note: mutation of this property is only permitted within the actor
 13 |         didSet {
 14 |             self._stateSequence.yield(self.state)
    :
161 |             .removeDuplicates()
162 |             .sink(priority: .high) { [weak scopedStore] in
163 |                 scopedStore?.state = toScopedState($0)
    |                              |- error: main actor-isolated property 'state' can not be mutated from a Sendable closure
    |                              `- note: consider declaring an isolated method on 'MainActor' to perform the mutation
164 |             }
165 |
[47/48] Compiling RedUx Effect.swift
/Users/admin/builder/spi-builder-workspace/RedUx/Source/Effect.swift:96:1: error: type 'Effect<Event>' does not conform to protocol 'AsyncSequence'
 94 | // MARK: AsyncSequence
 95 |
 96 | extension Effect: AsyncSequence {
    | `- error: type 'Effect<Event>' does not conform to protocol 'AsyncSequence'
 97 |     public typealias Element = Event
 98 |     public func makeAsyncIterator() -> AnyAsyncSequenceable<Element> {
    |                 `- note: candidate would match and infer 'AsyncIterator' = 'AnyAsyncSequenceable<Effect<Event>.Element>' (aka 'AnyAsyncSequenceable<Event>') if 'AnyAsyncSequenceable<Effect<Event>.Element>' (aka 'AnyAsyncSequenceable<Event>') conformed to 'AsyncIteratorProtocol'
 99 |         self.sequence.makeAsyncIterator()
100 |     }
_Concurrency.AsyncSequence.AsyncIterator:2:16: note: unable to infer associated type 'AsyncIterator' for protocol 'AsyncSequence'
1 | protocol AsyncSequence {
2 | associatedtype AsyncIterator : AsyncIteratorProtocol}
  |                `- note: unable to infer associated type 'AsyncIterator' for protocol 'AsyncSequence'
3 |
/Users/admin/builder/spi-builder-workspace/RedUx/Source/Effect.swift:99:23: error: cannot convert return expression of type 'AnyAsyncSequenceable<Event>.Iterator' to return type 'AnyAsyncSequenceable<Effect<Event>.Element>' (aka 'AnyAsyncSequenceable<Event>')
 97 |     public typealias Element = Event
 98 |     public func makeAsyncIterator() -> AnyAsyncSequenceable<Element> {
 99 |         self.sequence.makeAsyncIterator()
    |                       `- error: cannot convert return expression of type 'AnyAsyncSequenceable<Event>.Iterator' to return type 'AnyAsyncSequenceable<Effect<Event>.Element>' (aka 'AnyAsyncSequenceable<Event>')
100 |     }
101 | }
[48/48] Compiling RedUx ViewModel.swift
/Users/admin/builder/spi-builder-workspace/RedUx/Source/ViewModel.swift:64:45: warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
 62 |             .removeDuplicates()
 63 |             .sink(priority: .userInitiated) { [weak self] state in
 64 |                 await MainActor.run { [weak self] in
    |                                             `- warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
 65 |                     self?.state = state
 66 |                 }
/Users/admin/builder/spi-builder-workspace/RedUx/Source/ViewModel.swift:63:53: warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
 61 |             .stateSequence
 62 |             .removeDuplicates()
 63 |             .sink(priority: .userInitiated) { [weak self] state in
    |                                                     `- warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
 64 |                 await MainActor.run { [weak self] in
 65 |                     self?.state = state
/Users/admin/builder/spi-builder-workspace/RedUx/Source/ViewModel.swift:65:27: warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
 63 |             .sink(priority: .userInitiated) { [weak self] state in
 64 |                 await MainActor.run { [weak self] in
 65 |                     self?.state = state
    |                           `- warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
 66 |                 }
 67 |             }
/Users/admin/builder/spi-builder-workspace/RedUx/Source/ViewModel.swift:64:45: warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
 62 |             .removeDuplicates()
 63 |             .sink(priority: .userInitiated) { [weak self] state in
 64 |                 await MainActor.run { [weak self] in
    |                                             `- warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
 65 |                     self?.state = state
 66 |                 }
Fetching https://github.com/reddavis/Asynchrone
[1/4315] Fetching asynchrone
Fetched https://github.com/reddavis/Asynchrone from cache (1.65s)
Computing version for https://github.com/reddavis/Asynchrone
Computed https://github.com/reddavis/Asynchrone at 0.22.0 (2.21s)
Creating working copy for https://github.com/reddavis/Asynchrone
Working copy of https://github.com/reddavis/Asynchrone resolved at 0.22.0
BUILD FAILURE 6.2 macosSpm