Build Information
Failed to build Docopt, reference master (550ea3
), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 22:05:39 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/docopt/docopt.swift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/docopt/docopt.swift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 550ea32 Fix warning with Swift 4.2 / Xcode 10 (#16)
Cloned https://github.com/docopt/docopt.swift.git
Revision (git rev-parse @):
550ea32104f82942c4d6577858077d09c9265838
SUCCESS checkout https://github.com/docopt/docopt.swift.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",
"dependencies": [
{
"identity": "docopt.swift",
"name": "Docopt",
"url": "https://github.com/docopt/docopt.swift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/docopt.swift",
"dependencies": [
]
}
]
}
Fetching https://github.com/docopt/docopt.swift.git
[1/704] Fetching docopt.swift
Fetched https://github.com/docopt/docopt.swift.git from cache (0.73s)
Creating working copy for https://github.com/docopt/docopt.swift.git
Working copy of https://github.com/docopt/docopt.swift.git resolved at master (550ea32)
warning: '.resolve-product-dependencies': dependency 'docopt.swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/docopt/docopt.swift.git
https://github.com/docopt/docopt.swift.git
{
"dependencies" : [
],
"manifest_display_name" : "Docopt",
"name" : "Docopt",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Docopt",
"targets" : [
"Docopt"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Docopt",
"module_type" : "SwiftTarget",
"name" : "Docopt",
"path" : "Sources",
"product_memberships" : [
"Docopt"
],
"sources" : [
"Argument.swift",
"BranchPattern.swift",
"Command.swift",
"Docopt.swift",
"DocoptError.swift",
"Either.swift",
"LeafPattern.swift",
"OneOrMore.swift",
"Option.swift",
"Optional.swift",
"OptionsShortcut.swift",
"Pattern.swift",
"Required.swift",
"String.swift",
"Tokens.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/17] 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
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
25 | return self.description.hashValue
26 | }
[4/18] Compiling Docopt DocoptError.swift
/Users/admin/builder/spi-builder-workspace/Sources/DocoptError.swift:16:16: warning: static property 'test' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | var name: String
15 |
16 | static var test: Bool = false
| |- warning: static property 'test' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'test' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'test' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static var errorMessage: String?
18 |
/Users/admin/builder/spi-builder-workspace/Sources/DocoptError.swift:17:16: warning: static property 'errorMessage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | static var test: Bool = false
17 | static var errorMessage: String?
| |- warning: static property 'errorMessage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'errorMessage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'errorMessage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | init (_ message: String, name: String) {
/Users/admin/builder/spi-builder-workspace/Sources/DocoptError.swift:42:16: warning: static property 'usage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | internal class DocoptExit: DocoptError {
42 | static var usage: String = ""
| |- warning: static property 'usage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'usage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'usage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | init (_ message: String = "Exit in case user invoked program with incorrect arguments.") {
44 | super.init(message, name: "DocoptExit")
/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
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
25 | return self.description.hashValue
26 | }
[5/18] Compiling Docopt Either.swift
/Users/admin/builder/spi-builder-workspace/Sources/DocoptError.swift:16:16: warning: static property 'test' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | var name: String
15 |
16 | static var test: Bool = false
| |- warning: static property 'test' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'test' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'test' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static var errorMessage: String?
18 |
/Users/admin/builder/spi-builder-workspace/Sources/DocoptError.swift:17:16: warning: static property 'errorMessage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | static var test: Bool = false
17 | static var errorMessage: String?
| |- warning: static property 'errorMessage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'errorMessage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'errorMessage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | init (_ message: String, name: String) {
/Users/admin/builder/spi-builder-workspace/Sources/DocoptError.swift:42:16: warning: static property 'usage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | internal class DocoptExit: DocoptError {
42 | static var usage: String = ""
| |- warning: static property 'usage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'usage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'usage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | init (_ message: String = "Exit in case user invoked program with incorrect arguments.") {
44 | super.init(message, name: "DocoptExit")
/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
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
25 | return self.description.hashValue
26 | }
[6/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
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
25 | return self.description.hashValue
26 | }
[7/18] Compiling Docopt String.swift
[8/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
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
25 | return self.description.hashValue
26 | }
[9/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
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
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]
[10/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
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
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]
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/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
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
25 | return self.description.hashValue
26 | }
[12/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
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
25 | return self.description.hashValue
26 | }
[13/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
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
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
[14/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
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
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
[15/18] 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
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
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/DocoptError.swift:16:16: warning: static property 'test' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | var name: String
15 |
16 | static var test: Bool = false
| |- warning: static property 'test' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'test' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'test' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static var errorMessage: String?
18 |
/Users/admin/builder/spi-builder-workspace/Sources/DocoptError.swift:17:16: warning: static property 'errorMessage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | static var test: Bool = false
17 | static var errorMessage: String?
| |- warning: static property 'errorMessage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'errorMessage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'errorMessage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | init (_ message: String, name: String) {
/Users/admin/builder/spi-builder-workspace/Sources/DocoptError.swift:42:16: warning: static property 'usage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | internal class DocoptExit: DocoptError {
42 | static var usage: String = ""
| |- warning: static property 'usage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'usage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'usage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | init (_ message: String = "Exit in case user invoked program with incorrect arguments.") {
44 | super.init(message, name: "DocoptExit")
/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]
[16/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
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
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 {
[17/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
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
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 {
[18/18] Compiling Docopt Tokens.swift
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/16] 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
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
25 | return self.description.hashValue
26 | }
[3/16] 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
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
25 | return self.description.hashValue
26 | }
[4/16] 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
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
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]
[5/16] 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
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
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]
[6/17] 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
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
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
[7/17] 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
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
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
[8/17] 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
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
25 | return self.description.hashValue
26 | }
[9/17] 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
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
25 | return self.description.hashValue
26 | }
[10/17] 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
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
25 | return self.description.hashValue
26 | }
[11/17] Compiling Docopt String.swift
[12/17] Compiling Docopt Tokens.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/17] 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
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
25 | return self.description.hashValue
26 | }
[14/17] 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
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
25 | return self.description.hashValue
26 | }
[15/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
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
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/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]
[16/17] 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
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
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 {
[17/17] 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
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
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 {
BUILD FAILURE 6.1 macosSpm