Build Information
Failed to build ClassyFlux, reference master (5a6958), with Swift 6.2 for macOS (SPM) on 22 Jun 2025 16:01:10 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Cozmonat/ClassyFlux.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Cozmonat/ClassyFlux
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 5a69583 Fix CI issues
Cloned https://github.com/Cozmonat/ClassyFlux.git
Revision (git rev-parse @):
5a69583cd708e0870dbd414635d1d304f882e35b
SUCCESS checkout https://github.com/Cozmonat/ClassyFlux.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/Cozmonat/ClassyFlux.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/5] Emitting module ResolvingContainer
[5/5] Compiling ResolvingContainer ResolvingContainer.swift
[6/13] Compiling ClassyFlux FluxWorker.swift
[7/13] Compiling ClassyFlux FluxStore.swift
/Users/admin/builder/spi-builder-workspace/ClassyFlux/FluxStore.swift:65:6: error: stored properties cannot be marked potentially unavailable with '@available'
63 |
64 | #if canImport(Combine)
65 | @available(OSX 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
| `- error: stored properties cannot be marked potentially unavailable with '@available'
66 | public lazy var objectWillChange = ObservableObjectPublisher()
67 |
/Users/admin/builder/spi-builder-workspace/ClassyFlux/FluxStore.swift:68:6: error: stored properties cannot be marked potentially unavailable with '@available'
66 | public lazy var objectWillChange = ObservableObjectPublisher()
67 |
68 | @available(OSX 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
| `- error: stored properties cannot be marked potentially unavailable with '@available'
69 | public lazy var stateWillChange = PassthroughSubject<Change, Never>()
70 |
/Users/admin/builder/spi-builder-workspace/ClassyFlux/FluxStore.swift:71:6: error: stored properties cannot be marked potentially unavailable with '@available'
69 | public lazy var stateWillChange = PassthroughSubject<Change, Never>()
70 |
71 | @available(OSX 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
| `- error: stored properties cannot be marked potentially unavailable with '@available'
72 | public lazy var stateDidChange = PassthroughSubject<Change, Never>()
73 | #endif
/Users/admin/builder/spi-builder-workspace/ClassyFlux/FluxStore.swift:213:23: warning: generic parameter 'State' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
54 |
55 | /// An object that stores the state and allows state mutation only by handling registered actions.
56 | open class FluxStore<State>: FluxWorker {
| `- note: 'State' previously declared here
57 | public typealias State = State
58 |
:
211 | internal let observer: NSObjectProtocol
212 |
213 | internal init<State>(for event: Event, from store: FluxStore<State>, queue: OperationQueue, handler: @escaping (State, Set<PartialKeyPath<State>>) -> Void) {
| `- warning: generic parameter 'State' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
214 | observer = NotificationCenter.default
215 | .addObserver(forName: event.notificationName, object: store, queue: queue) { notification in
[8/13] Compiling ClassyFlux FluxMiddleware.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/13] Compiling ClassyFlux FluxAggregator.swift
[10/13] Compiling ClassyFlux FluxAction.swift
/Users/admin/builder/spi-builder-workspace/ClassyFlux/FluxAction.swift:49:28: warning: capture of non-sendable type 'Self.Type' in an isolated closure
47 | } else {
48 | queue.async(flags: .barrier) {
49 | dispatcher.dispatch(action: self)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
50 | }
51 | }
/Users/admin/builder/spi-builder-workspace/ClassyFlux/FluxAction.swift:44:10: warning: capture of non-sendable type 'Self.Type' in an isolated closure
42 | /// Action will be dispatched synchronously when called from the same queue and dispatcher isn't dispatching previous action.
43 | /// Otherwise will dispatch the action asynchronously to run on specified queue inside barrier block.
44 | func dispatch(with dispatcher: FluxDispatching = FluxDispatcher.default, queue: DispatchQueue = .main) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
45 | if DispatchQueue.isRunning(on: queue) && !dispatcher.isDispatching {
46 | dispatcher.dispatch(action: self)
[11/13] Compiling ClassyFlux FluxRepository.swift
[12/13] Compiling ClassyFlux FluxDispatcher.swift
/Users/admin/builder/spi-builder-workspace/ClassyFlux/FluxDispatcher.swift:60:6: error: stored properties cannot be marked potentially unavailable with '@available'
58 |
59 | #if canImport(Combine)
60 | @available(OSX 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
| `- error: stored properties cannot be marked potentially unavailable with '@available'
61 | public lazy var willDispatchAction = PassthroughSubject<FluxAction, Never>()
62 |
/Users/admin/builder/spi-builder-workspace/ClassyFlux/FluxDispatcher.swift:63:6: error: stored properties cannot be marked potentially unavailable with '@available'
61 | public lazy var willDispatchAction = PassthroughSubject<FluxAction, Never>()
62 |
63 | @available(OSX 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
| `- error: stored properties cannot be marked potentially unavailable with '@available'
64 | public lazy var didDispatchAction = PassthroughSubject<FluxAction, Never>()
65 | #endif
[13/13] Emitting module ClassyFlux
/Users/admin/builder/spi-builder-workspace/ClassyFlux/FluxDispatcher.swift:60:6: error: stored properties cannot be marked potentially unavailable with '@available'
58 |
59 | #if canImport(Combine)
60 | @available(OSX 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
| `- error: stored properties cannot be marked potentially unavailable with '@available'
61 | public lazy var willDispatchAction = PassthroughSubject<FluxAction, Never>()
62 |
/Users/admin/builder/spi-builder-workspace/ClassyFlux/FluxDispatcher.swift:63:6: error: stored properties cannot be marked potentially unavailable with '@available'
61 | public lazy var willDispatchAction = PassthroughSubject<FluxAction, Never>()
62 |
63 | @available(OSX 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
| `- error: stored properties cannot be marked potentially unavailable with '@available'
64 | public lazy var didDispatchAction = PassthroughSubject<FluxAction, Never>()
65 | #endif
/Users/admin/builder/spi-builder-workspace/ClassyFlux/FluxStore.swift:65:6: error: stored properties cannot be marked potentially unavailable with '@available'
63 |
64 | #if canImport(Combine)
65 | @available(OSX 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
| `- error: stored properties cannot be marked potentially unavailable with '@available'
66 | public lazy var objectWillChange = ObservableObjectPublisher()
67 |
/Users/admin/builder/spi-builder-workspace/ClassyFlux/FluxStore.swift:68:6: error: stored properties cannot be marked potentially unavailable with '@available'
66 | public lazy var objectWillChange = ObservableObjectPublisher()
67 |
68 | @available(OSX 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
| `- error: stored properties cannot be marked potentially unavailable with '@available'
69 | public lazy var stateWillChange = PassthroughSubject<Change, Never>()
70 |
/Users/admin/builder/spi-builder-workspace/ClassyFlux/FluxStore.swift:71:6: error: stored properties cannot be marked potentially unavailable with '@available'
69 | public lazy var stateWillChange = PassthroughSubject<Change, Never>()
70 |
71 | @available(OSX 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
| `- error: stored properties cannot be marked potentially unavailable with '@available'
72 | public lazy var stateDidChange = PassthroughSubject<Change, Never>()
73 | #endif
/Users/admin/builder/spi-builder-workspace/ClassyFlux/FluxStore.swift:213:23: warning: generic parameter 'State' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
54 |
55 | /// An object that stores the state and allows state mutation only by handling registered actions.
56 | open class FluxStore<State>: FluxWorker {
| `- note: 'State' previously declared here
57 | public typealias State = State
58 |
:
211 | internal let observer: NSObjectProtocol
212 |
213 | internal init<State>(for event: Event, from store: FluxStore<State>, queue: OperationQueue, handler: @escaping (State, Set<PartialKeyPath<State>>) -> Void) {
| `- warning: generic parameter 'State' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
214 | observer = NotificationCenter.default
215 | .addObserver(forName: event.notificationName, object: store, queue: queue) { notification in
Fetching https://github.com/kzlekk/ResolvingContainer.git
[1/133] Fetching resolvingcontainer
Fetched https://github.com/kzlekk/ResolvingContainer.git from cache (0.64s)
Computing version for https://github.com/kzlekk/ResolvingContainer.git
Computed https://github.com/kzlekk/ResolvingContainer.git at 1.0.12 (1.15s)
Creating working copy for https://github.com/kzlekk/ResolvingContainer.git
Working copy of https://github.com/kzlekk/ResolvingContainer.git resolved at 1.0.12
BUILD FAILURE 6.2 macosSpm