Build Information
Failed to build RedUx with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.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/UKfvDsi8u/3/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
Revision (git rev-parse @):
69f6e076e5dbe1ebc66154d54fdab90f16d310ec
SUCCESS checkout https://github.com/reddavis/RedUx.git at v1.0.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/reddavis/RedUx.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--423B1241ED78D482.txt
[4/33] Compiling Asynchrone AsyncSequenceCompletion.swift
[5/33] Compiling Asynchrone CatchErrorAsyncSequence.swift
[6/33] Compiling Asynchrone ChainAsyncSequenceable.swift
[7/33] Compiling Asynchrone CombineLatest3AsyncSequence.swift
[8/37] Compiling Asynchrone Empty.swift
[9/37] Compiling Asynchrone Fail.swift
[10/37] Compiling Asynchrone Just.swift
[11/37] Compiling Asynchrone Merge3AsyncSequence.swift
[12/37] Compiling Asynchrone ThrowingPassthroughAsyncSequence.swift
[13/37] Compiling Asynchrone TimerAsyncSequence.swift
[14/37] Compiling Asynchrone Zip3AsyncSequence.swift
[15/37] Compiling Asynchrone ZipAsyncSequence.swift
[16/37] Compiling Asynchrone ErrorMechanism.swift
[17/37] Compiling Asynchrone RethrowingAccessor.swift
[18/37] Compiling Asynchrone AsyncSequence+Extension.swift
[19/37] Compiling Asynchrone AsyncStream+Extension.swift
[20/37] Compiling Asynchrone AsyncThrowingStream+Extension.swift
[21/37] Emitting module Asynchrone
[22/37] Compiling Asynchrone MergeAsyncSequence.swift
[23/37] Compiling Asynchrone NotificationCenterAsyncSequence.swift
[24/37] Compiling Asynchrone PassthroughAsyncSequence.swift
[25/37] Compiling Asynchrone RemoveDuplicatesAsyncSequence.swift
[26/37] Compiling Asynchrone CombineLatestAsyncSequence.swift
[27/37] Compiling Asynchrone CurrentElementAsyncSequence.swift
[28/37] Compiling Asynchrone DebounceAsyncSequence.swift
[29/37] Compiling Asynchrone DelayAsyncSequence.swift
[30/37] Compiling Asynchrone ReplaceErrorAsyncSequence.swift
[31/37] Compiling Asynchrone SequenceAsyncSequence.swift
[32/37] Compiling Asynchrone SharedAsyncSequence.swift
[33/37] Compiling Asynchrone ThrottleAsyncSequence.swift
[34/37] Compiling Asynchrone Task+Extension.swift
[35/37] Compiling Asynchrone TimeInterval+Extension.swift
[36/37] Compiling Asynchrone AnyAsyncSequenceable.swift
[37/37] Compiling Asynchrone AnyThrowingAsyncSequenceable.swift
[38/47] Compiling RedUx View+Extension.swift
[39/47] Compiling RedUx ActionStatus.swift
[40/47] Compiling RedUx Store.swift
/Users/builder/builds/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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 {
^
[41/48] Compiling RedUx RedUxable.swift
[42/48] Compiling RedUx Reducer.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[43/48] Compiling RedUx ValueStatus.swift
[44/48] Compiling RedUx UnwrapStore.swift
[45/48] Emitting module RedUx
/Users/builder/builds/UKfvDsi8u/3/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/UKfvDsi8u/3/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> {
^
[46/48] Compiling RedUx Effect.swift
/Users/builder/builds/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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()
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[47/48] Compiling RedUx EffectManager.swift
/Users/builder/builds/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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()
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[48/48] Compiling RedUx ViewModel.swift
error: fatalError
Fetching https://github.com/reddavis/Asynchrone from cache
Fetched https://github.com/reddavis/Asynchrone from cache (0.16s)
Computing version for https://github.com/reddavis/Asynchrone
Computed https://github.com/reddavis/Asynchrone at 0.22.0 (0.02s)
Creating working copy for https://github.com/reddavis/Asynchrone
Working copy of https://github.com/reddavis/Asynchrone resolved at 0.22.0
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
[2/5] Compiling RedUx Store.swift
/Users/builder/builds/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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 {
^
[3/5] Compiling RedUx Effect.swift
/Users/builder/builds/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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)
[4/5] Compiling RedUx EffectManager.swift
[5/5] Emitting module RedUx
/Users/builder/builds/UKfvDsi8u/3/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/UKfvDsi8u/3/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> {
^
[6/8] Compiling RedUx UnwrapStore.swift
[7/8] Compiling RedUx ViewModel.swift
[8/8] Compiling RedUx RedUxable.swift
error: fatalError
BUILD FAILURE 5.10 macosSpm