The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Recombine, reference master (3a876c), with Swift 6.3 for macOS (SPM) on 11 Apr 2026 08:49:39 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/qata/recombine.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/qata/recombine
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 3a876c8 Fix git issue
Cloned https://github.com/qata/recombine.git
Revision (git rev-parse @):
3a876c87d9df3916b323ec7aaeeac18ff932dc52
SUCCESS checkout https://github.com/qata/recombine.git at master
========================================
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": "recombine",
      "name": "Recombine",
      "url": "https://github.com/qata/recombine.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/recombine",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/qata/recombine.git
[1/130] Fetching recombine
Fetched https://github.com/qata/recombine.git from cache (0.75s)
Creating working copy for https://github.com/qata/recombine.git
Working copy of https://github.com/qata/recombine.git resolved at master (3a876c8)
warning: '.resolve-product-dependencies': dependency 'recombine' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/qata/recombine.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/6] Emitting module Recombine
[4/6] Compiling Recombine Middleware.swift
[5/6] Compiling Recombine Reducer.swift
[6/6] Compiling Recombine Store.swift
/Users/admin/builder/spi-builder-workspace/Sources/RecombinePackage/Store.swift:76:51: error: 'assign(to:)' is only available in macOS 11.0 or newer
63 | }
64 |
65 | public class StoreTransform<Underlying, State, Action>: ObservableObject {
   |              `- note: add '@available' attribute to enclosing generic class
66 |     @Published
67 |     public private(set) var state: State
   :
70 |
71 |     @available(iOS 14, *)
72 |     public required init(store: Store<Underlying, Action>, lensing keyPath: KeyPath<Underlying, State>) {
   |                     `- note: add '@available' attribute to enclosing initializer
73 |         self.store = store
74 |         self.keyPath = keyPath
75 |         state = store.state[keyPath: keyPath]
76 |         store.$state.map { $0[keyPath: keyPath] }.assign(to: &$state)
   |                                                   |- error: 'assign(to:)' is only available in macOS 11.0 or newer
   |                                                   `- note: add 'if #available' version check
77 |     }
78 |
/Users/admin/builder/spi-builder-workspace/Sources/RecombinePackage/Store.swift:76:63: error: cannot pass as inout because setter for '$state' is only available in macOS 11.0 or newer
63 | }
64 |
65 | public class StoreTransform<Underlying, State, Action>: ObservableObject {
   |              `- note: add '@available' attribute to enclosing generic class
66 |     @Published
67 |     public private(set) var state: State
   :
70 |
71 |     @available(iOS 14, *)
72 |     public required init(store: Store<Underlying, Action>, lensing keyPath: KeyPath<Underlying, State>) {
   |                     `- note: add '@available' attribute to enclosing initializer
73 |         self.store = store
74 |         self.keyPath = keyPath
75 |         state = store.state[keyPath: keyPath]
76 |         store.$state.map { $0[keyPath: keyPath] }.assign(to: &$state)
   |                                                               |- error: cannot pass as inout because setter for '$state' is only available in macOS 11.0 or newer
   |                                                               `- note: add 'if #available' version check
77 |     }
78 |
BUILD FAILURE 6.3 macosSpm