Build Information
Successful build of Version-Control, reference main (95f4f3
), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 04:22:01 UTC.
Swift 6 data race errors: 0
Build Command
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
Build Log
89 | session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
90 | guard let sitedata = sitedata else {
91 | completionHandler(.failure(taskError ?? NetworkingError.customError(message: "Unknown error occurred")))
| |- warning: capture of 'completionHandler' with non-sendable type '(Result<(Data, [AnyHashable : Any]), any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
92 | return
93 | }
[147/191] Compiling Version_Control Jobs.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:14:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AuroraNetworking' may have shared mutable state; this is an error in the Swift 6 language mode
11 | import SwiftUI
12 |
13 | public class AuroraNetworking {
| `- note: class 'AuroraNetworking' does not conform to the 'Sendable' protocol
14 | static let shared = AuroraNetworking()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AuroraNetworking' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static var cookies: [HTTPCookie]? = []
16 | static var fullResponse: String? = ""
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:15:16: warning: static property 'cookies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public class AuroraNetworking {
14 | static let shared = AuroraNetworking()
15 | static var cookies: [HTTPCookie]? = []
| |- warning: static property 'cookies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cookies' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cookies' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var fullResponse: String? = ""
17 | static let group: DispatchGroup = .init()
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:16:16: warning: static property 'fullResponse' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | static let shared = AuroraNetworking()
15 | static var cookies: [HTTPCookie]? = []
16 | static var fullResponse: String? = ""
| |- warning: static property 'fullResponse' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fullResponse' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fullResponse' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static let group: DispatchGroup = .init()
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
87 |
88 | // Start our data task
89 | session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
| `- warning: variable 'self' was written to, but never read
90 | guard let sitedata = sitedata else {
91 | completionHandler(.failure(taskError ?? NetworkingError.customError(message: "Unknown error occurred")))
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:91:17: warning: capture of 'completionHandler' with non-sendable type '(Result<(Data, [AnyHashable : Any]), any Error>) -> Void' in a '@Sendable' closure
89 | session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
90 | guard let sitedata = sitedata else {
91 | completionHandler(.failure(taskError ?? NetworkingError.customError(message: "Unknown error occurred")))
| |- warning: capture of 'completionHandler' with non-sendable type '(Result<(Data, [AnyHashable : Any]), any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
92 | return
93 | }
[148/191] Compiling Version_Control Workflow.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:14:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AuroraNetworking' may have shared mutable state; this is an error in the Swift 6 language mode
11 | import SwiftUI
12 |
13 | public class AuroraNetworking {
| `- note: class 'AuroraNetworking' does not conform to the 'Sendable' protocol
14 | static let shared = AuroraNetworking()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AuroraNetworking' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static var cookies: [HTTPCookie]? = []
16 | static var fullResponse: String? = ""
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:15:16: warning: static property 'cookies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public class AuroraNetworking {
14 | static let shared = AuroraNetworking()
15 | static var cookies: [HTTPCookie]? = []
| |- warning: static property 'cookies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cookies' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cookies' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var fullResponse: String? = ""
17 | static let group: DispatchGroup = .init()
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:16:16: warning: static property 'fullResponse' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | static let shared = AuroraNetworking()
15 | static var cookies: [HTTPCookie]? = []
16 | static var fullResponse: String? = ""
| |- warning: static property 'fullResponse' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fullResponse' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fullResponse' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static let group: DispatchGroup = .init()
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
87 |
88 | // Start our data task
89 | session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
| `- warning: variable 'self' was written to, but never read
90 | guard let sitedata = sitedata else {
91 | completionHandler(.failure(taskError ?? NetworkingError.customError(message: "Unknown error occurred")))
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:91:17: warning: capture of 'completionHandler' with non-sendable type '(Result<(Data, [AnyHashable : Any]), any Error>) -> Void' in a '@Sendable' closure
89 | session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
90 | guard let sitedata = sitedata else {
91 | completionHandler(.failure(taskError ?? NetworkingError.customError(message: "Unknown error occurred")))
| |- warning: capture of 'completionHandler' with non-sendable type '(Result<(Data, [AnyHashable : Any]), any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
92 | return
93 | }
[149/191] Compiling Version_Control WorkflowRun.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:14:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AuroraNetworking' may have shared mutable state; this is an error in the Swift 6 language mode
11 | import SwiftUI
12 |
13 | public class AuroraNetworking {
| `- note: class 'AuroraNetworking' does not conform to the 'Sendable' protocol
14 | static let shared = AuroraNetworking()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AuroraNetworking' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static var cookies: [HTTPCookie]? = []
16 | static var fullResponse: String? = ""
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:15:16: warning: static property 'cookies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public class AuroraNetworking {
14 | static let shared = AuroraNetworking()
15 | static var cookies: [HTTPCookie]? = []
| |- warning: static property 'cookies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cookies' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cookies' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var fullResponse: String? = ""
17 | static let group: DispatchGroup = .init()
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:16:16: warning: static property 'fullResponse' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | static let shared = AuroraNetworking()
15 | static var cookies: [HTTPCookie]? = []
16 | static var fullResponse: String? = ""
| |- warning: static property 'fullResponse' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fullResponse' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fullResponse' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static let group: DispatchGroup = .init()
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
87 |
88 | // Start our data task
89 | session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
| `- warning: variable 'self' was written to, but never read
90 | guard let sitedata = sitedata else {
91 | completionHandler(.failure(taskError ?? NetworkingError.customError(message: "Unknown error occurred")))
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:91:17: warning: capture of 'completionHandler' with non-sendable type '(Result<(Data, [AnyHashable : Any]), any Error>) -> Void' in a '@Sendable' closure
89 | session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
90 | guard let sitedata = sitedata else {
91 | completionHandler(.failure(taskError ?? NetworkingError.customError(message: "Unknown error occurred")))
| |- warning: capture of 'completionHandler' with non-sendable type '(Result<(Data, [AnyHashable : Any]), any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
92 | return
93 | }
[150/191] Compiling Version_Control WorkflowRuns.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:14:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AuroraNetworking' may have shared mutable state; this is an error in the Swift 6 language mode
11 | import SwiftUI
12 |
13 | public class AuroraNetworking {
| `- note: class 'AuroraNetworking' does not conform to the 'Sendable' protocol
14 | static let shared = AuroraNetworking()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AuroraNetworking' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static var cookies: [HTTPCookie]? = []
16 | static var fullResponse: String? = ""
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:15:16: warning: static property 'cookies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public class AuroraNetworking {
14 | static let shared = AuroraNetworking()
15 | static var cookies: [HTTPCookie]? = []
| |- warning: static property 'cookies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cookies' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cookies' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var fullResponse: String? = ""
17 | static let group: DispatchGroup = .init()
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:16:16: warning: static property 'fullResponse' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | static let shared = AuroraNetworking()
15 | static var cookies: [HTTPCookie]? = []
16 | static var fullResponse: String? = ""
| |- warning: static property 'fullResponse' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fullResponse' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fullResponse' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static let group: DispatchGroup = .init()
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
87 |
88 | // Start our data task
89 | session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
| `- warning: variable 'self' was written to, but never read
90 | guard let sitedata = sitedata else {
91 | completionHandler(.failure(taskError ?? NetworkingError.customError(message: "Unknown error occurred")))
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:91:17: warning: capture of 'completionHandler' with non-sendable type '(Result<(Data, [AnyHashable : Any]), any Error>) -> Void' in a '@Sendable' closure
89 | session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
90 | guard let sitedata = sitedata else {
91 | completionHandler(.failure(taskError ?? NetworkingError.customError(message: "Unknown error occurred")))
| |- warning: capture of 'completionHandler' with non-sendable type '(Result<(Data, [AnyHashable : Any]), any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
92 | return
93 | }
[151/191] Compiling Version_Control Workflows.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:14:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AuroraNetworking' may have shared mutable state; this is an error in the Swift 6 language mode
11 | import SwiftUI
12 |
13 | public class AuroraNetworking {
| `- note: class 'AuroraNetworking' does not conform to the 'Sendable' protocol
14 | static let shared = AuroraNetworking()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AuroraNetworking' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static var cookies: [HTTPCookie]? = []
16 | static var fullResponse: String? = ""
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:15:16: warning: static property 'cookies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public class AuroraNetworking {
14 | static let shared = AuroraNetworking()
15 | static var cookies: [HTTPCookie]? = []
| |- warning: static property 'cookies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cookies' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cookies' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var fullResponse: String? = ""
17 | static let group: DispatchGroup = .init()
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:16:16: warning: static property 'fullResponse' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | static let shared = AuroraNetworking()
15 | static var cookies: [HTTPCookie]? = []
16 | static var fullResponse: String? = ""
| |- warning: static property 'fullResponse' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fullResponse' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fullResponse' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static let group: DispatchGroup = .init()
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
87 |
88 | // Start our data task
89 | session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
| `- warning: variable 'self' was written to, but never read
90 | guard let sitedata = sitedata else {
91 | completionHandler(.failure(taskError ?? NetworkingError.customError(message: "Unknown error occurred")))
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:91:17: warning: capture of 'completionHandler' with non-sendable type '(Result<(Data, [AnyHashable : Any]), any Error>) -> Void' in a '@Sendable' closure
89 | session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
90 | guard let sitedata = sitedata else {
91 | completionHandler(.failure(taskError ?? NetworkingError.customError(message: "Unknown error occurred")))
| |- warning: capture of 'completionHandler' with non-sendable type '(Result<(Data, [AnyHashable : Any]), any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
92 | return
93 | }
[152/191] Compiling Version_Control 2FA.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:14:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AuroraNetworking' may have shared mutable state; this is an error in the Swift 6 language mode
11 | import SwiftUI
12 |
13 | public class AuroraNetworking {
| `- note: class 'AuroraNetworking' does not conform to the 'Sendable' protocol
14 | static let shared = AuroraNetworking()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AuroraNetworking' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static var cookies: [HTTPCookie]? = []
16 | static var fullResponse: String? = ""
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:15:16: warning: static property 'cookies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public class AuroraNetworking {
14 | static let shared = AuroraNetworking()
15 | static var cookies: [HTTPCookie]? = []
| |- warning: static property 'cookies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cookies' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cookies' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var fullResponse: String? = ""
17 | static let group: DispatchGroup = .init()
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:16:16: warning: static property 'fullResponse' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | static let shared = AuroraNetworking()
15 | static var cookies: [HTTPCookie]? = []
16 | static var fullResponse: String? = ""
| |- warning: static property 'fullResponse' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fullResponse' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fullResponse' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static let group: DispatchGroup = .init()
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
87 |
88 | // Start our data task
89 | session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
| `- warning: variable 'self' was written to, but never read
90 | guard let sitedata = sitedata else {
91 | completionHandler(.failure(taskError ?? NetworkingError.customError(message: "Unknown error occurred")))
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:91:17: warning: capture of 'completionHandler' with non-sendable type '(Result<(Data, [AnyHashable : Any]), any Error>) -> Void' in a '@Sendable' closure
89 | session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
90 | guard let sitedata = sitedata else {
91 | completionHandler(.failure(taskError ?? NetworkingError.customError(message: "Unknown error occurred")))
| |- warning: capture of 'completionHandler' with non-sendable type '(Result<(Data, [AnyHashable : Any]), any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
92 | return
93 | }
[153/191] Compiling Version_Control GitHubEmail.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:14:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AuroraNetworking' may have shared mutable state; this is an error in the Swift 6 language mode
11 | import SwiftUI
12 |
13 | public class AuroraNetworking {
| `- note: class 'AuroraNetworking' does not conform to the 'Sendable' protocol
14 | static let shared = AuroraNetworking()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AuroraNetworking' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static var cookies: [HTTPCookie]? = []
16 | static var fullResponse: String? = ""
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:15:16: warning: static property 'cookies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public class AuroraNetworking {
14 | static let shared = AuroraNetworking()
15 | static var cookies: [HTTPCookie]? = []
| |- warning: static property 'cookies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cookies' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cookies' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var fullResponse: String? = ""
17 | static let group: DispatchGroup = .init()
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:16:16: warning: static property 'fullResponse' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | static let shared = AuroraNetworking()
15 | static var cookies: [HTTPCookie]? = []
16 | static var fullResponse: String? = ""
| |- warning: static property 'fullResponse' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fullResponse' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fullResponse' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static let group: DispatchGroup = .init()
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
87 |
88 | // Start our data task
89 | session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
| `- warning: variable 'self' was written to, but never read
90 | guard let sitedata = sitedata else {
91 | completionHandler(.failure(taskError ?? NetworkingError.customError(message: "Unknown error occurred")))
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:91:17: warning: capture of 'completionHandler' with non-sendable type '(Result<(Data, [AnyHashable : Any]), any Error>) -> Void' in a '@Sendable' closure
89 | session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
90 | guard let sitedata = sitedata else {
91 | completionHandler(.failure(taskError ?? NetworkingError.customError(message: "Unknown error occurred")))
| |- warning: capture of 'completionHandler' with non-sendable type '(Result<(Data, [AnyHashable : Any]), any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
92 | return
93 | }
[154/191] Compiling Version_Control AuroraNetworking.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:14:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AuroraNetworking' may have shared mutable state; this is an error in the Swift 6 language mode
11 | import SwiftUI
12 |
13 | public class AuroraNetworking {
| `- note: class 'AuroraNetworking' does not conform to the 'Sendable' protocol
14 | static let shared = AuroraNetworking()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AuroraNetworking' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static var cookies: [HTTPCookie]? = []
16 | static var fullResponse: String? = ""
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:15:16: warning: static property 'cookies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public class AuroraNetworking {
14 | static let shared = AuroraNetworking()
15 | static var cookies: [HTTPCookie]? = []
| |- warning: static property 'cookies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cookies' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cookies' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var fullResponse: String? = ""
17 | static let group: DispatchGroup = .init()
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:16:16: warning: static property 'fullResponse' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | static let shared = AuroraNetworking()
15 | static var cookies: [HTTPCookie]? = []
16 | static var fullResponse: String? = ""
| |- warning: static property 'fullResponse' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fullResponse' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fullResponse' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static let group: DispatchGroup = .init()
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
87 |
88 | // Start our data task
89 | session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
| `- warning: variable 'self' was written to, but never read
90 | guard let sitedata = sitedata else {
91 | completionHandler(.failure(taskError ?? NetworkingError.customError(message: "Unknown error occurred")))
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:91:17: warning: capture of 'completionHandler' with non-sendable type '(Result<(Data, [AnyHashable : Any]), any Error>) -> Void' in a '@Sendable' closure
89 | session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
90 | guard let sitedata = sitedata else {
91 | completionHandler(.failure(taskError ?? NetworkingError.customError(message: "Unknown error occurred")))
| |- warning: capture of 'completionHandler' with non-sendable type '(Result<(Data, [AnyHashable : Any]), any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
92 | return
93 | }
[155/191] Compiling Version_Control Interpret-Trailers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
134 | name: #function)
135 |
136 | if let gitErrorDescription = result.gitErrorDescription {
| `- warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
137 | throw GitErrorParser(result: result,
138 | args: args)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
64 | ]
65 |
66 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
67 | args: args,
68 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
255 | public func getRemoteURL(directoryURL: URL, name: String) async throws -> String? {
256 |
257 | let result = try await GitShell().git(args: ["remote",
| `- warning: no 'async' operations occur within 'await' expression
258 | "get-url",
259 | name],
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
394 | branch: String
395 | ) async throws -> (commitHash: String, ref: String) {
396 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
397 | args: [
398 | "ls-remote",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
388 | }
389 |
390 | var lines = result.stdout.components(separatedBy: .newlines)
| `- warning: variable 'lines' was never mutated; consider changing to 'let' constant
391 |
392 | guard let commitSummaryRe = try? NSRegularExpression(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
13 | case notLoaded
14 | case loading
15 | case loaded(files: [GitFileItem])
| `- warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
131 | public func getLastAEStashEntryForBranch(directoryURL: URL,
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
| `- warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
134 | let branchName = branch
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
134 | let branchName = branch
| `- warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
135 | }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
144 | branch: Any,
145 | untrackedFilesToStage: [WorkingDirectoryFileChange]) throws -> Bool {
146 | let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
| `- warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
147 |
148 | try UpdateIndex().stageFiles(directoryURL: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test
232 | return files
233 | }
234 | } else if let status = status as? UntrackedEntry {
| `- warning: value 'status' was defined but never used; consider replacing with boolean test
235 | files.removeValue(forKey: entry.path)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
427 | }
428 |
429 | if let rebaseState = rebaseInternalState {
| `- warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
430 | return try getRebaseConflictDetails(directoryURL: directoryURL)
431 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
74 | let describeRange = match.range(at: 4)
75 |
76 | let status = stdout.substring(statusRange.lowerBound)
| `- warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
77 | let sha = stdout.substring(shaRange.lowerBound)
78 | let path = stdout.substring(pathRange.lowerBound)
[156/191] Compiling Version_Control LFS.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
134 | name: #function)
135 |
136 | if let gitErrorDescription = result.gitErrorDescription {
| `- warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
137 | throw GitErrorParser(result: result,
138 | args: args)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
64 | ]
65 |
66 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
67 | args: args,
68 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
255 | public func getRemoteURL(directoryURL: URL, name: String) async throws -> String? {
256 |
257 | let result = try await GitShell().git(args: ["remote",
| `- warning: no 'async' operations occur within 'await' expression
258 | "get-url",
259 | name],
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
394 | branch: String
395 | ) async throws -> (commitHash: String, ref: String) {
396 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
397 | args: [
398 | "ls-remote",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
388 | }
389 |
390 | var lines = result.stdout.components(separatedBy: .newlines)
| `- warning: variable 'lines' was never mutated; consider changing to 'let' constant
391 |
392 | guard let commitSummaryRe = try? NSRegularExpression(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
13 | case notLoaded
14 | case loading
15 | case loaded(files: [GitFileItem])
| `- warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
131 | public func getLastAEStashEntryForBranch(directoryURL: URL,
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
| `- warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
134 | let branchName = branch
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
134 | let branchName = branch
| `- warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
135 | }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
144 | branch: Any,
145 | untrackedFilesToStage: [WorkingDirectoryFileChange]) throws -> Bool {
146 | let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
| `- warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
147 |
148 | try UpdateIndex().stageFiles(directoryURL: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test
232 | return files
233 | }
234 | } else if let status = status as? UntrackedEntry {
| `- warning: value 'status' was defined but never used; consider replacing with boolean test
235 | files.removeValue(forKey: entry.path)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
427 | }
428 |
429 | if let rebaseState = rebaseInternalState {
| `- warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
430 | return try getRebaseConflictDetails(directoryURL: directoryURL)
431 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
74 | let describeRange = match.range(at: 4)
75 |
76 | let status = stdout.substring(statusRange.lowerBound)
| `- warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
77 | let sha = stdout.substring(shaRange.lowerBound)
78 | let path = stdout.substring(pathRange.lowerBound)
[157/191] Compiling Version_Control Merge.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
134 | name: #function)
135 |
136 | if let gitErrorDescription = result.gitErrorDescription {
| `- warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
137 | throw GitErrorParser(result: result,
138 | args: args)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
64 | ]
65 |
66 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
67 | args: args,
68 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
255 | public func getRemoteURL(directoryURL: URL, name: String) async throws -> String? {
256 |
257 | let result = try await GitShell().git(args: ["remote",
| `- warning: no 'async' operations occur within 'await' expression
258 | "get-url",
259 | name],
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
394 | branch: String
395 | ) async throws -> (commitHash: String, ref: String) {
396 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
397 | args: [
398 | "ls-remote",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
388 | }
389 |
390 | var lines = result.stdout.components(separatedBy: .newlines)
| `- warning: variable 'lines' was never mutated; consider changing to 'let' constant
391 |
392 | guard let commitSummaryRe = try? NSRegularExpression(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
13 | case notLoaded
14 | case loading
15 | case loaded(files: [GitFileItem])
| `- warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
131 | public func getLastAEStashEntryForBranch(directoryURL: URL,
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
| `- warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
134 | let branchName = branch
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
134 | let branchName = branch
| `- warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
135 | }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
144 | branch: Any,
145 | untrackedFilesToStage: [WorkingDirectoryFileChange]) throws -> Bool {
146 | let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
| `- warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
147 |
148 | try UpdateIndex().stageFiles(directoryURL: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test
232 | return files
233 | }
234 | } else if let status = status as? UntrackedEntry {
| `- warning: value 'status' was defined but never used; consider replacing with boolean test
235 | files.removeValue(forKey: entry.path)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
427 | }
428 |
429 | if let rebaseState = rebaseInternalState {
| `- warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
430 | return try getRebaseConflictDetails(directoryURL: directoryURL)
431 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
74 | let describeRange = match.range(at: 4)
75 |
76 | let status = stdout.substring(statusRange.lowerBound)
| `- warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
77 | let sha = stdout.substring(shaRange.lowerBound)
78 | let path = stdout.substring(pathRange.lowerBound)
[158/191] Compiling Version_Control Pull.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
134 | name: #function)
135 |
136 | if let gitErrorDescription = result.gitErrorDescription {
| `- warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
137 | throw GitErrorParser(result: result,
138 | args: args)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
64 | ]
65 |
66 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
67 | args: args,
68 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
255 | public func getRemoteURL(directoryURL: URL, name: String) async throws -> String? {
256 |
257 | let result = try await GitShell().git(args: ["remote",
| `- warning: no 'async' operations occur within 'await' expression
258 | "get-url",
259 | name],
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
394 | branch: String
395 | ) async throws -> (commitHash: String, ref: String) {
396 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
397 | args: [
398 | "ls-remote",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
388 | }
389 |
390 | var lines = result.stdout.components(separatedBy: .newlines)
| `- warning: variable 'lines' was never mutated; consider changing to 'let' constant
391 |
392 | guard let commitSummaryRe = try? NSRegularExpression(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
13 | case notLoaded
14 | case loading
15 | case loaded(files: [GitFileItem])
| `- warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
131 | public func getLastAEStashEntryForBranch(directoryURL: URL,
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
| `- warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
134 | let branchName = branch
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
134 | let branchName = branch
| `- warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
135 | }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
144 | branch: Any,
145 | untrackedFilesToStage: [WorkingDirectoryFileChange]) throws -> Bool {
146 | let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
| `- warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
147 |
148 | try UpdateIndex().stageFiles(directoryURL: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test
232 | return files
233 | }
234 | } else if let status = status as? UntrackedEntry {
| `- warning: value 'status' was defined but never used; consider replacing with boolean test
235 | files.removeValue(forKey: entry.path)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
427 | }
428 |
429 | if let rebaseState = rebaseInternalState {
| `- warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
430 | return try getRebaseConflictDetails(directoryURL: directoryURL)
431 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
74 | let describeRange = match.range(at: 4)
75 |
76 | let status = stdout.substring(statusRange.lowerBound)
| `- warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
77 | let sha = stdout.substring(shaRange.lowerBound)
78 | let path = stdout.substring(pathRange.lowerBound)
[159/191] Compiling Version_Control Push.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
134 | name: #function)
135 |
136 | if let gitErrorDescription = result.gitErrorDescription {
| `- warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
137 | throw GitErrorParser(result: result,
138 | args: args)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
64 | ]
65 |
66 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
67 | args: args,
68 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
255 | public func getRemoteURL(directoryURL: URL, name: String) async throws -> String? {
256 |
257 | let result = try await GitShell().git(args: ["remote",
| `- warning: no 'async' operations occur within 'await' expression
258 | "get-url",
259 | name],
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
394 | branch: String
395 | ) async throws -> (commitHash: String, ref: String) {
396 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
397 | args: [
398 | "ls-remote",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
388 | }
389 |
390 | var lines = result.stdout.components(separatedBy: .newlines)
| `- warning: variable 'lines' was never mutated; consider changing to 'let' constant
391 |
392 | guard let commitSummaryRe = try? NSRegularExpression(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
13 | case notLoaded
14 | case loading
15 | case loaded(files: [GitFileItem])
| `- warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
131 | public func getLastAEStashEntryForBranch(directoryURL: URL,
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
| `- warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
134 | let branchName = branch
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
134 | let branchName = branch
| `- warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
135 | }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
144 | branch: Any,
145 | untrackedFilesToStage: [WorkingDirectoryFileChange]) throws -> Bool {
146 | let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
| `- warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
147 |
148 | try UpdateIndex().stageFiles(directoryURL: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test
232 | return files
233 | }
234 | } else if let status = status as? UntrackedEntry {
| `- warning: value 'status' was defined but never used; consider replacing with boolean test
235 | files.removeValue(forKey: entry.path)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
427 | }
428 |
429 | if let rebaseState = rebaseInternalState {
| `- warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
430 | return try getRebaseConflictDetails(directoryURL: directoryURL)
431 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
74 | let describeRange = match.range(at: 4)
75 |
76 | let status = stdout.substring(statusRange.lowerBound)
| `- warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
77 | let sha = stdout.substring(shaRange.lowerBound)
78 | let path = stdout.substring(pathRange.lowerBound)
[160/191] Compiling Version_Control RM.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
134 | name: #function)
135 |
136 | if let gitErrorDescription = result.gitErrorDescription {
| `- warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
137 | throw GitErrorParser(result: result,
138 | args: args)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
64 | ]
65 |
66 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
67 | args: args,
68 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
255 | public func getRemoteURL(directoryURL: URL, name: String) async throws -> String? {
256 |
257 | let result = try await GitShell().git(args: ["remote",
| `- warning: no 'async' operations occur within 'await' expression
258 | "get-url",
259 | name],
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
394 | branch: String
395 | ) async throws -> (commitHash: String, ref: String) {
396 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
397 | args: [
398 | "ls-remote",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
388 | }
389 |
390 | var lines = result.stdout.components(separatedBy: .newlines)
| `- warning: variable 'lines' was never mutated; consider changing to 'let' constant
391 |
392 | guard let commitSummaryRe = try? NSRegularExpression(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
13 | case notLoaded
14 | case loading
15 | case loaded(files: [GitFileItem])
| `- warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
131 | public func getLastAEStashEntryForBranch(directoryURL: URL,
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
| `- warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
134 | let branchName = branch
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
134 | let branchName = branch
| `- warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
135 | }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
144 | branch: Any,
145 | untrackedFilesToStage: [WorkingDirectoryFileChange]) throws -> Bool {
146 | let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
| `- warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
147 |
148 | try UpdateIndex().stageFiles(directoryURL: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test
232 | return files
233 | }
234 | } else if let status = status as? UntrackedEntry {
| `- warning: value 'status' was defined but never used; consider replacing with boolean test
235 | files.removeValue(forKey: entry.path)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
427 | }
428 |
429 | if let rebaseState = rebaseInternalState {
| `- warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
430 | return try getRebaseConflictDetails(directoryURL: directoryURL)
431 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
74 | let describeRange = match.range(at: 4)
75 |
76 | let status = stdout.substring(statusRange.lowerBound)
| `- warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
77 | let sha = stdout.substring(shaRange.lowerBound)
78 | let path = stdout.substring(pathRange.lowerBound)
[161/191] Compiling Version_Control Rebase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
134 | name: #function)
135 |
136 | if let gitErrorDescription = result.gitErrorDescription {
| `- warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
137 | throw GitErrorParser(result: result,
138 | args: args)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
64 | ]
65 |
66 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
67 | args: args,
68 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
255 | public func getRemoteURL(directoryURL: URL, name: String) async throws -> String? {
256 |
257 | let result = try await GitShell().git(args: ["remote",
| `- warning: no 'async' operations occur within 'await' expression
258 | "get-url",
259 | name],
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
394 | branch: String
395 | ) async throws -> (commitHash: String, ref: String) {
396 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
397 | args: [
398 | "ls-remote",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
388 | }
389 |
390 | var lines = result.stdout.components(separatedBy: .newlines)
| `- warning: variable 'lines' was never mutated; consider changing to 'let' constant
391 |
392 | guard let commitSummaryRe = try? NSRegularExpression(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
13 | case notLoaded
14 | case loading
15 | case loaded(files: [GitFileItem])
| `- warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
131 | public func getLastAEStashEntryForBranch(directoryURL: URL,
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
| `- warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
134 | let branchName = branch
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
134 | let branchName = branch
| `- warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
135 | }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
144 | branch: Any,
145 | untrackedFilesToStage: [WorkingDirectoryFileChange]) throws -> Bool {
146 | let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
| `- warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
147 |
148 | try UpdateIndex().stageFiles(directoryURL: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test
232 | return files
233 | }
234 | } else if let status = status as? UntrackedEntry {
| `- warning: value 'status' was defined but never used; consider replacing with boolean test
235 | files.removeValue(forKey: entry.path)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
427 | }
428 |
429 | if let rebaseState = rebaseInternalState {
| `- warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
430 | return try getRebaseConflictDetails(directoryURL: directoryURL)
431 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
74 | let describeRange = match.range(at: 4)
75 |
76 | let status = stdout.substring(statusRange.lowerBound)
| `- warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
77 | let sha = stdout.substring(shaRange.lowerBound)
78 | let path = stdout.substring(pathRange.lowerBound)
[162/191] Compiling Version_Control Reflog.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
134 | name: #function)
135 |
136 | if let gitErrorDescription = result.gitErrorDescription {
| `- warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
137 | throw GitErrorParser(result: result,
138 | args: args)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
64 | ]
65 |
66 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
67 | args: args,
68 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
255 | public func getRemoteURL(directoryURL: URL, name: String) async throws -> String? {
256 |
257 | let result = try await GitShell().git(args: ["remote",
| `- warning: no 'async' operations occur within 'await' expression
258 | "get-url",
259 | name],
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
394 | branch: String
395 | ) async throws -> (commitHash: String, ref: String) {
396 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
397 | args: [
398 | "ls-remote",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
388 | }
389 |
390 | var lines = result.stdout.components(separatedBy: .newlines)
| `- warning: variable 'lines' was never mutated; consider changing to 'let' constant
391 |
392 | guard let commitSummaryRe = try? NSRegularExpression(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
13 | case notLoaded
14 | case loading
15 | case loaded(files: [GitFileItem])
| `- warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
131 | public func getLastAEStashEntryForBranch(directoryURL: URL,
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
| `- warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
134 | let branchName = branch
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
134 | let branchName = branch
| `- warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
135 | }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
144 | branch: Any,
145 | untrackedFilesToStage: [WorkingDirectoryFileChange]) throws -> Bool {
146 | let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
| `- warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
147 |
148 | try UpdateIndex().stageFiles(directoryURL: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test
232 | return files
233 | }
234 | } else if let status = status as? UntrackedEntry {
| `- warning: value 'status' was defined but never used; consider replacing with boolean test
235 | files.removeValue(forKey: entry.path)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
427 | }
428 |
429 | if let rebaseState = rebaseInternalState {
| `- warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
430 | return try getRebaseConflictDetails(directoryURL: directoryURL)
431 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
74 | let describeRange = match.range(at: 4)
75 |
76 | let status = stdout.substring(statusRange.lowerBound)
| `- warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
77 | let sha = stdout.substring(shaRange.lowerBound)
78 | let path = stdout.substring(pathRange.lowerBound)
[163/191] Compiling Version_Control Refs.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
134 | name: #function)
135 |
136 | if let gitErrorDescription = result.gitErrorDescription {
| `- warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
137 | throw GitErrorParser(result: result,
138 | args: args)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
64 | ]
65 |
66 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
67 | args: args,
68 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
255 | public func getRemoteURL(directoryURL: URL, name: String) async throws -> String? {
256 |
257 | let result = try await GitShell().git(args: ["remote",
| `- warning: no 'async' operations occur within 'await' expression
258 | "get-url",
259 | name],
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
394 | branch: String
395 | ) async throws -> (commitHash: String, ref: String) {
396 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
397 | args: [
398 | "ls-remote",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
388 | }
389 |
390 | var lines = result.stdout.components(separatedBy: .newlines)
| `- warning: variable 'lines' was never mutated; consider changing to 'let' constant
391 |
392 | guard let commitSummaryRe = try? NSRegularExpression(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
13 | case notLoaded
14 | case loading
15 | case loaded(files: [GitFileItem])
| `- warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
131 | public func getLastAEStashEntryForBranch(directoryURL: URL,
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
| `- warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
134 | let branchName = branch
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
134 | let branchName = branch
| `- warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
135 | }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
144 | branch: Any,
145 | untrackedFilesToStage: [WorkingDirectoryFileChange]) throws -> Bool {
146 | let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
| `- warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
147 |
148 | try UpdateIndex().stageFiles(directoryURL: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test
232 | return files
233 | }
234 | } else if let status = status as? UntrackedEntry {
| `- warning: value 'status' was defined but never used; consider replacing with boolean test
235 | files.removeValue(forKey: entry.path)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
427 | }
428 |
429 | if let rebaseState = rebaseInternalState {
| `- warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
430 | return try getRebaseConflictDetails(directoryURL: directoryURL)
431 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
74 | let describeRange = match.range(at: 4)
75 |
76 | let status = stdout.substring(statusRange.lowerBound)
| `- warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
77 | let sha = stdout.substring(shaRange.lowerBound)
78 | let path = stdout.substring(pathRange.lowerBound)
[164/191] Compiling Version_Control Remote.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
134 | name: #function)
135 |
136 | if let gitErrorDescription = result.gitErrorDescription {
| `- warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
137 | throw GitErrorParser(result: result,
138 | args: args)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
64 | ]
65 |
66 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
67 | args: args,
68 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
255 | public func getRemoteURL(directoryURL: URL, name: String) async throws -> String? {
256 |
257 | let result = try await GitShell().git(args: ["remote",
| `- warning: no 'async' operations occur within 'await' expression
258 | "get-url",
259 | name],
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
394 | branch: String
395 | ) async throws -> (commitHash: String, ref: String) {
396 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
397 | args: [
398 | "ls-remote",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
388 | }
389 |
390 | var lines = result.stdout.components(separatedBy: .newlines)
| `- warning: variable 'lines' was never mutated; consider changing to 'let' constant
391 |
392 | guard let commitSummaryRe = try? NSRegularExpression(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
13 | case notLoaded
14 | case loading
15 | case loaded(files: [GitFileItem])
| `- warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
131 | public func getLastAEStashEntryForBranch(directoryURL: URL,
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
| `- warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
134 | let branchName = branch
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
134 | let branchName = branch
| `- warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
135 | }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
144 | branch: Any,
145 | untrackedFilesToStage: [WorkingDirectoryFileChange]) throws -> Bool {
146 | let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
| `- warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
147 |
148 | try UpdateIndex().stageFiles(directoryURL: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test
232 | return files
233 | }
234 | } else if let status = status as? UntrackedEntry {
| `- warning: value 'status' was defined but never used; consider replacing with boolean test
235 | files.removeValue(forKey: entry.path)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
427 | }
428 |
429 | if let rebaseState = rebaseInternalState {
| `- warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
430 | return try getRebaseConflictDetails(directoryURL: directoryURL)
431 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
74 | let describeRange = match.range(at: 4)
75 |
76 | let status = stdout.substring(statusRange.lowerBound)
| `- warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
77 | let sha = stdout.substring(shaRange.lowerBound)
78 | let path = stdout.substring(pathRange.lowerBound)
[165/191] Compiling Version_Control Reset.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
134 | name: #function)
135 |
136 | if let gitErrorDescription = result.gitErrorDescription {
| `- warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
137 | throw GitErrorParser(result: result,
138 | args: args)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
64 | ]
65 |
66 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
67 | args: args,
68 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
255 | public func getRemoteURL(directoryURL: URL, name: String) async throws -> String? {
256 |
257 | let result = try await GitShell().git(args: ["remote",
| `- warning: no 'async' operations occur within 'await' expression
258 | "get-url",
259 | name],
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
394 | branch: String
395 | ) async throws -> (commitHash: String, ref: String) {
396 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
397 | args: [
398 | "ls-remote",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
388 | }
389 |
390 | var lines = result.stdout.components(separatedBy: .newlines)
| `- warning: variable 'lines' was never mutated; consider changing to 'let' constant
391 |
392 | guard let commitSummaryRe = try? NSRegularExpression(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
13 | case notLoaded
14 | case loading
15 | case loaded(files: [GitFileItem])
| `- warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
131 | public func getLastAEStashEntryForBranch(directoryURL: URL,
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
| `- warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
134 | let branchName = branch
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
134 | let branchName = branch
| `- warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
135 | }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
144 | branch: Any,
145 | untrackedFilesToStage: [WorkingDirectoryFileChange]) throws -> Bool {
146 | let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
| `- warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
147 |
148 | try UpdateIndex().stageFiles(directoryURL: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test
232 | return files
233 | }
234 | } else if let status = status as? UntrackedEntry {
| `- warning: value 'status' was defined but never used; consider replacing with boolean test
235 | files.removeValue(forKey: entry.path)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
427 | }
428 |
429 | if let rebaseState = rebaseInternalState {
| `- warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
430 | return try getRebaseConflictDetails(directoryURL: directoryURL)
431 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
74 | let describeRange = match.range(at: 4)
75 |
76 | let status = stdout.substring(statusRange.lowerBound)
| `- warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
77 | let sha = stdout.substring(shaRange.lowerBound)
78 | let path = stdout.substring(pathRange.lowerBound)
[166/191] Compiling Version_Control Rev-List.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
134 | name: #function)
135 |
136 | if let gitErrorDescription = result.gitErrorDescription {
| `- warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
137 | throw GitErrorParser(result: result,
138 | args: args)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
64 | ]
65 |
66 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
67 | args: args,
68 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
255 | public func getRemoteURL(directoryURL: URL, name: String) async throws -> String? {
256 |
257 | let result = try await GitShell().git(args: ["remote",
| `- warning: no 'async' operations occur within 'await' expression
258 | "get-url",
259 | name],
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
394 | branch: String
395 | ) async throws -> (commitHash: String, ref: String) {
396 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
397 | args: [
398 | "ls-remote",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
388 | }
389 |
390 | var lines = result.stdout.components(separatedBy: .newlines)
| `- warning: variable 'lines' was never mutated; consider changing to 'let' constant
391 |
392 | guard let commitSummaryRe = try? NSRegularExpression(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
13 | case notLoaded
14 | case loading
15 | case loaded(files: [GitFileItem])
| `- warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
131 | public func getLastAEStashEntryForBranch(directoryURL: URL,
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
| `- warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
134 | let branchName = branch
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
134 | let branchName = branch
| `- warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
135 | }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
144 | branch: Any,
145 | untrackedFilesToStage: [WorkingDirectoryFileChange]) throws -> Bool {
146 | let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
| `- warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
147 |
148 | try UpdateIndex().stageFiles(directoryURL: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test
232 | return files
233 | }
234 | } else if let status = status as? UntrackedEntry {
| `- warning: value 'status' was defined but never used; consider replacing with boolean test
235 | files.removeValue(forKey: entry.path)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
427 | }
428 |
429 | if let rebaseState = rebaseInternalState {
| `- warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
430 | return try getRebaseConflictDetails(directoryURL: directoryURL)
431 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
74 | let describeRange = match.range(at: 4)
75 |
76 | let status = stdout.substring(statusRange.lowerBound)
| `- warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
77 | let sha = stdout.substring(shaRange.lowerBound)
78 | let path = stdout.substring(pathRange.lowerBound)
[167/191] Compiling Version_Control Rev-Parse.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
134 | name: #function)
135 |
136 | if let gitErrorDescription = result.gitErrorDescription {
| `- warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
137 | throw GitErrorParser(result: result,
138 | args: args)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
64 | ]
65 |
66 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
67 | args: args,
68 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
255 | public func getRemoteURL(directoryURL: URL, name: String) async throws -> String? {
256 |
257 | let result = try await GitShell().git(args: ["remote",
| `- warning: no 'async' operations occur within 'await' expression
258 | "get-url",
259 | name],
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
394 | branch: String
395 | ) async throws -> (commitHash: String, ref: String) {
396 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
397 | args: [
398 | "ls-remote",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
388 | }
389 |
390 | var lines = result.stdout.components(separatedBy: .newlines)
| `- warning: variable 'lines' was never mutated; consider changing to 'let' constant
391 |
392 | guard let commitSummaryRe = try? NSRegularExpression(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
13 | case notLoaded
14 | case loading
15 | case loaded(files: [GitFileItem])
| `- warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
131 | public func getLastAEStashEntryForBranch(directoryURL: URL,
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
| `- warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
134 | let branchName = branch
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
134 | let branchName = branch
| `- warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
135 | }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
144 | branch: Any,
145 | untrackedFilesToStage: [WorkingDirectoryFileChange]) throws -> Bool {
146 | let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
| `- warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
147 |
148 | try UpdateIndex().stageFiles(directoryURL: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test
232 | return files
233 | }
234 | } else if let status = status as? UntrackedEntry {
| `- warning: value 'status' was defined but never used; consider replacing with boolean test
235 | files.removeValue(forKey: entry.path)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
427 | }
428 |
429 | if let rebaseState = rebaseInternalState {
| `- warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
430 | return try getRebaseConflictDetails(directoryURL: directoryURL)
431 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
74 | let describeRange = match.range(at: 4)
75 |
76 | let status = stdout.substring(statusRange.lowerBound)
| `- warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
77 | let sha = stdout.substring(shaRange.lowerBound)
78 | let path = stdout.substring(pathRange.lowerBound)
[168/191] Compiling Version_Control Revert.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
134 | name: #function)
135 |
136 | if let gitErrorDescription = result.gitErrorDescription {
| `- warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
137 | throw GitErrorParser(result: result,
138 | args: args)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
64 | ]
65 |
66 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
67 | args: args,
68 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
255 | public func getRemoteURL(directoryURL: URL, name: String) async throws -> String? {
256 |
257 | let result = try await GitShell().git(args: ["remote",
| `- warning: no 'async' operations occur within 'await' expression
258 | "get-url",
259 | name],
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
394 | branch: String
395 | ) async throws -> (commitHash: String, ref: String) {
396 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
397 | args: [
398 | "ls-remote",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
388 | }
389 |
390 | var lines = result.stdout.components(separatedBy: .newlines)
| `- warning: variable 'lines' was never mutated; consider changing to 'let' constant
391 |
392 | guard let commitSummaryRe = try? NSRegularExpression(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
13 | case notLoaded
14 | case loading
15 | case loaded(files: [GitFileItem])
| `- warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
131 | public func getLastAEStashEntryForBranch(directoryURL: URL,
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
| `- warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
134 | let branchName = branch
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
134 | let branchName = branch
| `- warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
135 | }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
144 | branch: Any,
145 | untrackedFilesToStage: [WorkingDirectoryFileChange]) throws -> Bool {
146 | let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
| `- warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
147 |
148 | try UpdateIndex().stageFiles(directoryURL: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test
232 | return files
233 | }
234 | } else if let status = status as? UntrackedEntry {
| `- warning: value 'status' was defined but never used; consider replacing with boolean test
235 | files.removeValue(forKey: entry.path)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
427 | }
428 |
429 | if let rebaseState = rebaseInternalState {
| `- warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
430 | return try getRebaseConflictDetails(directoryURL: directoryURL)
431 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
74 | let describeRange = match.range(at: 4)
75 |
76 | let status = stdout.substring(statusRange.lowerBound)
| `- warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
77 | let sha = stdout.substring(shaRange.lowerBound)
78 | let path = stdout.substring(pathRange.lowerBound)
[169/191] Compiling Version_Control Squash.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
134 | name: #function)
135 |
136 | if let gitErrorDescription = result.gitErrorDescription {
| `- warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
137 | throw GitErrorParser(result: result,
138 | args: args)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
64 | ]
65 |
66 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
67 | args: args,
68 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
255 | public func getRemoteURL(directoryURL: URL, name: String) async throws -> String? {
256 |
257 | let result = try await GitShell().git(args: ["remote",
| `- warning: no 'async' operations occur within 'await' expression
258 | "get-url",
259 | name],
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
394 | branch: String
395 | ) async throws -> (commitHash: String, ref: String) {
396 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
397 | args: [
398 | "ls-remote",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
388 | }
389 |
390 | var lines = result.stdout.components(separatedBy: .newlines)
| `- warning: variable 'lines' was never mutated; consider changing to 'let' constant
391 |
392 | guard let commitSummaryRe = try? NSRegularExpression(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
13 | case notLoaded
14 | case loading
15 | case loaded(files: [GitFileItem])
| `- warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
131 | public func getLastAEStashEntryForBranch(directoryURL: URL,
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
| `- warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
134 | let branchName = branch
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
134 | let branchName = branch
| `- warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
135 | }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
144 | branch: Any,
145 | untrackedFilesToStage: [WorkingDirectoryFileChange]) throws -> Bool {
146 | let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
| `- warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
147 |
148 | try UpdateIndex().stageFiles(directoryURL: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test
232 | return files
233 | }
234 | } else if let status = status as? UntrackedEntry {
| `- warning: value 'status' was defined but never used; consider replacing with boolean test
235 | files.removeValue(forKey: entry.path)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
427 | }
428 |
429 | if let rebaseState = rebaseInternalState {
| `- warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
430 | return try getRebaseConflictDetails(directoryURL: directoryURL)
431 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
74 | let describeRange = match.range(at: 4)
75 |
76 | let status = stdout.substring(statusRange.lowerBound)
| `- warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
77 | let sha = stdout.substring(shaRange.lowerBound)
78 | let path = stdout.substring(pathRange.lowerBound)
[170/191] Compiling Version_Control Stage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
134 | name: #function)
135 |
136 | if let gitErrorDescription = result.gitErrorDescription {
| `- warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
137 | throw GitErrorParser(result: result,
138 | args: args)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
64 | ]
65 |
66 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
67 | args: args,
68 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
255 | public func getRemoteURL(directoryURL: URL, name: String) async throws -> String? {
256 |
257 | let result = try await GitShell().git(args: ["remote",
| `- warning: no 'async' operations occur within 'await' expression
258 | "get-url",
259 | name],
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
394 | branch: String
395 | ) async throws -> (commitHash: String, ref: String) {
396 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
397 | args: [
398 | "ls-remote",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
388 | }
389 |
390 | var lines = result.stdout.components(separatedBy: .newlines)
| `- warning: variable 'lines' was never mutated; consider changing to 'let' constant
391 |
392 | guard let commitSummaryRe = try? NSRegularExpression(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
13 | case notLoaded
14 | case loading
15 | case loaded(files: [GitFileItem])
| `- warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
131 | public func getLastAEStashEntryForBranch(directoryURL: URL,
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
| `- warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
134 | let branchName = branch
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
134 | let branchName = branch
| `- warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
135 | }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
144 | branch: Any,
145 | untrackedFilesToStage: [WorkingDirectoryFileChange]) throws -> Bool {
146 | let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
| `- warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
147 |
148 | try UpdateIndex().stageFiles(directoryURL: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test
232 | return files
233 | }
234 | } else if let status = status as? UntrackedEntry {
| `- warning: value 'status' was defined but never used; consider replacing with boolean test
235 | files.removeValue(forKey: entry.path)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
427 | }
428 |
429 | if let rebaseState = rebaseInternalState {
| `- warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
430 | return try getRebaseConflictDetails(directoryURL: directoryURL)
431 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
74 | let describeRange = match.range(at: 4)
75 |
76 | let status = stdout.substring(statusRange.lowerBound)
| `- warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
77 | let sha = stdout.substring(shaRange.lowerBound)
78 | let path = stdout.substring(pathRange.lowerBound)
[171/191] Compiling Version_Control Stash.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
134 | name: #function)
135 |
136 | if let gitErrorDescription = result.gitErrorDescription {
| `- warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
137 | throw GitErrorParser(result: result,
138 | args: args)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
64 | ]
65 |
66 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
67 | args: args,
68 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
255 | public func getRemoteURL(directoryURL: URL, name: String) async throws -> String? {
256 |
257 | let result = try await GitShell().git(args: ["remote",
| `- warning: no 'async' operations occur within 'await' expression
258 | "get-url",
259 | name],
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
394 | branch: String
395 | ) async throws -> (commitHash: String, ref: String) {
396 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
397 | args: [
398 | "ls-remote",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
388 | }
389 |
390 | var lines = result.stdout.components(separatedBy: .newlines)
| `- warning: variable 'lines' was never mutated; consider changing to 'let' constant
391 |
392 | guard let commitSummaryRe = try? NSRegularExpression(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
13 | case notLoaded
14 | case loading
15 | case loaded(files: [GitFileItem])
| `- warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
131 | public func getLastAEStashEntryForBranch(directoryURL: URL,
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
| `- warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
134 | let branchName = branch
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
134 | let branchName = branch
| `- warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
135 | }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
144 | branch: Any,
145 | untrackedFilesToStage: [WorkingDirectoryFileChange]) throws -> Bool {
146 | let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
| `- warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
147 |
148 | try UpdateIndex().stageFiles(directoryURL: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test
232 | return files
233 | }
234 | } else if let status = status as? UntrackedEntry {
| `- warning: value 'status' was defined but never used; consider replacing with boolean test
235 | files.removeValue(forKey: entry.path)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
427 | }
428 |
429 | if let rebaseState = rebaseInternalState {
| `- warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
430 | return try getRebaseConflictDetails(directoryURL: directoryURL)
431 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
74 | let describeRange = match.range(at: 4)
75 |
76 | let status = stdout.substring(statusRange.lowerBound)
| `- warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
77 | let sha = stdout.substring(shaRange.lowerBound)
78 | let path = stdout.substring(pathRange.lowerBound)
[172/191] Compiling Version_Control Status.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
134 | name: #function)
135 |
136 | if let gitErrorDescription = result.gitErrorDescription {
| `- warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
137 | throw GitErrorParser(result: result,
138 | args: args)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
64 | ]
65 |
66 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
67 | args: args,
68 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
255 | public func getRemoteURL(directoryURL: URL, name: String) async throws -> String? {
256 |
257 | let result = try await GitShell().git(args: ["remote",
| `- warning: no 'async' operations occur within 'await' expression
258 | "get-url",
259 | name],
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
394 | branch: String
395 | ) async throws -> (commitHash: String, ref: String) {
396 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
397 | args: [
398 | "ls-remote",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
388 | }
389 |
390 | var lines = result.stdout.components(separatedBy: .newlines)
| `- warning: variable 'lines' was never mutated; consider changing to 'let' constant
391 |
392 | guard let commitSummaryRe = try? NSRegularExpression(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
13 | case notLoaded
14 | case loading
15 | case loaded(files: [GitFileItem])
| `- warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
131 | public func getLastAEStashEntryForBranch(directoryURL: URL,
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
| `- warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
134 | let branchName = branch
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
134 | let branchName = branch
| `- warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
135 | }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
144 | branch: Any,
145 | untrackedFilesToStage: [WorkingDirectoryFileChange]) throws -> Bool {
146 | let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
| `- warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
147 |
148 | try UpdateIndex().stageFiles(directoryURL: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test
232 | return files
233 | }
234 | } else if let status = status as? UntrackedEntry {
| `- warning: value 'status' was defined but never used; consider replacing with boolean test
235 | files.removeValue(forKey: entry.path)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
427 | }
428 |
429 | if let rebaseState = rebaseInternalState {
| `- warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
430 | return try getRebaseConflictDetails(directoryURL: directoryURL)
431 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
74 | let describeRange = match.range(at: 4)
75 |
76 | let status = stdout.substring(statusRange.lowerBound)
| `- warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
77 | let sha = stdout.substring(shaRange.lowerBound)
78 | let path = stdout.substring(pathRange.lowerBound)
[173/191] Compiling Version_Control Submodule.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
134 | name: #function)
135 |
136 | if let gitErrorDescription = result.gitErrorDescription {
| `- warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
137 | throw GitErrorParser(result: result,
138 | args: args)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
64 | ]
65 |
66 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
67 | args: args,
68 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
255 | public func getRemoteURL(directoryURL: URL, name: String) async throws -> String? {
256 |
257 | let result = try await GitShell().git(args: ["remote",
| `- warning: no 'async' operations occur within 'await' expression
258 | "get-url",
259 | name],
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
394 | branch: String
395 | ) async throws -> (commitHash: String, ref: String) {
396 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
397 | args: [
398 | "ls-remote",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
388 | }
389 |
390 | var lines = result.stdout.components(separatedBy: .newlines)
| `- warning: variable 'lines' was never mutated; consider changing to 'let' constant
391 |
392 | guard let commitSummaryRe = try? NSRegularExpression(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
13 | case notLoaded
14 | case loading
15 | case loaded(files: [GitFileItem])
| `- warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
131 | public func getLastAEStashEntryForBranch(directoryURL: URL,
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
| `- warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
134 | let branchName = branch
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
134 | let branchName = branch
| `- warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
135 | }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
144 | branch: Any,
145 | untrackedFilesToStage: [WorkingDirectoryFileChange]) throws -> Bool {
146 | let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
| `- warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
147 |
148 | try UpdateIndex().stageFiles(directoryURL: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test
232 | return files
233 | }
234 | } else if let status = status as? UntrackedEntry {
| `- warning: value 'status' was defined but never used; consider replacing with boolean test
235 | files.removeValue(forKey: entry.path)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
427 | }
428 |
429 | if let rebaseState = rebaseInternalState {
| `- warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
430 | return try getRebaseConflictDetails(directoryURL: directoryURL)
431 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
74 | let describeRange = match.range(at: 4)
75 |
76 | let status = stdout.substring(statusRange.lowerBound)
| `- warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
77 | let sha = stdout.substring(shaRange.lowerBound)
78 | let path = stdout.substring(pathRange.lowerBound)
[174/191] Compiling Version_Control AuroraNetworkingConstants.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it
54 | return []
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/LiveShellClient.swift:10:12: warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var sharedShellClient: LiveShellClient = .init()
| |- warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedShellClient' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'sharedShellClient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | // Inspired by: https://vimeo.com/291588126
[175/191] Compiling Version_Control AuroraNetworkingDebug.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it
54 | return []
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/LiveShellClient.swift:10:12: warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var sharedShellClient: LiveShellClient = .init()
| |- warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedShellClient' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'sharedShellClient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | // Inspired by: https://vimeo.com/291588126
[176/191] Compiling Version_Control HTTPErrors.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it
54 | return []
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/LiveShellClient.swift:10:12: warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var sharedShellClient: LiveShellClient = .init()
| |- warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedShellClient' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'sharedShellClient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | // Inspired by: https://vimeo.com/291588126
[177/191] Compiling Version_Control HTTPMethod.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it
54 | return []
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/LiveShellClient.swift:10:12: warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var sharedShellClient: LiveShellClient = .init()
| |- warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedShellClient' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'sharedShellClient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | // Inspired by: https://vimeo.com/291588126
[178/191] Compiling Version_Control BranchUtil.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it
54 | return []
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/LiveShellClient.swift:10:12: warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var sharedShellClient: LiveShellClient = .init()
| |- warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedShellClient' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'sharedShellClient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | // Inspired by: https://vimeo.com/291588126
[179/191] Compiling Version_Control CommandError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it
54 | return []
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/LiveShellClient.swift:10:12: warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var sharedShellClient: LiveShellClient = .init()
| |- warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedShellClient' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'sharedShellClient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | // Inspired by: https://vimeo.com/291588126
[180/191] Compiling Version_Control Date.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it
54 | return []
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/LiveShellClient.swift:10:12: warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var sharedShellClient: LiveShellClient = .init()
| |- warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedShellClient' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'sharedShellClient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | // Inspired by: https://vimeo.com/291588126
[181/191] Compiling Version_Control FileManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it
54 | return []
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/LiveShellClient.swift:10:12: warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var sharedShellClient: LiveShellClient = .init()
| |- warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedShellClient' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'sharedShellClient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | // Inspired by: https://vimeo.com/291588126
[182/191] Compiling Version_Control String.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it
54 | return []
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/LiveShellClient.swift:10:12: warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var sharedShellClient: LiveShellClient = .init()
| |- warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedShellClient' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'sharedShellClient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | // Inspired by: https://vimeo.com/291588126
[183/191] Compiling Version_Control FileUtils.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it
54 | return []
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/LiveShellClient.swift:10:12: warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var sharedShellClient: LiveShellClient = .init()
| |- warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedShellClient' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'sharedShellClient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | // Inspired by: https://vimeo.com/291588126
[184/191] Compiling Version_Control DefaultBranch.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it
54 | return []
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/LiveShellClient.swift:10:12: warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var sharedShellClient: LiveShellClient = .init()
| |- warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedShellClient' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'sharedShellClient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | // Inspired by: https://vimeo.com/291588126
[185/191] Compiling Version_Control GitAuthor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it
54 | return []
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/LiveShellClient.swift:10:12: warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var sharedShellClient: LiveShellClient = .init()
| |- warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedShellClient' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'sharedShellClient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | // Inspired by: https://vimeo.com/291588126
[186/191] Compiling Version_Control MediaDiff.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it
54 | return []
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/LiveShellClient.swift:10:12: warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var sharedShellClient: LiveShellClient = .init()
| |- warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedShellClient' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'sharedShellClient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | // Inspired by: https://vimeo.com/291588126
[187/191] Compiling Version_Control Regex.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it
54 | return []
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/LiveShellClient.swift:10:12: warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var sharedShellClient: LiveShellClient = .init()
| |- warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedShellClient' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'sharedShellClient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | // Inspired by: https://vimeo.com/291588126
[188/191] Compiling Version_Control RemoveRemotePrefix.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it
54 | return []
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/LiveShellClient.swift:10:12: warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var sharedShellClient: LiveShellClient = .init()
| |- warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedShellClient' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'sharedShellClient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | // Inspired by: https://vimeo.com/291588126
[189/191] Compiling Version_Control LiveShellClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it
54 | return []
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/LiveShellClient.swift:10:12: warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var sharedShellClient: LiveShellClient = .init()
| |- warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedShellClient' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'sharedShellClient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | // Inspired by: https://vimeo.com/291588126
[190/191] Compiling Version_Control ShellClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it
54 | return []
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/LiveShellClient.swift:10:12: warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var sharedShellClient: LiveShellClient = .init()
| |- warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedShellClient' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'sharedShellClient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | // Inspired by: https://vimeo.com/291588126
[191/191] Compiling Version_Control Version_Control.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it
54 | return []
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/LiveShellClient.swift:10:12: warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public var sharedShellClient: LiveShellClient = .init()
| |- warning: var 'sharedShellClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedShellClient' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'sharedShellClient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | // Inspired by: https://vimeo.com/291588126
Build complete! (9.37s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Version-Control",
"name" : "Version-Control",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "Version-Control",
"targets" : [
"Version-Control"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Version_Control_Test",
"module_type" : "SwiftTarget",
"name" : "Version-Control-Test",
"path" : "Tests/Version-Control-Test",
"sources" : [
"Services/Auth/GitHub/GitHubEmailTest.swift"
],
"target_dependencies" : [
"Version-Control"
],
"type" : "test"
},
{
"c99name" : "Version_Control",
"module_type" : "SwiftTarget",
"name" : "Version-Control",
"path" : "Sources/Version-Control",
"product_memberships" : [
"Version-Control"
],
"sources" : [
"Base/Actions/GitHub/GitHubActions.swift",
"Base/Commands/Add.swift",
"Base/Commands/Apply.swift",
"Base/Commands/Branch.swift",
"Base/Commands/Check.swift",
"Base/Commands/Checkout-Index.swift",
"Base/Commands/Checkout.swift",
"Base/Commands/Cherry-Pick.swift",
"Base/Commands/Clone.swift",
"Base/Commands/Commit.swift",
"Base/Commands/Config.swift",
"Base/Commands/Description.swift",
"Base/Commands/Diff-Check.swift",
"Base/Commands/Diff-Index.swift",
"Base/Commands/Diff.swift",
"Base/Commands/Format-Patch.swift",
"Base/Commands/GitIgnore.swift",
"Base/Commands/GitLog.swift",
"Base/Commands/Init.swift",
"Base/Commands/Interpret-Trailers.swift",
"Base/Commands/LFS.swift",
"Base/Commands/Merge.swift",
"Base/Commands/Pull.swift",
"Base/Commands/Push.swift",
"Base/Commands/RM.swift",
"Base/Commands/Rebase.swift",
"Base/Commands/Reflog.swift",
"Base/Commands/Refs.swift",
"Base/Commands/Remote.swift",
"Base/Commands/Reset.swift",
"Base/Commands/Rev-List.swift",
"Base/Commands/Rev-Parse.swift",
"Base/Commands/Revert.swift",
"Base/Commands/Squash.swift",
"Base/Commands/Stage.swift",
"Base/Commands/Stash.swift",
"Base/Commands/Status.swift",
"Base/Commands/Submodule.swift",
"Base/Commands/Tag.swift",
"Base/Commands/Update-Index.swift",
"Base/Commands/Update-Ref.swift",
"Base/Core/Blob/Blob.swift",
"Base/Core/Core.swift",
"Base/Core/GitProcess.swift",
"Base/Core/GitShell.swift",
"Base/Core/IExecutionOptions.swift",
"Base/Core/IGitExecutionOptions.swift",
"Base/Core/IGitResult.swift",
"Base/Core/IResult.swift",
"Base/Core/Parsers/DiffParser.swift",
"Base/Core/Parsers/GitCherryPickParser.swift",
"Base/Core/Parsers/GitDelimiterParser.swift",
"Base/Core/Parsers/GitErrorParser.swift",
"Base/Core/Parsers/GitRebaseParser.swift",
"Base/Core/Parsers/GitStatusParser.swift",
"Base/Core/Parsers/PatchFormatterParser.swift",
"Base/Core/ProcessError.swift",
"Base/Core/Progress/From-Process.swift",
"Base/Core/Progress/GitProgress.swift",
"Base/Core/Progress/LFSProgress.swift",
"Base/Models/CloneOptions.swift",
"Base/Models/Commands/Diff/Diff Component Types /DiffImage.swift",
"Base/Models/Commands/Diff/Diff Types/IBinaryDiff.swift",
"Base/Models/Commands/Diff/Diff Types/IImageDiff.swift",
"Base/Models/Commands/Diff/Diff Types/ILargeTextDiff.swift",
"Base/Models/Commands/Diff/Diff Types/ISubmoduleDiff.swift",
"Base/Models/Commands/Diff/Diff Types/ITextDiff.swift",
"Base/Models/Commands/Diff/Diff Types/IUnrenderableDiff.swift",
"Base/Models/Commands/Diff/DiffType.swift",
"Base/Models/Commands/Diff/IDiff.swift",
"Base/Models/Commands/Diff/IDiffTypes.swift",
"Base/Models/Commands/Diff/ITextDiffData.swift",
"Base/Models/Commands/Log/IChangesetData.swift",
"Base/Models/Commands/Rebase/ComputedAction.swift",
"Base/Models/Commands/Rebase/GitRebaseSnapshot.swift",
"Base/Models/Commands/Rebase/RebaseInternalState.swift",
"Base/Models/Commands/Rebase/RebaseProgressOptions.swift",
"Base/Models/Commands/Rebase/RebaseResult.swift",
"Base/Models/Commands/Status/ConflictFilesDetails.swift",
"Base/Models/Commands/Status/IStatusEntry.swift",
"Base/Models/Commands/Status/IStatusHeader.swift",
"Base/Models/Commands/Status/StatusHeadersData.swift",
"Base/Models/Commands/Status/StatusResult.swift",
"Base/Models/Commands/Status/WorkingDirectoryStatus.swift",
"Base/Models/CommitHistory.swift",
"Base/Models/CommitIdentity.swift",
"Base/Models/Diff/Diff-Data.swift",
"Base/Models/Diff/Diff-Line.swift",
"Base/Models/Diff/Diff-Selection.swift",
"Base/Models/Diff/Helper/Diff-Helper.swift",
"Base/Models/Diff/Raw-Diff.swift",
"Base/Models/Files/AppFileStatus.swift",
"Base/Models/Files/CommittedFileChange.swift",
"Base/Models/Files/FileChange.swift",
"Base/Models/Files/WorkingDirectoryFileChange.swift",
"Base/Models/GitBranch.swift",
"Base/Models/GitCommit.swift",
"Base/Models/GitFileItem.swift",
"Base/Models/GitType.swift",
"Base/Models/IGitAccount.swift",
"Base/Models/IProgress.swift",
"Base/Models/IRemote.swift",
"Base/Models/ManualConflictResolution.swift",
"Base/Models/Stash-Entry.swift",
"Errors/GitError.swift",
"Errors/IndexError.swift",
"Errors/NetworkingError.swift",
"Errors/ShellErrors.swift",
"Services/API/BitBucket/BitBucketAPI.swift",
"Services/API/BitBucket/Interfaces/Repo/IBitBucketAPIPullRequest.swift",
"Services/API/BitBucket/Interfaces/Repo/IBitbucketComment.swift",
"Services/API/BitBucket/Interfaces/Repo/IBitbucketRendered.swift",
"Services/API/GitHub/AuthorizationResponse.swift",
"Services/API/GitHub/AuthorizationResponseKind.swift",
"Services/API/GitHub/GitHubAPI.swift",
"Services/API/GitHub/GithubNetworkingConstants.swift",
"Services/API/GitHub/Interfaces/Account/IAPIEmail.swift",
"Services/API/GitHub/Interfaces/Account/IAPIFullIdentity.swift",
"Services/API/GitHub/Interfaces/Account/IAPIIdentity.swift",
"Services/API/GitHub/Interfaces/Account/IAPIOrganization.swift",
"Services/API/GitHub/Interfaces/Repo/Branch/IAPIBranch.swift",
"Services/API/GitHub/Interfaces/Repo/IAPIFullRepository.swift",
"Services/API/GitHub/Interfaces/Repo/IAPIMentionableResponse.swift",
"Services/API/GitHub/Interfaces/Repo/IAPIRepository.swift",
"Services/API/GitHub/Interfaces/Repo/IAPIRepositoryCloneInfo.swift",
"Services/API/GitHub/Interfaces/Repo/IAPIRepositoryPermissions.swift",
"Services/API/GitHub/Interfaces/Repo/Issues/IAPIIssue.swift",
"Services/API/GitHub/Interfaces/Repo/Pull Request/IAPIComment.swift",
"Services/API/GitHub/Interfaces/Repo/Pull Request/IAPIPullRequest.swift",
"Services/API/GitHub/Interfaces/Repo/Pull Request/IAPIPullRequestRef.swift",
"Services/API/GitHub/Interfaces/Repo/Pull Request/IAPIPullRequestReview.swift",
"Services/API/GitHub/Interfaces/Repo/Push/IAPIPushControl.swift",
"Services/API/GitHub/Interfaces/Repo/Ruleset/IAPIRepoRule.swift",
"Services/API/GitHub/Interfaces/Repo/Ruleset/IAPIRepoRuleMetadataParameters.swift",
"Services/API/GitHub/Interfaces/Repo/Ruleset/IAPIRepoRuleset.swift",
"Services/API/GitHub/Interfaces/Repo/Ruleset/IAPISlimRepoRuleset.swift",
"Services/API/GitHub/Interfaces/Repo/Ruleset/IRawAPIRepoRule.swift",
"Services/API/GitHub/Interfaces/Repo/Workflow/IAPICheckSuite.swift",
"Services/API/GitHub/Interfaces/Repo/Workflow/IAPIRefCheckRun.swift",
"Services/API/GitHub/Interfaces/Repo/Workflow/IAPIRefCheckRunApp.swift",
"Services/API/GitHub/Interfaces/Repo/Workflow/IAPIRefCheckRunCheckSuite.swift",
"Services/API/GitHub/Interfaces/Repo/Workflow/IAPIRefCheckRunOutput.swift",
"Services/API/GitHub/Interfaces/Repo/Workflow/IAPIRefCheckRuns.swift",
"Services/API/GitHub/Interfaces/Repo/Workflow/IAPIRefStatus.swift",
"Services/API/GitHub/Interfaces/Repo/Workflow/IAPIRefStatusItem.swift",
"Services/API/GitHub/Interfaces/Repo/Workflow/IAPIWorkflowJob.swift",
"Services/API/GitHub/Interfaces/Repo/Workflow/IAPIWorkflowJobStep.swift",
"Services/API/GitHub/Interfaces/Repo/Workflow/IAPIWorkflowJobs.swift",
"Services/API/GitHub/Interfaces/Repo/Workflow/IAPIWorkflowRun.swift",
"Services/API/GitHub/Interfaces/Repo/Workflow/IAPIWorkflowRuns.swift",
"Services/API/GitHub/Model/Account/GithubAccount.swift",
"Services/API/GitHub/Model/Repo/Issues/APIIssueState.swift",
"Services/API/GitHub/Model/Repo/Pull Request/APIPullRequestReviewState.swift",
"Services/API/GitHub/Model/Repo/Ruleset/APIRepoRuleMetadataOperator.swift",
"Services/API/GitHub/Model/Repo/Ruleset/APIRepoRuleType.swift",
"Services/API/GitHub/Model/Repo/Workflow/APICheckConclusion.swift",
"Services/API/GitHub/Model/Repo/Workflow/APICheckStatus.swift",
"Services/API/GitHub/Model/Repo/Workflow/APIRefState.swift",
"Services/API/Gitlab/GitlabAPI.swift",
"Services/API/Global/Gravatar.swift",
"Services/Models/Github/Actions/Jobs/Job.swift",
"Services/Models/Github/Actions/Jobs/JobSteps.swift",
"Services/Models/Github/Actions/Jobs/Jobs.swift",
"Services/Models/Github/Actions/Workflow/Workflow.swift",
"Services/Models/Github/Actions/Workflow/WorkflowRun.swift",
"Services/Models/Github/Actions/Workflow/WorkflowRuns.swift",
"Services/Models/Github/Actions/Workflow/Workflows.swift",
"Services/Models/Github/Auth/2FA.swift",
"Services/Models/Github/Auth/GitHubEmail.swift",
"Services/Networking/AuroraNetworking.swift",
"Services/Networking/AuroraNetworkingConstants.swift",
"Services/Networking/AuroraNetworkingDebug.swift",
"Services/Networking/HTTPErrors.swift",
"Services/Networking/HTTPMethod.swift",
"Utils/BranchUtil.swift",
"Utils/CommandError.swift",
"Utils/Extensions/Date.swift",
"Utils/Extensions/FileManager.swift",
"Utils/Extensions/String.swift",
"Utils/FileUtils.swift",
"Utils/Helpers/DefaultBranch.swift",
"Utils/Helpers/GitAuthor.swift",
"Utils/Helpers/MediaDiff.swift",
"Utils/Helpers/Regex.swift",
"Utils/Helpers/RemoveRemotePrefix.swift",
"Utils/LiveShellClient.swift",
"Utils/ShellClient.swift",
"Version_Control.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.