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 Docopt, reference 0.6.6 (507b79), with Swift 6.2 (beta) for macOS (SPM) on 17 Jun 2025 23:20:38 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/docopt/docopt.swift.git
Reference: 0.6.6
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/docopt/docopt.swift
 * tag               0.6.6      -> FETCH_HEAD
HEAD is now at 507b790 Merge branch 'master' of https://github.com/docopt/docopt.swift
Cloned https://github.com/docopt/docopt.swift.git
Revision (git rev-parse @):
507b790fdffc6e2a51c4d5442aa781be7e99fbff
SUCCESS checkout https://github.com/docopt/docopt.swift.git at 0.6.6
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/docopt/docopt.swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/17] Emitting module Docopt
/Users/admin/builder/spi-builder-workspace/Sources/Pattern.swift:24:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Pattern' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 22 |         }
 23 |     }
 24 |     var hashValue: Int { get {
    |         `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Pattern' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 25 |             return self.description.hashValue
 26 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Argument.swift:18:19: error: method does not override any method from its superclass
16 |     }
17 |
18 |     override func singleMatch<T: LeafPattern>(_ left: [T]) -> SingleMatchResult {
   |                   `- error: method does not override any method from its superclass
19 |         for i in 0..<left.count {
20 |             let pattern = left[i]
/Users/admin/builder/spi-builder-workspace/Sources/Docopt.swift:21:28: warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
 19 |     fileprivate let arguments: [String]
 20 |
 21 |     @objc open static func parse(_ doc: String, argv: [String], help: Bool = false, version: String? = nil, optionsFirst: Bool = false) -> [String: AnyObject] {
    |                            `- warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
 22 |         return Docopt(doc, argv: argv, help: help, version: version, optionsFirst: optionsFirst).result
 23 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LeafPattern.swift:61:19: error: method does not override any method from its superclass
 59 |     }
 60 |
 61 |     override func flat<T: LeafPattern>(_: T.Type) -> [T] {
    |                   `- error: method does not override any method from its superclass
 62 |         if let cast = self as? T {
 63 |             return [cast]
/Users/admin/builder/spi-builder-workspace/Sources/Option.swift:86:19: error: method does not override any method from its superclass
 84 |     }
 85 |
 86 |     override func singleMatch<T: LeafPattern>(_ left: [T]) -> SingleMatchResult {
    |                   `- error: method does not override any method from its superclass
 87 |         for i in 0..<left.count {
 88 |             let pattern = left[i]
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[4/18] Compiling Docopt Command.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pattern.swift:24:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Pattern' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 22 |         }
 23 |     }
 24 |     var hashValue: Int { get {
    |         `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Pattern' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 25 |             return self.description.hashValue
 26 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Docopt.swift:21:28: warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
 19 |     fileprivate let arguments: [String]
 20 |
 21 |     @objc open static func parse(_ doc: String, argv: [String], help: Bool = false, version: String? = nil, optionsFirst: Bool = false) -> [String: AnyObject] {
    |                            `- warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
 22 |         return Docopt(doc, argv: argv, help: help, version: version, optionsFirst: optionsFirst).result
 23 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Docopt.swift:180:34: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
178 |             let similar = options.filter {$0.short == short}
179 |             var o: Option
180 |             left = left[1..<left.characters.count]
    |                                  `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
181 |
182 |             if similar.count > 1 {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[5/18] Compiling Docopt Docopt.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pattern.swift:24:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Pattern' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 22 |         }
 23 |     }
 24 |     var hashValue: Int { get {
    |         `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Pattern' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 25 |             return self.description.hashValue
 26 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Docopt.swift:21:28: warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
 19 |     fileprivate let arguments: [String]
 20 |
 21 |     @objc open static func parse(_ doc: String, argv: [String], help: Bool = false, version: String? = nil, optionsFirst: Bool = false) -> [String: AnyObject] {
    |                            `- warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
 22 |         return Docopt(doc, argv: argv, help: help, version: version, optionsFirst: optionsFirst).result
 23 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Docopt.swift:180:34: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
178 |             let similar = options.filter {$0.short == short}
179 |             var o: Option
180 |             left = left[1..<left.characters.count]
    |                                  `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
181 |
182 |             if similar.count > 1 {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[6/18] Compiling Docopt LeafPattern.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pattern.swift:24:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Pattern' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 22 |         }
 23 |     }
 24 |     var hashValue: Int { get {
    |         `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Pattern' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 25 |             return self.description.hashValue
 26 |         }
/Users/admin/builder/spi-builder-workspace/Sources/LeafPattern.swift:61:19: error: method does not override any method from its superclass
 59 |     }
 60 |
 61 |     override func flat<T: LeafPattern>(_: T.Type) -> [T] {
    |                   `- error: method does not override any method from its superclass
 62 |         if let cast = self as? T {
 63 |             return [cast]
/Users/admin/builder/spi-builder-workspace/Sources/LeafPattern.swift:80:13: warning: variable 'sameName' was never mutated; consider changing to 'let' constant
 78 |         left_.remove(at: pos)
 79 |
 80 |         var sameName = collected.filter({ item in
    |             `- warning: variable 'sameName' was never mutated; consider changing to 'let' constant
 81 |             if let cast = item as? LeafPattern {
 82 |                 return self.name == cast.name
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[7/18] Compiling Docopt OneOrMore.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pattern.swift:24:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Pattern' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 22 |         }
 23 |     }
 24 |     var hashValue: Int { get {
    |         `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Pattern' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 25 |             return self.description.hashValue
 26 |         }
/Users/admin/builder/spi-builder-workspace/Sources/LeafPattern.swift:61:19: error: method does not override any method from its superclass
 59 |     }
 60 |
 61 |     override func flat<T: LeafPattern>(_: T.Type) -> [T] {
    |                   `- error: method does not override any method from its superclass
 62 |         if let cast = self as? T {
 63 |             return [cast]
/Users/admin/builder/spi-builder-workspace/Sources/LeafPattern.swift:80:13: warning: variable 'sameName' was never mutated; consider changing to 'let' constant
 78 |         left_.remove(at: pos)
 79 |
 80 |         var sameName = collected.filter({ item in
    |             `- warning: variable 'sameName' was never mutated; consider changing to 'let' constant
 81 |             if let cast = item as? LeafPattern {
 82 |                 return self.name == cast.name
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[8/18] Compiling Docopt Argument.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pattern.swift:24:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Pattern' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 22 |         }
 23 |     }
 24 |     var hashValue: Int { get {
    |         `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Pattern' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 25 |             return self.description.hashValue
 26 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Argument.swift:18:19: error: method does not override any method from its superclass
16 |     }
17 |
18 |     override func singleMatch<T: LeafPattern>(_ left: [T]) -> SingleMatchResult {
   |                   `- error: method does not override any method from its superclass
19 |         for i in 0..<left.count {
20 |             let pattern = left[i]
/Users/admin/builder/spi-builder-workspace/Sources/BranchPattern.swift:28:13: warning: variable 'uniq' was never mutated; consider changing to 'let' constant
26 |
27 |     override func fixIdentities(_ unq: [LeafPattern]? = nil) {
28 |         var uniq: [LeafPattern] = unq ?? Array(Set(flat()))
   |             `- warning: variable 'uniq' was never mutated; consider changing to 'let' constant
29 |
30 |         for i in 0..<children.count {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[9/18] Compiling Docopt BranchPattern.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pattern.swift:24:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Pattern' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 22 |         }
 23 |     }
 24 |     var hashValue: Int { get {
    |         `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Pattern' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 25 |             return self.description.hashValue
 26 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Argument.swift:18:19: error: method does not override any method from its superclass
16 |     }
17 |
18 |     override func singleMatch<T: LeafPattern>(_ left: [T]) -> SingleMatchResult {
   |                   `- error: method does not override any method from its superclass
19 |         for i in 0..<left.count {
20 |             let pattern = left[i]
/Users/admin/builder/spi-builder-workspace/Sources/BranchPattern.swift:28:13: warning: variable 'uniq' was never mutated; consider changing to 'let' constant
26 |
27 |     override func fixIdentities(_ unq: [LeafPattern]? = nil) {
28 |         var uniq: [LeafPattern] = unq ?? Array(Set(flat()))
   |             `- warning: variable 'uniq' was never mutated; consider changing to 'let' constant
29 |
30 |         for i in 0..<children.count {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[10/18] Compiling Docopt Required.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pattern.swift:24:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Pattern' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 22 |         }
 23 |     }
 24 |     var hashValue: Int { get {
    |         `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Pattern' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 25 |             return self.description.hashValue
 26 |         }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[11/18] Compiling Docopt DocoptError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pattern.swift:24:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Pattern' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 22 |         }
 23 |     }
 24 |     var hashValue: Int { get {
    |         `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Pattern' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 25 |             return self.description.hashValue
 26 |         }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[12/18] Compiling Docopt Either.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pattern.swift:24:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Pattern' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 22 |         }
 23 |     }
 24 |     var hashValue: Int { get {
    |         `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Pattern' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 25 |             return self.description.hashValue
 26 |         }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[13/18] Compiling Docopt Pattern.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pattern.swift:24:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Pattern' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 22 |         }
 23 |     }
 24 |     var hashValue: Int { get {
    |         `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Pattern' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 25 |             return self.description.hashValue
 26 |         }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[14/18] Compiling Docopt OptionsShortcut.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pattern.swift:24:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Pattern' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 22 |         }
 23 |     }
 24 |     var hashValue: Int { get {
    |         `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Pattern' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 25 |             return self.description.hashValue
 26 |         }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[15/18] Compiling Docopt String.swift
/Users/admin/builder/spi-builder-workspace/Sources/String.swift:26:39: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
24 |     func findAll(_ regex: String, flags: NSRegularExpression.Options) -> [String] {
25 |         let re = try! NSRegularExpression(pattern: regex, options: flags)
26 |         let all = NSMakeRange(0, self.characters.count)
   |                                       `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
27 |         let matches = re.matches(in: self, options: [], range: all)
28 |         return matches.map {self[$0.range(at: 1)].strip()}
/Users/admin/builder/spi-builder-workspace/Sources/String.swift:32:21: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
30 |
31 |     func split() -> [String] {
32 |         return self.characters.split(whereSeparator: {$0 == " " || $0 == "\n"}).map(String.init)
   |                     `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
33 |     }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/String.swift:37:39: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
35 |     func split(_ regex: String) -> [String] {
36 |         let re = try! NSRegularExpression(pattern: regex, options: .dotMatchesLineSeparators)
37 |         let all = NSMakeRange(0, self.characters.count)
   |                                       `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
38 |         var result = [String]()
39 |         let matches = re.matches(in: self, options: [], range: all)
/Users/admin/builder/spi-builder-workspace/Sources/String.swift:55:40: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
53 |                     result.append(self[range])
54 |                     lastEnd = range.location + range.length
55 |                     if lastEnd == self.characters.count {
   |                                        `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
56 |                         // from python docs: If there are capturing groups in the separator and it matches at the start of the string,
57 |                         // the result will start with an empty string. The same holds for the end of the string:
/Users/admin/builder/spi-builder-workspace/Sources/String.swift:65:32: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
63 |                 }
64 |             }
65 |             if lastEnd != self.characters.count {
   |                                `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
66 |                 result.append(self[lastEnd..<self.characters.count])
67 |             }
/Users/admin/builder/spi-builder-workspace/Sources/String.swift:66:51: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
64 |             }
65 |             if lastEnd != self.characters.count {
66 |                 result.append(self[lastEnd..<self.characters.count])
   |                                                   `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
67 |             }
68 |             return result
/Users/admin/builder/spi-builder-workspace/Sources/String.swift:80:26: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
78 |
79 |     subscript(range: Range<Int>) -> String {
80 |       return String(self[characters.index(startIndex, offsetBy: range.lowerBound)..<characters.index(startIndex, offsetBy: range.upperBound)])
   |                          `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
81 |     }
82 |
/Users/admin/builder/spi-builder-workspace/Sources/String.swift:80:85: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
78 |
79 |     subscript(range: Range<Int>) -> String {
80 |       return String(self[characters.index(startIndex, offsetBy: range.lowerBound)..<characters.index(startIndex, offsetBy: range.upperBound)])
   |                                                                                     `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
81 |     }
82 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[16/18] Compiling Docopt Option.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pattern.swift:24:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Pattern' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 22 |         }
 23 |     }
 24 |     var hashValue: Int { get {
    |         `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Pattern' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 25 |             return self.description.hashValue
 26 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Option.swift:86:19: error: method does not override any method from its superclass
 84 |     }
 85 |
 86 |     override func singleMatch<T: LeafPattern>(_ left: [T]) -> SingleMatchResult {
    |                   `- error: method does not override any method from its superclass
 87 |         for i in 0..<left.count {
 88 |             let pattern = left[i]
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[17/18] Compiling Docopt Optional.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pattern.swift:24:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Pattern' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 22 |         }
 23 |     }
 24 |     var hashValue: Int { get {
    |         `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Pattern' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 25 |             return self.description.hashValue
 26 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Option.swift:86:19: error: method does not override any method from its superclass
 84 |     }
 85 |
 86 |     override func singleMatch<T: LeafPattern>(_ left: [T]) -> SingleMatchResult {
    |                   `- error: method does not override any method from its superclass
 87 |         for i in 0..<left.count {
 88 |             let pattern = left[i]
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[18/18] Compiling Docopt Tokens.swift
BUILD FAILURE 6.2 macosSpm