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 CLI, reference master (30b84c), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 14:45:42 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/Ponyboy47/CLI.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Ponyboy47/CLI
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 30b84cd Updated README for MultiOption
Cloned https://github.com/Ponyboy47/CLI.git
Revision (git rev-parse @):
30b84cd3b751789e8a53f1ca428731ae6ec4e011
SUCCESS checkout https://github.com/Ponyboy47/CLI.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Ponyboy47/CLI.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/8] Compiling Strings Substring.swift
[5/8] Compiling Strings Strings+Validation.swift
[6/8] Emitting module Strings
[7/8] Compiling Strings Strings+Subscript.swift
[8/8] Compiling Strings Strings.swift
[9/15] Compiling CLI ArgumentParser.swift
[10/15] Compiling CLI ArgumentErrors.swift
[11/15] Emitting module CLI
/Users/admin/builder/spi-builder-workspace/Sources/CLI/MultiOption.swift:73:5: warning: 'public' modifier is redundant for instance method declared in a public extension
71 |
72 | public extension MultiOption where A: Equatable {
73 |     public func index(of element: A) -> Int? {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
74 |         return values.index(of: element)
75 |     }
[12/15] Compiling CLI ArgumentTypes.swift
[13/15] Compiling CLI MultiOption.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLI/MultiOption.swift:73:5: warning: 'public' modifier is redundant for instance method declared in a public extension
71 |
72 | public extension MultiOption where A: Equatable {
73 |     public func index(of element: A) -> Int? {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
74 |         return values.index(of: element)
75 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CLI/MultiOption.swift:52:16: error: 'subscript(_:)' is unavailable
50 |
51 |     public subscript(bounds: Range<Int>) -> Slice<[A]> {
52 |         return values[bounds]
   |                `- error: 'subscript(_:)' is unavailable
53 |     }
54 |
Swift.MutableCollection.subscript:3:21: note: 'subscript(_:)' has been explicitly marked unavailable here
1 | protocol MutableCollection {
2 | @available(*, unavailable)
3 |   @inlinable public subscript(bounds: Range<Self.Index>) -> Slice<Self> { get set }}
  |                     `- note: 'subscript(_:)' has been explicitly marked unavailable here
4 |
[14/15] Compiling CLI ArgumentProtocols.swift
[15/15] Compiling CLI Option+Flag.swift
Fetching https://github.com/Ponyboy47/Strings.git
[1/104] Fetching strings
Fetched https://github.com/Ponyboy47/Strings.git from cache (0.60s)
Computing version for https://github.com/Ponyboy47/Strings.git
Computed https://github.com/Ponyboy47/Strings.git at 2.2.1 (1.18s)
Creating working copy for https://github.com/Ponyboy47/Strings.git
Working copy of https://github.com/Ponyboy47/Strings.git resolved at 2.2.1
BUILD FAILURE 6.2 macosSpm