The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ClassyFlux, reference 2.0.1 (cb9abf), with Swift 6.3 for macOS (SPM) on 23 Apr 2026 08:37:33 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Cozmonat/ClassyFlux.git
Reference: 2.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Cozmonat/ClassyFlux
 * tag               2.0.1      -> FETCH_HEAD
HEAD is now at cb9abff Include all .swift files in pod
Cloned https://github.com/Cozmonat/ClassyFlux.git
Revision (git rev-parse @):
cb9abff2adfdead4396d86090028b2974caf4f52
SUCCESS checkout https://github.com/Cozmonat/ClassyFlux.git at 2.0.1
Fetching https://github.com/kzlekk/ResolvingContainer.git
[1/133] Fetching resolvingcontainer
Fetched https://github.com/kzlekk/ResolvingContainer.git from cache (0.60s)
Computing version for https://github.com/kzlekk/ResolvingContainer.git
Computed https://github.com/kzlekk/ResolvingContainer.git at 1.0.12 (1.30s)
Creating working copy for https://github.com/kzlekk/ResolvingContainer.git
Working copy of https://github.com/kzlekk/ResolvingContainer.git resolved at 1.0.12
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "classyflux",
      "name": "ClassyFlux",
      "url": "https://github.com/Cozmonat/ClassyFlux.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ClassyFlux",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "resolvingcontainer",
          "name": "ResolvingContainer",
          "url": "https://github.com/kzlekk/ResolvingContainer.git",
          "version": "1.0.12",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ResolvingContainer",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Cozmonat/ClassyFlux.git
[1/1164] Fetching classyflux
Fetched https://github.com/Cozmonat/ClassyFlux.git from cache (0.94s)
Fetching https://github.com/kzlekk/ResolvingContainer.git from cache
Fetched https://github.com/kzlekk/ResolvingContainer.git from cache (0.43s)
Computing version for https://github.com/kzlekk/ResolvingContainer.git
Computed https://github.com/kzlekk/ResolvingContainer.git at 1.0.12 (0.49s)
Creating working copy for https://github.com/kzlekk/ResolvingContainer.git
Working copy of https://github.com/kzlekk/ResolvingContainer.git resolved at 1.0.12
Creating working copy for https://github.com/Cozmonat/ClassyFlux.git
Working copy of https://github.com/Cozmonat/ClassyFlux.git resolved at 2.0.1 (cb9abff)
warning: '.resolve-product-dependencies': dependency 'classyflux' is not used by any target
Found 1 product dependencies
  - ResolvingContainer
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/Cozmonat/ClassyFlux.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--6988338F2F200930.txt
[4/5] Compiling ResolvingContainer ResolvingContainer.swift
[5/5] Emitting module ResolvingContainer
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/13] Compiling ClassyFlux FluxWorker.swift
[7/13] Compiling ClassyFlux FluxAction.swift
[8/13] Compiling ClassyFlux FluxAggregator.swift
[9/13] Compiling ClassyFlux FluxRepository.swift
[10/13] Compiling ClassyFlux FluxMiddleware.swift
[11/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
[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] 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
BUILD FAILURE 6.3 macosSpm