The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RedUx with Swift 5.9 for macOS (SPM).

Build Command

env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/reddavis/RedUx.git
Reference: v1.0.0
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-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 into spi-builder-workspace
69f6e076e5dbe1ebc66154d54fdab90f16d310ec
SUCCESS checkout https://github.com/reddavis/RedUx.git at v1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64
Building ... (attempt 1)
Fetching https://github.com/reddavis/Asynchrone from cache
Fetched https://github.com/reddavis/Asynchrone (0.24s)
Computing version for https://github.com/reddavis/Asynchrone
Computed https://github.com/reddavis/Asynchrone at 0.22.0 (0.67s)
Creating working copy for https://github.com/reddavis/Asynchrone
Working copy of https://github.com/reddavis/Asynchrone resolved at 0.22.0
Building for debugging...
[1/30] Emitting module Asynchrone
[2/34] Compiling Asynchrone Empty.swift
[3/34] Compiling Asynchrone Fail.swift
[4/34] Compiling Asynchrone Just.swift
[5/34] Compiling Asynchrone Merge3AsyncSequence.swift
[6/34] Compiling Asynchrone CombineLatestAsyncSequence.swift
[7/34] Compiling Asynchrone CurrentElementAsyncSequence.swift
[8/34] Compiling Asynchrone DebounceAsyncSequence.swift
[9/34] Compiling Asynchrone DelayAsyncSequence.swift
[10/34] Compiling Asynchrone Task+Extension.swift
[11/34] Compiling Asynchrone TimeInterval+Extension.swift
[12/34] Compiling Asynchrone AnyAsyncSequenceable.swift
[13/34] Compiling Asynchrone AnyThrowingAsyncSequenceable.swift
[14/34] Compiling Asynchrone MergeAsyncSequence.swift
[15/34] Compiling Asynchrone NotificationCenterAsyncSequence.swift
[16/34] Compiling Asynchrone PassthroughAsyncSequence.swift
[17/34] Compiling Asynchrone RemoveDuplicatesAsyncSequence.swift
[18/34] Compiling Asynchrone ErrorMechanism.swift
[19/34] Compiling Asynchrone RethrowingAccessor.swift
[20/34] Compiling Asynchrone AsyncSequence+Extension.swift
[21/34] Compiling Asynchrone AsyncStream+Extension.swift
[22/34] Compiling Asynchrone AsyncThrowingStream+Extension.swift
[23/34] Compiling Asynchrone ThrowingPassthroughAsyncSequence.swift
[24/34] Compiling Asynchrone TimerAsyncSequence.swift
[25/34] Compiling Asynchrone Zip3AsyncSequence.swift
[26/34] Compiling Asynchrone ZipAsyncSequence.swift
[27/34] Compiling Asynchrone AsyncSequenceCompletion.swift
[28/34] Compiling Asynchrone CatchErrorAsyncSequence.swift
[29/34] Compiling Asynchrone ChainAsyncSequenceable.swift
[30/34] Compiling Asynchrone CombineLatest3AsyncSequence.swift
[31/34] Compiling Asynchrone ReplaceErrorAsyncSequence.swift
[32/34] Compiling Asynchrone SequenceAsyncSequence.swift
[33/34] Compiling Asynchrone SharedAsyncSequence.swift
[34/34] Compiling Asynchrone ThrottleAsyncSequence.swift
[35/44] Compiling RedUx ValueStatus.swift
[36/44] Compiling RedUx Effect.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/RedUx/Source/Effect.swift:96:1: error: type 'Effect<Event>' does not conform to protocol 'AsyncSequence'
extension Effect: AsyncSequence {
^
_Concurrency.AsyncSequence:3:20: note: unable to infer associated type 'AsyncIterator' for protocol 'AsyncSequence'
    associatedtype AsyncIterator : AsyncIteratorProtocol
                   ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/RedUx/Source/Effect.swift:98:17: 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'
    public func makeAsyncIterator() -> AnyAsyncSequenceable<Element> {
                ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-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>')
        self.sequence.makeAsyncIterator()
        ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[37/44] Compiling RedUx EffectManager.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/RedUx/Source/Effect.swift:96:1: error: type 'Effect<Event>' does not conform to protocol 'AsyncSequence'
extension Effect: AsyncSequence {
^
_Concurrency.AsyncSequence:3:20: note: unable to infer associated type 'AsyncIterator' for protocol 'AsyncSequence'
    associatedtype AsyncIterator : AsyncIteratorProtocol
                   ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/RedUx/Source/Effect.swift:98:17: 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'
    public func makeAsyncIterator() -> AnyAsyncSequenceable<Element> {
                ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-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>')
        self.sequence.makeAsyncIterator()
        ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[38/44] Emitting module RedUx
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/RedUx/Source/Effect.swift:96:1: error: type 'Effect<Event>' does not conform to protocol 'AsyncSequence'
extension Effect: AsyncSequence {
^
_Concurrency.AsyncSequence:3:20: note: unable to infer associated type 'AsyncIterator' for protocol 'AsyncSequence'
    associatedtype AsyncIterator : AsyncIteratorProtocol
                   ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/RedUx/Source/Effect.swift:98:17: 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'
    public func makeAsyncIterator() -> AnyAsyncSequenceable<Element> {
                ^
[39/44] Compiling RedUx Store.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/RedUx/Source/Store.swift:117:52: error: expression is 'async' but is not marked with 'await'
                    receiveValue: { [weak self] in self?.send($0) },
                                                   ^~~~~~~~~~~~~~
                                                   await 
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/RedUx/Source/Store.swift:117:52: note: calls to instance method 'send' from outside of its actor context are implicitly asynchronous
                    receiveValue: { [weak self] in self?.send($0) },
                                                   ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/RedUx/Source/Store.swift:163:30: error: main actor-isolated property 'state' can not be mutated from a Sendable closure
                scopedStore?.state = toScopedState($0)
                             ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/RedUx/Source/Store.swift:12:29: note: mutation of this property is only permitted within the actor
    public private(set) var state: State {
                            ^
[40/45] Compiling RedUx View+Extension.swift
[41/45] Compiling RedUx ActionStatus.swift
[42/45] Compiling RedUx RedUxable.swift
[43/45] Compiling RedUx Reducer.swift
[44/45] Compiling RedUx UnwrapStore.swift
[45/45] Compiling RedUx ViewModel.swift
error: fatalError
Retrying in 0 seconds ...
Building ... (attempt 2)
[0/1] Planning build
Building for debugging...
[1/4] Compiling RedUx Effect.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/RedUx/Source/Effect.swift:96:1: error: type 'Effect<Event>' does not conform to protocol 'AsyncSequence'
extension Effect: AsyncSequence {
^
_Concurrency.AsyncSequence:3:20: note: unable to infer associated type 'AsyncIterator' for protocol 'AsyncSequence'
    associatedtype AsyncIterator : AsyncIteratorProtocol
                   ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/RedUx/Source/Effect.swift:98:17: 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'
    public func makeAsyncIterator() -> AnyAsyncSequenceable<Element> {
                ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-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>')
        self.sequence.makeAsyncIterator()
        ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[2/4] Compiling RedUx EffectManager.swift
[3/4] Compiling RedUx Store.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/RedUx/Source/Store.swift:117:52: error: expression is 'async' but is not marked with 'await'
                    receiveValue: { [weak self] in self?.send($0) },
                                                   ^~~~~~~~~~~~~~
                                                   await 
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/RedUx/Source/Store.swift:117:52: note: calls to instance method 'send' from outside of its actor context are implicitly asynchronous
                    receiveValue: { [weak self] in self?.send($0) },
                                                   ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/RedUx/Source/Store.swift:163:30: error: main actor-isolated property 'state' can not be mutated from a Sendable closure
                scopedStore?.state = toScopedState($0)
                             ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/RedUx/Source/Store.swift:12:29: note: mutation of this property is only permitted within the actor
    public private(set) var state: State {
                            ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/7] Emitting module RedUx
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/RedUx/Source/Effect.swift:96:1: error: type 'Effect<Event>' does not conform to protocol 'AsyncSequence'
extension Effect: AsyncSequence {
^
_Concurrency.AsyncSequence:3:20: note: unable to infer associated type 'AsyncIterator' for protocol 'AsyncSequence'
    associatedtype AsyncIterator : AsyncIteratorProtocol
                   ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/RedUx/Source/Effect.swift:98:17: 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'
    public func makeAsyncIterator() -> AnyAsyncSequenceable<Element> {
                ^
[5/7] Compiling RedUx RedUxable.swift
[6/7] Compiling RedUx ViewModel.swift
[7/7] Compiling RedUx UnwrapStore.swift
error: fatalError
Retrying in 0 seconds ...
BUILD FAILURE 5.9 macosSpm