The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build IDKit, reference main (950bf9), with Swift 6.2 (beta) for macOS (SPM) on 24 Jun 2025 14:41:57 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NikSativa/IDKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NikSativa/IDKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 950bf9d upd SwiftFormat rules and github actions
Cloned https://github.com/NikSativa/IDKit.git
Revision (git rev-parse @):
950bf9d07862da194f7fdc0a91e3c2b7b69c10da
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/NikSativa/IDKit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/NikSativa/IDKit.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
[0/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/12] Compiling IDKit TypedID.swift
[5/12] Compiling IDKit Sequence+IDKit.swift
[6/12] Compiling IDKit IDContract.swift
[7/12] Compiling IDKit Array+IDKit.swift
[8/12] Compiling IDKit AnyID.swift
[9/12] Compiling IDKit resource_bundle_accessor.swift
[10/12] Emitting module IDKit
[11/12] Compiling IDKit IDRepresentable.swift
[12/12] Compiling IDKit BindingID.swift
/Users/admin/builder/spi-builder-workspace/Source/BindingID.swift:125:26: error: conformance of 'Binding<Value>' to 'Collection' is only available in macOS 12.0 or newer
117 | #endif
118 |
119 | private extension Binding {
    |         `- note: add @available attribute to enclosing extension
120 |     #if swift(>=6.0)
121 |     func transform<T>(_ idTransform: @escaping @Sendable (TypedID<T>) -> String) -> Binding<[BindingID<T>]>
    |          `- note: add @available attribute to enclosing instance method
122 |     where Self == Binding<[T]>, T: IDContract & Sendable {
123 |         return .init(get: {
124 |                          var result: [BindingID<T>] = []
125 |                          for item in self {
    |                          |- error: conformance of 'Binding<Value>' to 'Collection' is only available in macOS 12.0 or newer
    |                          `- note: add 'if #available' version check
126 |                              result.append(BindingID(item, idTransform: idTransform))
127 |                          }
/Users/admin/builder/spi-builder-workspace/Source/BindingID.swift:125:26: error: conformance of 'Binding<Value>' to 'Collection' is only available in macOS 12.0 or newer
117 | #endif
118 |
119 | private extension Binding {
    |         `- note: add @available attribute to enclosing extension
120 |     #if swift(>=6.0)
121 |     func transform<T>(_ idTransform: @escaping @Sendable (TypedID<T>) -> String) -> Binding<[BindingID<T>]>
    |          `- note: add @available attribute to enclosing instance method
122 |     where Self == Binding<[T]>, T: IDContract & Sendable {
123 |         return .init(get: {
124 |                          var result: [BindingID<T>] = []
125 |                          for item in self {
    |                          |- error: conformance of 'Binding<Value>' to 'Collection' is only available in macOS 12.0 or newer
    |                          `- note: add 'if #available' version check
126 |                              result.append(BindingID(item, idTransform: idTransform))
127 |                          }
Fetching https://github.com/NikSativa/SpryKit.git
[1/967] Fetching sprykit
Fetched https://github.com/NikSativa/SpryKit.git from cache (0.78s)
Computing version for https://github.com/NikSativa/SpryKit.git
Computed https://github.com/NikSativa/SpryKit.git at 3.0.4 (1.24s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/apple/swift-syntax.git
[1/1257] Fetching cwlpreconditiontesting
[1258/72204] Fetching cwlpreconditiontesting, swift-syntax
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (3.16s)
Fetched https://github.com/apple/swift-syntax.git from cache (3.16s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (5.78s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.48s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[5/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.72s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.22s)
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/NikSativa/SpryKit.git
Working copy of https://github.com/NikSativa/SpryKit.git resolved at 3.0.4
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 600.0.1
BUILD FAILURE 6.2 macosSpm