Build Information
Successful build of Version-Control, reference 1.0.4 (95f4f3
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 13:02:27 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
| |- warning: capture of 'completionHandler' with non-sendable type '(Result<(Data, [AnyHashable : Any]), any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
92 | return
93 | }
[166/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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'cookies' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'fullResponse' with '@MainActor' if property should only be accessed from the main actor
| `- 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
92 | return
93 | }
[167/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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'cookies' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'fullResponse' with '@MainActor' if property should only be accessed from the main actor
| `- 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
92 | return
93 | }
[168/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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'cookies' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'fullResponse' with '@MainActor' if property should only be accessed from the main actor
| `- 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
92 | return
93 | }
[169/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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'cookies' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'fullResponse' with '@MainActor' if property should only be accessed from the main actor
| `- 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
92 | return
93 | }
[170/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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'cookies' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'fullResponse' with '@MainActor' if property should only be accessed from the main actor
| `- 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
92 | return
93 | }
[171/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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'cookies' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'fullResponse' with '@MainActor' if property should only be accessed from the main actor
| `- 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
92 | return
93 | }
[172/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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'cookies' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'fullResponse' with '@MainActor' if property should only be accessed from the main actor
| `- 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
92 | return
93 | }
[173/191] Compiling Version_Control Tag.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
153 |
154 | if let gitError = gitError {
155 | errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
| | |- note: use 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid this warning
| `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
156 | }
157 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
90 | }
91 |
92 | let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
| `- warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
93 |
94 | let timeout: TimeInterval = 30 // Adjust this value as needed
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:81:17: warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
79 | let data = handle.availableData
80 | if let output = String(data: data, encoding: .utf8) {
81 | stdout += output
| `- warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
82 | }
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:88:17: warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
86 | let data = handle.availableData
87 | if let output = String(data: data, encoding: .utf8) {
88 | stderr += output
| `- warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Errors/GitError.swift:75:12: warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // The git errors which can be parsed from failed git commands.
11 | public enum GitError {
| `- note: consider making enum 'GitError' conform to the 'Sendable' protocol
12 | case SSHKeyAuditUnverified
13 | case SSHAuthenticationFailed
:
73 |
74 | // A mapping from regexes to the git error they identify.
75 | public let gitErrorRegexes: [String: GitError] = [
| |- warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gitErrorRegexes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | "ERROR: ([\\s\\S]+?)\\n+\\[EPOLICYKEYAGE\\]\\n+fatal: Could not read from remote repository.":
77 | .SSHKeyAuditUnverified,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
216 |
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
| `- warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
219 | let previousHunk: DiffHunk? = nil
220 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
219 | let previousHunk: DiffHunk? = nil
| `- warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
220 |
221 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:10:7: warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class GitErrorParser: Error {
| `- warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | /// The result from the failed command.
12 | let result: IGitResult
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:12:9: warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
10 | class GitErrorParser: Error {
11 | /// The result from the failed command.
12 | let result: IGitResult
| `- warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
13 |
14 | /// The args for the failed command.
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/IGitResult.swift:10:15: note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct IGitResult: IResult {
| `- note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
11 | public var stdout: String
12 | public var stderr: String
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
20 | init(result: IGitResult, args: [String]) {
21 | var rawMessage = true
22 | var message = ""
| `- warning: variable 'message' was written to, but never read
23 |
24 | if let gitErrorDescription = result.gitErrorDescription {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
167 | ) -> FileEntry {
168 |
169 | var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
| `- warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
170 |
171 | if statusCode == "??" {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
169 | // Unselected deleted lines are ignored since they are not in the working copy
170 | continue
171 | default: // FIXME: default will never be executed
| `- warning: default will never be executed
172 | // Handle unsupported line types if needed
173 | fatalError("Unsupported line type \(line.type)")
[174/191] Compiling Version_Control Update-Index.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
153 |
154 | if let gitError = gitError {
155 | errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
| | |- note: use 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid this warning
| `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
156 | }
157 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
90 | }
91 |
92 | let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
| `- warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
93 |
94 | let timeout: TimeInterval = 30 // Adjust this value as needed
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:81:17: warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
79 | let data = handle.availableData
80 | if let output = String(data: data, encoding: .utf8) {
81 | stdout += output
| `- warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
82 | }
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:88:17: warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
86 | let data = handle.availableData
87 | if let output = String(data: data, encoding: .utf8) {
88 | stderr += output
| `- warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Errors/GitError.swift:75:12: warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // The git errors which can be parsed from failed git commands.
11 | public enum GitError {
| `- note: consider making enum 'GitError' conform to the 'Sendable' protocol
12 | case SSHKeyAuditUnverified
13 | case SSHAuthenticationFailed
:
73 |
74 | // A mapping from regexes to the git error they identify.
75 | public let gitErrorRegexes: [String: GitError] = [
| |- warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gitErrorRegexes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | "ERROR: ([\\s\\S]+?)\\n+\\[EPOLICYKEYAGE\\]\\n+fatal: Could not read from remote repository.":
77 | .SSHKeyAuditUnverified,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
216 |
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
| `- warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
219 | let previousHunk: DiffHunk? = nil
220 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
219 | let previousHunk: DiffHunk? = nil
| `- warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
220 |
221 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:10:7: warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class GitErrorParser: Error {
| `- warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | /// The result from the failed command.
12 | let result: IGitResult
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:12:9: warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
10 | class GitErrorParser: Error {
11 | /// The result from the failed command.
12 | let result: IGitResult
| `- warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
13 |
14 | /// The args for the failed command.
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/IGitResult.swift:10:15: note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct IGitResult: IResult {
| `- note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
11 | public var stdout: String
12 | public var stderr: String
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
20 | init(result: IGitResult, args: [String]) {
21 | var rawMessage = true
22 | var message = ""
| `- warning: variable 'message' was written to, but never read
23 |
24 | if let gitErrorDescription = result.gitErrorDescription {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
167 | ) -> FileEntry {
168 |
169 | var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
| `- warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
170 |
171 | if statusCode == "??" {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
169 | // Unselected deleted lines are ignored since they are not in the working copy
170 | continue
171 | default: // FIXME: default will never be executed
| `- warning: default will never be executed
172 | // Handle unsupported line types if needed
173 | fatalError("Unsupported line type \(line.type)")
[175/191] Compiling Version_Control Update-Ref.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
153 |
154 | if let gitError = gitError {
155 | errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
| | |- note: use 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid this warning
| `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
156 | }
157 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
90 | }
91 |
92 | let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
| `- warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
93 |
94 | let timeout: TimeInterval = 30 // Adjust this value as needed
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:81:17: warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
79 | let data = handle.availableData
80 | if let output = String(data: data, encoding: .utf8) {
81 | stdout += output
| `- warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
82 | }
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:88:17: warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
86 | let data = handle.availableData
87 | if let output = String(data: data, encoding: .utf8) {
88 | stderr += output
| `- warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Errors/GitError.swift:75:12: warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // The git errors which can be parsed from failed git commands.
11 | public enum GitError {
| `- note: consider making enum 'GitError' conform to the 'Sendable' protocol
12 | case SSHKeyAuditUnverified
13 | case SSHAuthenticationFailed
:
73 |
74 | // A mapping from regexes to the git error they identify.
75 | public let gitErrorRegexes: [String: GitError] = [
| |- warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gitErrorRegexes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | "ERROR: ([\\s\\S]+?)\\n+\\[EPOLICYKEYAGE\\]\\n+fatal: Could not read from remote repository.":
77 | .SSHKeyAuditUnverified,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
216 |
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
| `- warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
219 | let previousHunk: DiffHunk? = nil
220 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
219 | let previousHunk: DiffHunk? = nil
| `- warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
220 |
221 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:10:7: warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class GitErrorParser: Error {
| `- warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | /// The result from the failed command.
12 | let result: IGitResult
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:12:9: warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
10 | class GitErrorParser: Error {
11 | /// The result from the failed command.
12 | let result: IGitResult
| `- warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
13 |
14 | /// The args for the failed command.
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/IGitResult.swift:10:15: note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct IGitResult: IResult {
| `- note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
11 | public var stdout: String
12 | public var stderr: String
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
20 | init(result: IGitResult, args: [String]) {
21 | var rawMessage = true
22 | var message = ""
| `- warning: variable 'message' was written to, but never read
23 |
24 | if let gitErrorDescription = result.gitErrorDescription {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
167 | ) -> FileEntry {
168 |
169 | var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
| `- warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
170 |
171 | if statusCode == "??" {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
169 | // Unselected deleted lines are ignored since they are not in the working copy
170 | continue
171 | default: // FIXME: default will never be executed
| `- warning: default will never be executed
172 | // Handle unsupported line types if needed
173 | fatalError("Unsupported line type \(line.type)")
[176/191] Compiling Version_Control Blob.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
153 |
154 | if let gitError = gitError {
155 | errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
| | |- note: use 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid this warning
| `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
156 | }
157 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
90 | }
91 |
92 | let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
| `- warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
93 |
94 | let timeout: TimeInterval = 30 // Adjust this value as needed
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:81:17: warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
79 | let data = handle.availableData
80 | if let output = String(data: data, encoding: .utf8) {
81 | stdout += output
| `- warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
82 | }
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:88:17: warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
86 | let data = handle.availableData
87 | if let output = String(data: data, encoding: .utf8) {
88 | stderr += output
| `- warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Errors/GitError.swift:75:12: warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // The git errors which can be parsed from failed git commands.
11 | public enum GitError {
| `- note: consider making enum 'GitError' conform to the 'Sendable' protocol
12 | case SSHKeyAuditUnverified
13 | case SSHAuthenticationFailed
:
73 |
74 | // A mapping from regexes to the git error they identify.
75 | public let gitErrorRegexes: [String: GitError] = [
| |- warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gitErrorRegexes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | "ERROR: ([\\s\\S]+?)\\n+\\[EPOLICYKEYAGE\\]\\n+fatal: Could not read from remote repository.":
77 | .SSHKeyAuditUnverified,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
216 |
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
| `- warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
219 | let previousHunk: DiffHunk? = nil
220 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
219 | let previousHunk: DiffHunk? = nil
| `- warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
220 |
221 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:10:7: warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class GitErrorParser: Error {
| `- warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | /// The result from the failed command.
12 | let result: IGitResult
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:12:9: warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
10 | class GitErrorParser: Error {
11 | /// The result from the failed command.
12 | let result: IGitResult
| `- warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
13 |
14 | /// The args for the failed command.
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/IGitResult.swift:10:15: note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct IGitResult: IResult {
| `- note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
11 | public var stdout: String
12 | public var stderr: String
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
20 | init(result: IGitResult, args: [String]) {
21 | var rawMessage = true
22 | var message = ""
| `- warning: variable 'message' was written to, but never read
23 |
24 | if let gitErrorDescription = result.gitErrorDescription {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
167 | ) -> FileEntry {
168 |
169 | var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
| `- warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
170 |
171 | if statusCode == "??" {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
169 | // Unselected deleted lines are ignored since they are not in the working copy
170 | continue
171 | default: // FIXME: default will never be executed
| `- warning: default will never be executed
172 | // Handle unsupported line types if needed
173 | fatalError("Unsupported line type \(line.type)")
[177/191] Compiling Version_Control Core.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
153 |
154 | if let gitError = gitError {
155 | errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
| | |- note: use 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid this warning
| `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
156 | }
157 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
90 | }
91 |
92 | let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
| `- warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
93 |
94 | let timeout: TimeInterval = 30 // Adjust this value as needed
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:81:17: warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
79 | let data = handle.availableData
80 | if let output = String(data: data, encoding: .utf8) {
81 | stdout += output
| `- warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
82 | }
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:88:17: warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
86 | let data = handle.availableData
87 | if let output = String(data: data, encoding: .utf8) {
88 | stderr += output
| `- warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Errors/GitError.swift:75:12: warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // The git errors which can be parsed from failed git commands.
11 | public enum GitError {
| `- note: consider making enum 'GitError' conform to the 'Sendable' protocol
12 | case SSHKeyAuditUnverified
13 | case SSHAuthenticationFailed
:
73 |
74 | // A mapping from regexes to the git error they identify.
75 | public let gitErrorRegexes: [String: GitError] = [
| |- warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gitErrorRegexes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | "ERROR: ([\\s\\S]+?)\\n+\\[EPOLICYKEYAGE\\]\\n+fatal: Could not read from remote repository.":
77 | .SSHKeyAuditUnverified,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
216 |
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
| `- warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
219 | let previousHunk: DiffHunk? = nil
220 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
219 | let previousHunk: DiffHunk? = nil
| `- warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
220 |
221 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:10:7: warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class GitErrorParser: Error {
| `- warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | /// The result from the failed command.
12 | let result: IGitResult
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:12:9: warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
10 | class GitErrorParser: Error {
11 | /// The result from the failed command.
12 | let result: IGitResult
| `- warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
13 |
14 | /// The args for the failed command.
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/IGitResult.swift:10:15: note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct IGitResult: IResult {
| `- note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
11 | public var stdout: String
12 | public var stderr: String
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
20 | init(result: IGitResult, args: [String]) {
21 | var rawMessage = true
22 | var message = ""
| `- warning: variable 'message' was written to, but never read
23 |
24 | if let gitErrorDescription = result.gitErrorDescription {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
167 | ) -> FileEntry {
168 |
169 | var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
| `- warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
170 |
171 | if statusCode == "??" {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
169 | // Unselected deleted lines are ignored since they are not in the working copy
170 | continue
171 | default: // FIXME: default will never be executed
| `- warning: default will never be executed
172 | // Handle unsupported line types if needed
173 | fatalError("Unsupported line type \(line.type)")
[178/191] Compiling Version_Control GitProcess.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
153 |
154 | if let gitError = gitError {
155 | errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
| | |- note: use 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid this warning
| `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
156 | }
157 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
90 | }
91 |
92 | let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
| `- warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
93 |
94 | let timeout: TimeInterval = 30 // Adjust this value as needed
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:81:17: warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
79 | let data = handle.availableData
80 | if let output = String(data: data, encoding: .utf8) {
81 | stdout += output
| `- warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
82 | }
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:88:17: warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
86 | let data = handle.availableData
87 | if let output = String(data: data, encoding: .utf8) {
88 | stderr += output
| `- warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Errors/GitError.swift:75:12: warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // The git errors which can be parsed from failed git commands.
11 | public enum GitError {
| `- note: consider making enum 'GitError' conform to the 'Sendable' protocol
12 | case SSHKeyAuditUnverified
13 | case SSHAuthenticationFailed
:
73 |
74 | // A mapping from regexes to the git error they identify.
75 | public let gitErrorRegexes: [String: GitError] = [
| |- warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gitErrorRegexes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | "ERROR: ([\\s\\S]+?)\\n+\\[EPOLICYKEYAGE\\]\\n+fatal: Could not read from remote repository.":
77 | .SSHKeyAuditUnverified,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
216 |
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
| `- warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
219 | let previousHunk: DiffHunk? = nil
220 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
219 | let previousHunk: DiffHunk? = nil
| `- warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
220 |
221 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:10:7: warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class GitErrorParser: Error {
| `- warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | /// The result from the failed command.
12 | let result: IGitResult
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:12:9: warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
10 | class GitErrorParser: Error {
11 | /// The result from the failed command.
12 | let result: IGitResult
| `- warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
13 |
14 | /// The args for the failed command.
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/IGitResult.swift:10:15: note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct IGitResult: IResult {
| `- note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
11 | public var stdout: String
12 | public var stderr: String
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
20 | init(result: IGitResult, args: [String]) {
21 | var rawMessage = true
22 | var message = ""
| `- warning: variable 'message' was written to, but never read
23 |
24 | if let gitErrorDescription = result.gitErrorDescription {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
167 | ) -> FileEntry {
168 |
169 | var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
| `- warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
170 |
171 | if statusCode == "??" {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
169 | // Unselected deleted lines are ignored since they are not in the working copy
170 | continue
171 | default: // FIXME: default will never be executed
| `- warning: default will never be executed
172 | // Handle unsupported line types if needed
173 | fatalError("Unsupported line type \(line.type)")
[179/191] Compiling Version_Control GitShell.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
153 |
154 | if let gitError = gitError {
155 | errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
| | |- note: use 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid this warning
| `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
156 | }
157 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
90 | }
91 |
92 | let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
| `- warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
93 |
94 | let timeout: TimeInterval = 30 // Adjust this value as needed
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:81:17: warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
79 | let data = handle.availableData
80 | if let output = String(data: data, encoding: .utf8) {
81 | stdout += output
| `- warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
82 | }
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:88:17: warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
86 | let data = handle.availableData
87 | if let output = String(data: data, encoding: .utf8) {
88 | stderr += output
| `- warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Errors/GitError.swift:75:12: warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // The git errors which can be parsed from failed git commands.
11 | public enum GitError {
| `- note: consider making enum 'GitError' conform to the 'Sendable' protocol
12 | case SSHKeyAuditUnverified
13 | case SSHAuthenticationFailed
:
73 |
74 | // A mapping from regexes to the git error they identify.
75 | public let gitErrorRegexes: [String: GitError] = [
| |- warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gitErrorRegexes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | "ERROR: ([\\s\\S]+?)\\n+\\[EPOLICYKEYAGE\\]\\n+fatal: Could not read from remote repository.":
77 | .SSHKeyAuditUnverified,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
216 |
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
| `- warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
219 | let previousHunk: DiffHunk? = nil
220 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
219 | let previousHunk: DiffHunk? = nil
| `- warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
220 |
221 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:10:7: warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class GitErrorParser: Error {
| `- warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | /// The result from the failed command.
12 | let result: IGitResult
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:12:9: warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
10 | class GitErrorParser: Error {
11 | /// The result from the failed command.
12 | let result: IGitResult
| `- warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
13 |
14 | /// The args for the failed command.
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/IGitResult.swift:10:15: note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct IGitResult: IResult {
| `- note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
11 | public var stdout: String
12 | public var stderr: String
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
20 | init(result: IGitResult, args: [String]) {
21 | var rawMessage = true
22 | var message = ""
| `- warning: variable 'message' was written to, but never read
23 |
24 | if let gitErrorDescription = result.gitErrorDescription {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
167 | ) -> FileEntry {
168 |
169 | var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
| `- warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
170 |
171 | if statusCode == "??" {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
169 | // Unselected deleted lines are ignored since they are not in the working copy
170 | continue
171 | default: // FIXME: default will never be executed
| `- warning: default will never be executed
172 | // Handle unsupported line types if needed
173 | fatalError("Unsupported line type \(line.type)")
[180/191] Compiling Version_Control IExecutionOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
153 |
154 | if let gitError = gitError {
155 | errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
| | |- note: use 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid this warning
| `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
156 | }
157 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
90 | }
91 |
92 | let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
| `- warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
93 |
94 | let timeout: TimeInterval = 30 // Adjust this value as needed
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:81:17: warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
79 | let data = handle.availableData
80 | if let output = String(data: data, encoding: .utf8) {
81 | stdout += output
| `- warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
82 | }
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:88:17: warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
86 | let data = handle.availableData
87 | if let output = String(data: data, encoding: .utf8) {
88 | stderr += output
| `- warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Errors/GitError.swift:75:12: warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // The git errors which can be parsed from failed git commands.
11 | public enum GitError {
| `- note: consider making enum 'GitError' conform to the 'Sendable' protocol
12 | case SSHKeyAuditUnverified
13 | case SSHAuthenticationFailed
:
73 |
74 | // A mapping from regexes to the git error they identify.
75 | public let gitErrorRegexes: [String: GitError] = [
| |- warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gitErrorRegexes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | "ERROR: ([\\s\\S]+?)\\n+\\[EPOLICYKEYAGE\\]\\n+fatal: Could not read from remote repository.":
77 | .SSHKeyAuditUnverified,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
216 |
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
| `- warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
219 | let previousHunk: DiffHunk? = nil
220 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
219 | let previousHunk: DiffHunk? = nil
| `- warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
220 |
221 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:10:7: warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class GitErrorParser: Error {
| `- warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | /// The result from the failed command.
12 | let result: IGitResult
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:12:9: warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
10 | class GitErrorParser: Error {
11 | /// The result from the failed command.
12 | let result: IGitResult
| `- warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
13 |
14 | /// The args for the failed command.
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/IGitResult.swift:10:15: note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct IGitResult: IResult {
| `- note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
11 | public var stdout: String
12 | public var stderr: String
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
20 | init(result: IGitResult, args: [String]) {
21 | var rawMessage = true
22 | var message = ""
| `- warning: variable 'message' was written to, but never read
23 |
24 | if let gitErrorDescription = result.gitErrorDescription {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
167 | ) -> FileEntry {
168 |
169 | var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
| `- warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
170 |
171 | if statusCode == "??" {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
169 | // Unselected deleted lines are ignored since they are not in the working copy
170 | continue
171 | default: // FIXME: default will never be executed
| `- warning: default will never be executed
172 | // Handle unsupported line types if needed
173 | fatalError("Unsupported line type \(line.type)")
[181/191] Compiling Version_Control IGitExecutionOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
153 |
154 | if let gitError = gitError {
155 | errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
| | |- note: use 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid this warning
| `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
156 | }
157 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
90 | }
91 |
92 | let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
| `- warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
93 |
94 | let timeout: TimeInterval = 30 // Adjust this value as needed
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:81:17: warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
79 | let data = handle.availableData
80 | if let output = String(data: data, encoding: .utf8) {
81 | stdout += output
| `- warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
82 | }
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:88:17: warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
86 | let data = handle.availableData
87 | if let output = String(data: data, encoding: .utf8) {
88 | stderr += output
| `- warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Errors/GitError.swift:75:12: warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // The git errors which can be parsed from failed git commands.
11 | public enum GitError {
| `- note: consider making enum 'GitError' conform to the 'Sendable' protocol
12 | case SSHKeyAuditUnverified
13 | case SSHAuthenticationFailed
:
73 |
74 | // A mapping from regexes to the git error they identify.
75 | public let gitErrorRegexes: [String: GitError] = [
| |- warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gitErrorRegexes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | "ERROR: ([\\s\\S]+?)\\n+\\[EPOLICYKEYAGE\\]\\n+fatal: Could not read from remote repository.":
77 | .SSHKeyAuditUnverified,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
216 |
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
| `- warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
219 | let previousHunk: DiffHunk? = nil
220 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
219 | let previousHunk: DiffHunk? = nil
| `- warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
220 |
221 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:10:7: warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class GitErrorParser: Error {
| `- warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | /// The result from the failed command.
12 | let result: IGitResult
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:12:9: warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
10 | class GitErrorParser: Error {
11 | /// The result from the failed command.
12 | let result: IGitResult
| `- warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
13 |
14 | /// The args for the failed command.
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/IGitResult.swift:10:15: note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct IGitResult: IResult {
| `- note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
11 | public var stdout: String
12 | public var stderr: String
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
20 | init(result: IGitResult, args: [String]) {
21 | var rawMessage = true
22 | var message = ""
| `- warning: variable 'message' was written to, but never read
23 |
24 | if let gitErrorDescription = result.gitErrorDescription {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
167 | ) -> FileEntry {
168 |
169 | var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
| `- warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
170 |
171 | if statusCode == "??" {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
169 | // Unselected deleted lines are ignored since they are not in the working copy
170 | continue
171 | default: // FIXME: default will never be executed
| `- warning: default will never be executed
172 | // Handle unsupported line types if needed
173 | fatalError("Unsupported line type \(line.type)")
[182/191] Compiling Version_Control IGitResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
153 |
154 | if let gitError = gitError {
155 | errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
| | |- note: use 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid this warning
| `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
156 | }
157 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
90 | }
91 |
92 | let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
| `- warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
93 |
94 | let timeout: TimeInterval = 30 // Adjust this value as needed
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:81:17: warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
79 | let data = handle.availableData
80 | if let output = String(data: data, encoding: .utf8) {
81 | stdout += output
| `- warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
82 | }
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:88:17: warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
86 | let data = handle.availableData
87 | if let output = String(data: data, encoding: .utf8) {
88 | stderr += output
| `- warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Errors/GitError.swift:75:12: warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // The git errors which can be parsed from failed git commands.
11 | public enum GitError {
| `- note: consider making enum 'GitError' conform to the 'Sendable' protocol
12 | case SSHKeyAuditUnverified
13 | case SSHAuthenticationFailed
:
73 |
74 | // A mapping from regexes to the git error they identify.
75 | public let gitErrorRegexes: [String: GitError] = [
| |- warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gitErrorRegexes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | "ERROR: ([\\s\\S]+?)\\n+\\[EPOLICYKEYAGE\\]\\n+fatal: Could not read from remote repository.":
77 | .SSHKeyAuditUnverified,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
216 |
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
| `- warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
219 | let previousHunk: DiffHunk? = nil
220 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
219 | let previousHunk: DiffHunk? = nil
| `- warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
220 |
221 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:10:7: warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class GitErrorParser: Error {
| `- warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | /// The result from the failed command.
12 | let result: IGitResult
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:12:9: warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
10 | class GitErrorParser: Error {
11 | /// The result from the failed command.
12 | let result: IGitResult
| `- warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
13 |
14 | /// The args for the failed command.
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/IGitResult.swift:10:15: note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct IGitResult: IResult {
| `- note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
11 | public var stdout: String
12 | public var stderr: String
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
20 | init(result: IGitResult, args: [String]) {
21 | var rawMessage = true
22 | var message = ""
| `- warning: variable 'message' was written to, but never read
23 |
24 | if let gitErrorDescription = result.gitErrorDescription {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
167 | ) -> FileEntry {
168 |
169 | var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
| `- warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
170 |
171 | if statusCode == "??" {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
169 | // Unselected deleted lines are ignored since they are not in the working copy
170 | continue
171 | default: // FIXME: default will never be executed
| `- warning: default will never be executed
172 | // Handle unsupported line types if needed
173 | fatalError("Unsupported line type \(line.type)")
[183/191] Compiling Version_Control IResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
153 |
154 | if let gitError = gitError {
155 | errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
| | |- note: use 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid this warning
| `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
156 | }
157 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
90 | }
91 |
92 | let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
| `- warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
93 |
94 | let timeout: TimeInterval = 30 // Adjust this value as needed
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:81:17: warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
79 | let data = handle.availableData
80 | if let output = String(data: data, encoding: .utf8) {
81 | stdout += output
| `- warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
82 | }
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:88:17: warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
86 | let data = handle.availableData
87 | if let output = String(data: data, encoding: .utf8) {
88 | stderr += output
| `- warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Errors/GitError.swift:75:12: warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // The git errors which can be parsed from failed git commands.
11 | public enum GitError {
| `- note: consider making enum 'GitError' conform to the 'Sendable' protocol
12 | case SSHKeyAuditUnverified
13 | case SSHAuthenticationFailed
:
73 |
74 | // A mapping from regexes to the git error they identify.
75 | public let gitErrorRegexes: [String: GitError] = [
| |- warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gitErrorRegexes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | "ERROR: ([\\s\\S]+?)\\n+\\[EPOLICYKEYAGE\\]\\n+fatal: Could not read from remote repository.":
77 | .SSHKeyAuditUnverified,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
216 |
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
| `- warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
219 | let previousHunk: DiffHunk? = nil
220 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
219 | let previousHunk: DiffHunk? = nil
| `- warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
220 |
221 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:10:7: warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class GitErrorParser: Error {
| `- warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | /// The result from the failed command.
12 | let result: IGitResult
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:12:9: warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
10 | class GitErrorParser: Error {
11 | /// The result from the failed command.
12 | let result: IGitResult
| `- warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
13 |
14 | /// The args for the failed command.
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/IGitResult.swift:10:15: note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct IGitResult: IResult {
| `- note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
11 | public var stdout: String
12 | public var stderr: String
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
20 | init(result: IGitResult, args: [String]) {
21 | var rawMessage = true
22 | var message = ""
| `- warning: variable 'message' was written to, but never read
23 |
24 | if let gitErrorDescription = result.gitErrorDescription {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
167 | ) -> FileEntry {
168 |
169 | var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
| `- warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
170 |
171 | if statusCode == "??" {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
169 | // Unselected deleted lines are ignored since they are not in the working copy
170 | continue
171 | default: // FIXME: default will never be executed
| `- warning: default will never be executed
172 | // Handle unsupported line types if needed
173 | fatalError("Unsupported line type \(line.type)")
[184/191] Compiling Version_Control DiffParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
153 |
154 | if let gitError = gitError {
155 | errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
| | |- note: use 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid this warning
| `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
156 | }
157 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
90 | }
91 |
92 | let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
| `- warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
93 |
94 | let timeout: TimeInterval = 30 // Adjust this value as needed
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:81:17: warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
79 | let data = handle.availableData
80 | if let output = String(data: data, encoding: .utf8) {
81 | stdout += output
| `- warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
82 | }
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:88:17: warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
86 | let data = handle.availableData
87 | if let output = String(data: data, encoding: .utf8) {
88 | stderr += output
| `- warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Errors/GitError.swift:75:12: warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // The git errors which can be parsed from failed git commands.
11 | public enum GitError {
| `- note: consider making enum 'GitError' conform to the 'Sendable' protocol
12 | case SSHKeyAuditUnverified
13 | case SSHAuthenticationFailed
:
73 |
74 | // A mapping from regexes to the git error they identify.
75 | public let gitErrorRegexes: [String: GitError] = [
| |- warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gitErrorRegexes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | "ERROR: ([\\s\\S]+?)\\n+\\[EPOLICYKEYAGE\\]\\n+fatal: Could not read from remote repository.":
77 | .SSHKeyAuditUnverified,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
216 |
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
| `- warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
219 | let previousHunk: DiffHunk? = nil
220 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
219 | let previousHunk: DiffHunk? = nil
| `- warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
220 |
221 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:10:7: warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class GitErrorParser: Error {
| `- warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | /// The result from the failed command.
12 | let result: IGitResult
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:12:9: warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
10 | class GitErrorParser: Error {
11 | /// The result from the failed command.
12 | let result: IGitResult
| `- warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
13 |
14 | /// The args for the failed command.
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/IGitResult.swift:10:15: note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct IGitResult: IResult {
| `- note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
11 | public var stdout: String
12 | public var stderr: String
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
20 | init(result: IGitResult, args: [String]) {
21 | var rawMessage = true
22 | var message = ""
| `- warning: variable 'message' was written to, but never read
23 |
24 | if let gitErrorDescription = result.gitErrorDescription {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
167 | ) -> FileEntry {
168 |
169 | var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
| `- warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
170 |
171 | if statusCode == "??" {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
169 | // Unselected deleted lines are ignored since they are not in the working copy
170 | continue
171 | default: // FIXME: default will never be executed
| `- warning: default will never be executed
172 | // Handle unsupported line types if needed
173 | fatalError("Unsupported line type \(line.type)")
[185/191] Compiling Version_Control GitCherryPickParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
153 |
154 | if let gitError = gitError {
155 | errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
| | |- note: use 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid this warning
| `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
156 | }
157 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
90 | }
91 |
92 | let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
| `- warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
93 |
94 | let timeout: TimeInterval = 30 // Adjust this value as needed
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:81:17: warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
79 | let data = handle.availableData
80 | if let output = String(data: data, encoding: .utf8) {
81 | stdout += output
| `- warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
82 | }
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:88:17: warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
86 | let data = handle.availableData
87 | if let output = String(data: data, encoding: .utf8) {
88 | stderr += output
| `- warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Errors/GitError.swift:75:12: warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // The git errors which can be parsed from failed git commands.
11 | public enum GitError {
| `- note: consider making enum 'GitError' conform to the 'Sendable' protocol
12 | case SSHKeyAuditUnverified
13 | case SSHAuthenticationFailed
:
73 |
74 | // A mapping from regexes to the git error they identify.
75 | public let gitErrorRegexes: [String: GitError] = [
| |- warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gitErrorRegexes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | "ERROR: ([\\s\\S]+?)\\n+\\[EPOLICYKEYAGE\\]\\n+fatal: Could not read from remote repository.":
77 | .SSHKeyAuditUnverified,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
216 |
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
| `- warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
219 | let previousHunk: DiffHunk? = nil
220 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
219 | let previousHunk: DiffHunk? = nil
| `- warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
220 |
221 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:10:7: warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class GitErrorParser: Error {
| `- warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | /// The result from the failed command.
12 | let result: IGitResult
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:12:9: warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
10 | class GitErrorParser: Error {
11 | /// The result from the failed command.
12 | let result: IGitResult
| `- warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
13 |
14 | /// The args for the failed command.
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/IGitResult.swift:10:15: note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct IGitResult: IResult {
| `- note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
11 | public var stdout: String
12 | public var stderr: String
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
20 | init(result: IGitResult, args: [String]) {
21 | var rawMessage = true
22 | var message = ""
| `- warning: variable 'message' was written to, but never read
23 |
24 | if let gitErrorDescription = result.gitErrorDescription {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
167 | ) -> FileEntry {
168 |
169 | var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
| `- warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
170 |
171 | if statusCode == "??" {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
169 | // Unselected deleted lines are ignored since they are not in the working copy
170 | continue
171 | default: // FIXME: default will never be executed
| `- warning: default will never be executed
172 | // Handle unsupported line types if needed
173 | fatalError("Unsupported line type \(line.type)")
[186/191] Compiling Version_Control GitDelimiterParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
153 |
154 | if let gitError = gitError {
155 | errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
| | |- note: use 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid this warning
| `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
156 | }
157 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
90 | }
91 |
92 | let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
| `- warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
93 |
94 | let timeout: TimeInterval = 30 // Adjust this value as needed
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:81:17: warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
79 | let data = handle.availableData
80 | if let output = String(data: data, encoding: .utf8) {
81 | stdout += output
| `- warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
82 | }
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:88:17: warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
86 | let data = handle.availableData
87 | if let output = String(data: data, encoding: .utf8) {
88 | stderr += output
| `- warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Errors/GitError.swift:75:12: warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // The git errors which can be parsed from failed git commands.
11 | public enum GitError {
| `- note: consider making enum 'GitError' conform to the 'Sendable' protocol
12 | case SSHKeyAuditUnverified
13 | case SSHAuthenticationFailed
:
73 |
74 | // A mapping from regexes to the git error they identify.
75 | public let gitErrorRegexes: [String: GitError] = [
| |- warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gitErrorRegexes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | "ERROR: ([\\s\\S]+?)\\n+\\[EPOLICYKEYAGE\\]\\n+fatal: Could not read from remote repository.":
77 | .SSHKeyAuditUnverified,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
216 |
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
| `- warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
219 | let previousHunk: DiffHunk? = nil
220 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
219 | let previousHunk: DiffHunk? = nil
| `- warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
220 |
221 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:10:7: warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class GitErrorParser: Error {
| `- warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | /// The result from the failed command.
12 | let result: IGitResult
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:12:9: warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
10 | class GitErrorParser: Error {
11 | /// The result from the failed command.
12 | let result: IGitResult
| `- warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
13 |
14 | /// The args for the failed command.
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/IGitResult.swift:10:15: note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct IGitResult: IResult {
| `- note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
11 | public var stdout: String
12 | public var stderr: String
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
20 | init(result: IGitResult, args: [String]) {
21 | var rawMessage = true
22 | var message = ""
| `- warning: variable 'message' was written to, but never read
23 |
24 | if let gitErrorDescription = result.gitErrorDescription {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
167 | ) -> FileEntry {
168 |
169 | var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
| `- warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
170 |
171 | if statusCode == "??" {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
169 | // Unselected deleted lines are ignored since they are not in the working copy
170 | continue
171 | default: // FIXME: default will never be executed
| `- warning: default will never be executed
172 | // Handle unsupported line types if needed
173 | fatalError("Unsupported line type \(line.type)")
[187/191] Compiling Version_Control GitErrorParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
153 |
154 | if let gitError = gitError {
155 | errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
| | |- note: use 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid this warning
| `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
156 | }
157 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
90 | }
91 |
92 | let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
| `- warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
93 |
94 | let timeout: TimeInterval = 30 // Adjust this value as needed
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:81:17: warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
79 | let data = handle.availableData
80 | if let output = String(data: data, encoding: .utf8) {
81 | stdout += output
| `- warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
82 | }
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:88:17: warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
86 | let data = handle.availableData
87 | if let output = String(data: data, encoding: .utf8) {
88 | stderr += output
| `- warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Errors/GitError.swift:75:12: warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // The git errors which can be parsed from failed git commands.
11 | public enum GitError {
| `- note: consider making enum 'GitError' conform to the 'Sendable' protocol
12 | case SSHKeyAuditUnverified
13 | case SSHAuthenticationFailed
:
73 |
74 | // A mapping from regexes to the git error they identify.
75 | public let gitErrorRegexes: [String: GitError] = [
| |- warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gitErrorRegexes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | "ERROR: ([\\s\\S]+?)\\n+\\[EPOLICYKEYAGE\\]\\n+fatal: Could not read from remote repository.":
77 | .SSHKeyAuditUnverified,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
216 |
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
| `- warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
219 | let previousHunk: DiffHunk? = nil
220 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
219 | let previousHunk: DiffHunk? = nil
| `- warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
220 |
221 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:10:7: warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class GitErrorParser: Error {
| `- warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | /// The result from the failed command.
12 | let result: IGitResult
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:12:9: warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
10 | class GitErrorParser: Error {
11 | /// The result from the failed command.
12 | let result: IGitResult
| `- warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
13 |
14 | /// The args for the failed command.
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/IGitResult.swift:10:15: note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct IGitResult: IResult {
| `- note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
11 | public var stdout: String
12 | public var stderr: String
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
20 | init(result: IGitResult, args: [String]) {
21 | var rawMessage = true
22 | var message = ""
| `- warning: variable 'message' was written to, but never read
23 |
24 | if let gitErrorDescription = result.gitErrorDescription {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
167 | ) -> FileEntry {
168 |
169 | var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
| `- warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
170 |
171 | if statusCode == "??" {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
169 | // Unselected deleted lines are ignored since they are not in the working copy
170 | continue
171 | default: // FIXME: default will never be executed
| `- warning: default will never be executed
172 | // Handle unsupported line types if needed
173 | fatalError("Unsupported line type \(line.type)")
[188/191] Compiling Version_Control GitRebaseParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
153 |
154 | if let gitError = gitError {
155 | errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
| | |- note: use 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid this warning
| `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
156 | }
157 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
90 | }
91 |
92 | let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
| `- warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
93 |
94 | let timeout: TimeInterval = 30 // Adjust this value as needed
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:81:17: warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
79 | let data = handle.availableData
80 | if let output = String(data: data, encoding: .utf8) {
81 | stdout += output
| `- warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
82 | }
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:88:17: warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
86 | let data = handle.availableData
87 | if let output = String(data: data, encoding: .utf8) {
88 | stderr += output
| `- warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Errors/GitError.swift:75:12: warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // The git errors which can be parsed from failed git commands.
11 | public enum GitError {
| `- note: consider making enum 'GitError' conform to the 'Sendable' protocol
12 | case SSHKeyAuditUnverified
13 | case SSHAuthenticationFailed
:
73 |
74 | // A mapping from regexes to the git error they identify.
75 | public let gitErrorRegexes: [String: GitError] = [
| |- warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gitErrorRegexes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | "ERROR: ([\\s\\S]+?)\\n+\\[EPOLICYKEYAGE\\]\\n+fatal: Could not read from remote repository.":
77 | .SSHKeyAuditUnverified,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
216 |
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
| `- warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
219 | let previousHunk: DiffHunk? = nil
220 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
219 | let previousHunk: DiffHunk? = nil
| `- warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
220 |
221 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:10:7: warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class GitErrorParser: Error {
| `- warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | /// The result from the failed command.
12 | let result: IGitResult
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:12:9: warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
10 | class GitErrorParser: Error {
11 | /// The result from the failed command.
12 | let result: IGitResult
| `- warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
13 |
14 | /// The args for the failed command.
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/IGitResult.swift:10:15: note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct IGitResult: IResult {
| `- note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
11 | public var stdout: String
12 | public var stderr: String
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
20 | init(result: IGitResult, args: [String]) {
21 | var rawMessage = true
22 | var message = ""
| `- warning: variable 'message' was written to, but never read
23 |
24 | if let gitErrorDescription = result.gitErrorDescription {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
167 | ) -> FileEntry {
168 |
169 | var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
| `- warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
170 |
171 | if statusCode == "??" {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
169 | // Unselected deleted lines are ignored since they are not in the working copy
170 | continue
171 | default: // FIXME: default will never be executed
| `- warning: default will never be executed
172 | // Handle unsupported line types if needed
173 | fatalError("Unsupported line type \(line.type)")
[189/191] Compiling Version_Control GitStatusParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
153 |
154 | if let gitError = gitError {
155 | errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
| | |- note: use 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid this warning
| `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
156 | }
157 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
90 | }
91 |
92 | let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
| `- warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
93 |
94 | let timeout: TimeInterval = 30 // Adjust this value as needed
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:81:17: warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
79 | let data = handle.availableData
80 | if let output = String(data: data, encoding: .utf8) {
81 | stdout += output
| `- warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
82 | }
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:88:17: warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
86 | let data = handle.availableData
87 | if let output = String(data: data, encoding: .utf8) {
88 | stderr += output
| `- warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Errors/GitError.swift:75:12: warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // The git errors which can be parsed from failed git commands.
11 | public enum GitError {
| `- note: consider making enum 'GitError' conform to the 'Sendable' protocol
12 | case SSHKeyAuditUnverified
13 | case SSHAuthenticationFailed
:
73 |
74 | // A mapping from regexes to the git error they identify.
75 | public let gitErrorRegexes: [String: GitError] = [
| |- warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gitErrorRegexes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | "ERROR: ([\\s\\S]+?)\\n+\\[EPOLICYKEYAGE\\]\\n+fatal: Could not read from remote repository.":
77 | .SSHKeyAuditUnverified,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
216 |
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
| `- warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
219 | let previousHunk: DiffHunk? = nil
220 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
219 | let previousHunk: DiffHunk? = nil
| `- warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
220 |
221 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:10:7: warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class GitErrorParser: Error {
| `- warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | /// The result from the failed command.
12 | let result: IGitResult
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:12:9: warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
10 | class GitErrorParser: Error {
11 | /// The result from the failed command.
12 | let result: IGitResult
| `- warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
13 |
14 | /// The args for the failed command.
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/IGitResult.swift:10:15: note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct IGitResult: IResult {
| `- note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
11 | public var stdout: String
12 | public var stderr: String
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
20 | init(result: IGitResult, args: [String]) {
21 | var rawMessage = true
22 | var message = ""
| `- warning: variable 'message' was written to, but never read
23 |
24 | if let gitErrorDescription = result.gitErrorDescription {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
167 | ) -> FileEntry {
168 |
169 | var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
| `- warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
170 |
171 | if statusCode == "??" {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
169 | // Unselected deleted lines are ignored since they are not in the working copy
170 | continue
171 | default: // FIXME: default will never be executed
| `- warning: default will never be executed
172 | // Handle unsupported line types if needed
173 | fatalError("Unsupported line type \(line.type)")
[190/191] Compiling Version_Control PatchFormatterParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
153 |
154 | if let gitError = gitError {
155 | errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
| | |- note: use 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid this warning
| `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
156 | }
157 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
90 | }
91 |
92 | let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
| `- warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
93 |
94 | let timeout: TimeInterval = 30 // Adjust this value as needed
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:81:17: warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
79 | let data = handle.availableData
80 | if let output = String(data: data, encoding: .utf8) {
81 | stdout += output
| `- warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
82 | }
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:88:17: warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
86 | let data = handle.availableData
87 | if let output = String(data: data, encoding: .utf8) {
88 | stderr += output
| `- warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Errors/GitError.swift:75:12: warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // The git errors which can be parsed from failed git commands.
11 | public enum GitError {
| `- note: consider making enum 'GitError' conform to the 'Sendable' protocol
12 | case SSHKeyAuditUnverified
13 | case SSHAuthenticationFailed
:
73 |
74 | // A mapping from regexes to the git error they identify.
75 | public let gitErrorRegexes: [String: GitError] = [
| |- warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gitErrorRegexes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | "ERROR: ([\\s\\S]+?)\\n+\\[EPOLICYKEYAGE\\]\\n+fatal: Could not read from remote repository.":
77 | .SSHKeyAuditUnverified,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
216 |
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
| `- warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
219 | let previousHunk: DiffHunk? = nil
220 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
219 | let previousHunk: DiffHunk? = nil
| `- warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
220 |
221 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:10:7: warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class GitErrorParser: Error {
| `- warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | /// The result from the failed command.
12 | let result: IGitResult
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:12:9: warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
10 | class GitErrorParser: Error {
11 | /// The result from the failed command.
12 | let result: IGitResult
| `- warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
13 |
14 | /// The args for the failed command.
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/IGitResult.swift:10:15: note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct IGitResult: IResult {
| `- note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
11 | public var stdout: String
12 | public var stderr: String
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
20 | init(result: IGitResult, args: [String]) {
21 | var rawMessage = true
22 | var message = ""
| `- warning: variable 'message' was written to, but never read
23 |
24 | if let gitErrorDescription = result.gitErrorDescription {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
167 | ) -> FileEntry {
168 |
169 | var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
| `- warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
170 |
171 | if statusCode == "??" {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
169 | // Unselected deleted lines are ignored since they are not in the working copy
170 | continue
171 | default: // FIXME: default will never be executed
| `- warning: default will never be executed
172 | // Handle unsupported line types if needed
173 | fatalError("Unsupported line type \(line.type)")
[191/191] Compiling Version_Control ProcessError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
153 |
154 | if let gitError = gitError {
155 | errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
| | |- note: use 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid this warning
| `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
156 | }
157 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
90 | }
91 |
92 | let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
| `- warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
93 |
94 | let timeout: TimeInterval = 30 // Adjust this value as needed
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:81:17: warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
79 | let data = handle.availableData
80 | if let output = String(data: data, encoding: .utf8) {
81 | stdout += output
| `- warning: mutation of captured var 'stdout' in concurrently-executing code; this is an error in the Swift 6 language mode
82 | }
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:88:17: warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
86 | let data = handle.availableData
87 | if let output = String(data: data, encoding: .utf8) {
88 | stderr += output
| `- warning: mutation of captured var 'stderr' in concurrently-executing code; this is an error in the Swift 6 language mode
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Errors/GitError.swift:75:12: warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | // The git errors which can be parsed from failed git commands.
11 | public enum GitError {
| `- note: consider making enum 'GitError' conform to the 'Sendable' protocol
12 | case SSHKeyAuditUnverified
13 | case SSHAuthenticationFailed
:
73 |
74 | // A mapping from regexes to the git error they identify.
75 | public let gitErrorRegexes: [String: GitError] = [
| |- warning: let 'gitErrorRegexes' is not concurrency-safe because non-'Sendable' type '[String : GitError]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gitErrorRegexes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | "ERROR: ([\\s\\S]+?)\\n+\\[EPOLICYKEYAGE\\]\\n+fatal: Could not read from remote repository.":
77 | .SSHKeyAuditUnverified,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
216 |
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
| `- warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
219 | let previousHunk: DiffHunk? = nil
220 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
217 | let hunks: [DiffHunk] = []
218 | let linesConfumed = 0
219 | let previousHunk: DiffHunk? = nil
| `- warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
220 |
221 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:10:7: warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class GitErrorParser: Error {
| `- warning: non-final class 'GitErrorParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | /// The result from the failed command.
12 | let result: IGitResult
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:12:9: warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
10 | class GitErrorParser: Error {
11 | /// The result from the failed command.
12 | let result: IGitResult
| `- warning: stored property 'result' of 'Sendable'-conforming class 'GitErrorParser' has non-sendable type 'IGitResult'; this is an error in the Swift 6 language mode
13 |
14 | /// The args for the failed command.
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/IGitResult.swift:10:15: note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct IGitResult: IResult {
| `- note: consider making struct 'IGitResult' conform to the 'Sendable' protocol
11 | public var stdout: String
12 | public var stderr: String
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
20 | init(result: IGitResult, args: [String]) {
21 | var rawMessage = true
22 | var message = ""
| `- warning: variable 'message' was written to, but never read
23 |
24 | if let gitErrorDescription = result.gitErrorDescription {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
167 | ) -> FileEntry {
168 |
169 | var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
| `- warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
170 |
171 | if statusCode == "??" {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
169 | // Unselected deleted lines are ignored since they are not in the working copy
170 | continue
171 | default: // FIXME: default will never be executed
| `- warning: default will never be executed
172 | // Handle unsupported line types if needed
173 | fatalError("Unsupported line type \(line.type)")
Build complete! (25.91s)
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.