Build Information
Failed to build Git, reference master (0dba9e
), with Swift 6.1 for Linux on 28 Apr 2025 14:42:01 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
| |- note: add '@MainActor' to make static property 'executablePath' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | // MARK: - Private
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:107:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
105 |
106 | DispatchQueue.main.async {
107 | self?.__self.handle(output: output)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
108 | }
109 | })
[62/112] Compiling Git RemoteUrlTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:38:16: warning: static property 'executablePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// A path to git executable file on the disk
38 | static var executablePath = "/usr/bin/git"
| |- warning: static property 'executablePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'executablePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'executablePath' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | // MARK: - Private
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:107:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
105 |
106 | DispatchQueue.main.async {
107 | self?.__self.handle(output: output)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
108 | }
109 | })
[63/112] Compiling Git RepositoryTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:38:16: warning: static property 'executablePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// A path to git executable file on the disk
38 | static var executablePath = "/usr/bin/git"
| |- warning: static property 'executablePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'executablePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'executablePath' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | // MARK: - Private
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:107:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
105 |
106 | DispatchQueue.main.async {
107 | self?.__self.handle(output: output)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
108 | }
109 | })
[64/112] Compiling Git GitResetOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:38:16: warning: static property 'executablePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// A path to git executable file on the disk
38 | static var executablePath = "/usr/bin/git"
| |- warning: static property 'executablePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'executablePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'executablePath' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | // MARK: - Private
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:107:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
105 |
106 | DispatchQueue.main.async {
107 | self?.__self.handle(output: output)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
108 | }
109 | })
[65/112] Compiling Git ResetTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:38:16: warning: static property 'executablePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// A path to git executable file on the disk
38 | static var executablePath = "/usr/bin/git"
| |- warning: static property 'executablePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'executablePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'executablePath' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | // MARK: - Private
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:107:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
105 |
106 | DispatchQueue.main.async {
107 | self?.__self.handle(output: output)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
108 | }
109 | })
[66/112] Compiling Git GitSparseAddOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:38:16: warning: static property 'executablePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// A path to git executable file on the disk
38 | static var executablePath = "/usr/bin/git"
| |- warning: static property 'executablePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'executablePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'executablePath' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | // MARK: - Private
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:107:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
105 |
106 | DispatchQueue.main.async {
107 | self?.__self.handle(output: output)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
108 | }
109 | })
[67/112] Compiling Git GitSparseSetOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:38:16: warning: static property 'executablePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// A path to git executable file on the disk
38 | static var executablePath = "/usr/bin/git"
| |- warning: static property 'executablePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'executablePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'executablePath' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | // MARK: - Private
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:107:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
105 |
106 | DispatchQueue.main.async {
107 | self?.__self.handle(output: output)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
108 | }
109 | })
[68/112] Compiling Git SparseTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:38:16: warning: static property 'executablePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// A path to git executable file on the disk
38 | static var executablePath = "/usr/bin/git"
| |- warning: static property 'executablePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'executablePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'executablePath' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | // MARK: - Private
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:107:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
105 |
106 | DispatchQueue.main.async {
107 | self?.__self.handle(output: output)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
108 | }
109 | })
[69/112] Compiling Git GitStashApplyOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:38:16: warning: static property 'executablePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// A path to git executable file on the disk
38 | static var executablePath = "/usr/bin/git"
| |- warning: static property 'executablePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'executablePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'executablePath' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | // MARK: - Private
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:107:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
105 |
106 | DispatchQueue.main.async {
107 | self?.__self.handle(output: output)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
108 | }
109 | })
[70/112] Compiling Git StashApplyTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:38:16: warning: static property 'executablePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// A path to git executable file on the disk
38 | static var executablePath = "/usr/bin/git"
| |- warning: static property 'executablePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'executablePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'executablePath' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | // MARK: - Private
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:107:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
105 |
106 | DispatchQueue.main.async {
107 | self?.__self.handle(output: output)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
108 | }
109 | })
[71/112] Compiling Git GitStashOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:38:16: warning: static property 'executablePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// A path to git executable file on the disk
38 | static var executablePath = "/usr/bin/git"
| |- warning: static property 'executablePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'executablePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'executablePath' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | // MARK: - Private
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:107:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
105 |
106 | DispatchQueue.main.async {
107 | self?.__self.handle(output: output)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
108 | }
109 | })
[72/112] Compiling Git StashTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:38:16: warning: static property 'executablePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// A path to git executable file on the disk
38 | static var executablePath = "/usr/bin/git"
| |- warning: static property 'executablePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'executablePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'executablePath' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | // MARK: - Private
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:107:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
105 |
106 | DispatchQueue.main.async {
107 | self?.__self.handle(output: output)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
108 | }
109 | })
[73/112] Compiling Git InitTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:77:20: warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 | class Reference {
76 |
77 | static var head: String = "HEAD"
| |- warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'head' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'head' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | static var mergeHead: String = "MERGE_HEAD"
79 |
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:78:20: warning: static property 'mergeHead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 |
77 | static var head: String = "HEAD"
78 | static var mergeHead: String = "MERGE_HEAD"
| |- warning: static property 'mergeHead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mergeHead' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mergeHead' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | public required init(referenceName: String, direction: ComparisonDirection) {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:51:24: warning: static property 'bufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | final class ProcessSpawn {
50 |
51 | private static var bufferSize = 1024 * 8
| |- warning: static property 'bufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bufferSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bufferSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | /// The arguments to be executed.
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:116:37: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
114 | defer { for case let env? in envp { free(env) } }
115 |
116 | guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 | throw SpawnError.canNotCreatePosixSpawn
118 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:134:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
132 | threadPayload?.isCancelled = true
133 |
134 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
135 | pthread_cancel(threadId)
136 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:212:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
210 | threadPayloadRef.pointee = threadPayload
211 |
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
213 |
214 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:214:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
213 |
214 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
215 | // Wait for the thread to be executed
216 | pthread_join(tid, nil)
[74/112] Compiling Git GitLogCompareOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:77:20: warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 | class Reference {
76 |
77 | static var head: String = "HEAD"
| |- warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'head' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'head' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | static var mergeHead: String = "MERGE_HEAD"
79 |
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:78:20: warning: static property 'mergeHead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 |
77 | static var head: String = "HEAD"
78 | static var mergeHead: String = "MERGE_HEAD"
| |- warning: static property 'mergeHead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mergeHead' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mergeHead' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | public required init(referenceName: String, direction: ComparisonDirection) {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:51:24: warning: static property 'bufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | final class ProcessSpawn {
50 |
51 | private static var bufferSize = 1024 * 8
| |- warning: static property 'bufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bufferSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bufferSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | /// The arguments to be executed.
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:116:37: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
114 | defer { for case let env? in envp { free(env) } }
115 |
116 | guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 | throw SpawnError.canNotCreatePosixSpawn
118 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:134:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
132 | threadPayload?.isCancelled = true
133 |
134 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
135 | pthread_cancel(threadId)
136 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:212:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
210 | threadPayloadRef.pointee = threadPayload
211 |
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
213 |
214 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:214:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
213 |
214 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
215 | // Wait for the thread to be executed
216 | pthread_join(tid, nil)
[75/112] Compiling Git GitLogOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:77:20: warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 | class Reference {
76 |
77 | static var head: String = "HEAD"
| |- warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'head' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'head' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | static var mergeHead: String = "MERGE_HEAD"
79 |
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:78:20: warning: static property 'mergeHead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 |
77 | static var head: String = "HEAD"
78 | static var mergeHead: String = "MERGE_HEAD"
| |- warning: static property 'mergeHead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mergeHead' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mergeHead' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | public required init(referenceName: String, direction: ComparisonDirection) {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:51:24: warning: static property 'bufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | final class ProcessSpawn {
50 |
51 | private static var bufferSize = 1024 * 8
| |- warning: static property 'bufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bufferSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bufferSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | /// The arguments to be executed.
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:116:37: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
114 | defer { for case let env? in envp { free(env) } }
115 |
116 | guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 | throw SpawnError.canNotCreatePosixSpawn
118 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:134:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
132 | threadPayload?.isCancelled = true
133 |
134 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
135 | pthread_cancel(threadId)
136 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:212:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
210 | threadPayloadRef.pointee = threadPayload
211 |
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
213 |
214 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:214:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
213 |
214 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
215 | // Wait for the thread to be executed
216 | pthread_join(tid, nil)
[76/112] Compiling Git LogTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:77:20: warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 | class Reference {
76 |
77 | static var head: String = "HEAD"
| |- warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'head' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'head' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | static var mergeHead: String = "MERGE_HEAD"
79 |
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:78:20: warning: static property 'mergeHead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 |
77 | static var head: String = "HEAD"
78 | static var mergeHead: String = "MERGE_HEAD"
| |- warning: static property 'mergeHead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mergeHead' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mergeHead' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | public required init(referenceName: String, direction: ComparisonDirection) {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:51:24: warning: static property 'bufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | final class ProcessSpawn {
50 |
51 | private static var bufferSize = 1024 * 8
| |- warning: static property 'bufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bufferSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bufferSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | /// The arguments to be executed.
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:116:37: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
114 | defer { for case let env? in envp { free(env) } }
115 |
116 | guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 | throw SpawnError.canNotCreatePosixSpawn
118 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:134:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
132 | threadPayload?.isCancelled = true
133 |
134 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
135 | pthread_cancel(threadId)
136 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:212:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
210 | threadPayloadRef.pointee = threadPayload
211 |
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
213 |
214 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:214:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
213 |
214 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
215 | // Wait for the thread to be executed
216 | pthread_join(tid, nil)
[77/112] Compiling Git MergeOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:77:20: warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 | class Reference {
76 |
77 | static var head: String = "HEAD"
| |- warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'head' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'head' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | static var mergeHead: String = "MERGE_HEAD"
79 |
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:78:20: warning: static property 'mergeHead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 |
77 | static var head: String = "HEAD"
78 | static var mergeHead: String = "MERGE_HEAD"
| |- warning: static property 'mergeHead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mergeHead' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mergeHead' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | public required init(referenceName: String, direction: ComparisonDirection) {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:51:24: warning: static property 'bufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | final class ProcessSpawn {
50 |
51 | private static var bufferSize = 1024 * 8
| |- warning: static property 'bufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bufferSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bufferSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | /// The arguments to be executed.
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:116:37: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
114 | defer { for case let env? in envp { free(env) } }
115 |
116 | guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 | throw SpawnError.canNotCreatePosixSpawn
118 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:134:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
132 | threadPayload?.isCancelled = true
133 |
134 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
135 | pthread_cancel(threadId)
136 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:212:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
210 | threadPayloadRef.pointee = threadPayload
211 |
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
213 |
214 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:214:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
213 |
214 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
215 | // Wait for the thread to be executed
216 | pthread_join(tid, nil)
[78/112] Compiling Git MergeTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:77:20: warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 | class Reference {
76 |
77 | static var head: String = "HEAD"
| |- warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'head' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'head' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | static var mergeHead: String = "MERGE_HEAD"
79 |
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:78:20: warning: static property 'mergeHead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 |
77 | static var head: String = "HEAD"
78 | static var mergeHead: String = "MERGE_HEAD"
| |- warning: static property 'mergeHead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mergeHead' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mergeHead' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | public required init(referenceName: String, direction: ComparisonDirection) {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:51:24: warning: static property 'bufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | final class ProcessSpawn {
50 |
51 | private static var bufferSize = 1024 * 8
| |- warning: static property 'bufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bufferSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bufferSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | /// The arguments to be executed.
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:116:37: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
114 | defer { for case let env? in envp { free(env) } }
115 |
116 | guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 | throw SpawnError.canNotCreatePosixSpawn
118 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:134:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
132 | threadPayload?.isCancelled = true
133 |
134 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
135 | pthread_cancel(threadId)
136 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:212:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
210 | threadPayloadRef.pointee = threadPayload
211 |
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
213 |
214 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:214:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
213 |
214 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
215 | // Wait for the thread to be executed
216 | pthread_join(tid, nil)
[79/112] Compiling Git ProcessSpawn.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:77:20: warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 | class Reference {
76 |
77 | static var head: String = "HEAD"
| |- warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'head' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'head' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | static var mergeHead: String = "MERGE_HEAD"
79 |
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:78:20: warning: static property 'mergeHead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 |
77 | static var head: String = "HEAD"
78 | static var mergeHead: String = "MERGE_HEAD"
| |- warning: static property 'mergeHead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mergeHead' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mergeHead' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | public required init(referenceName: String, direction: ComparisonDirection) {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:51:24: warning: static property 'bufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | final class ProcessSpawn {
50 |
51 | private static var bufferSize = 1024 * 8
| |- warning: static property 'bufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bufferSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bufferSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | /// The arguments to be executed.
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:116:37: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
114 | defer { for case let env? in envp { free(env) } }
115 |
116 | guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 | throw SpawnError.canNotCreatePosixSpawn
118 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:134:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
132 | threadPayload?.isCancelled = true
133 |
134 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
135 | pthread_cancel(threadId)
136 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:212:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
210 | threadPayloadRef.pointee = threadPayload
211 |
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
213 |
214 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:214:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
213 |
214 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
215 | // Wait for the thread to be executed
216 | pthread_join(tid, nil)
[80/112] Compiling Git GitPullOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:77:20: warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 | class Reference {
76 |
77 | static var head: String = "HEAD"
| |- warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'head' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'head' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | static var mergeHead: String = "MERGE_HEAD"
79 |
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:78:20: warning: static property 'mergeHead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 |
77 | static var head: String = "HEAD"
78 | static var mergeHead: String = "MERGE_HEAD"
| |- warning: static property 'mergeHead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mergeHead' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mergeHead' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | public required init(referenceName: String, direction: ComparisonDirection) {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:51:24: warning: static property 'bufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | final class ProcessSpawn {
50 |
51 | private static var bufferSize = 1024 * 8
| |- warning: static property 'bufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bufferSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bufferSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | /// The arguments to be executed.
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:116:37: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
114 | defer { for case let env? in envp { free(env) } }
115 |
116 | guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 | throw SpawnError.canNotCreatePosixSpawn
118 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:134:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
132 | threadPayload?.isCancelled = true
133 |
134 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
135 | pthread_cancel(threadId)
136 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:212:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
210 | threadPayloadRef.pointee = threadPayload
211 |
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
213 |
214 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:214:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
213 |
214 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
215 | // Wait for the thread to be executed
216 | pthread_join(tid, nil)
[81/112] Compiling Git PullTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:77:20: warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 | class Reference {
76 |
77 | static var head: String = "HEAD"
| |- warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'head' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'head' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | static var mergeHead: String = "MERGE_HEAD"
79 |
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:78:20: warning: static property 'mergeHead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 |
77 | static var head: String = "HEAD"
78 | static var mergeHead: String = "MERGE_HEAD"
| |- warning: static property 'mergeHead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mergeHead' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mergeHead' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | public required init(referenceName: String, direction: ComparisonDirection) {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:51:24: warning: static property 'bufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | final class ProcessSpawn {
50 |
51 | private static var bufferSize = 1024 * 8
| |- warning: static property 'bufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bufferSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bufferSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | /// The arguments to be executed.
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:116:37: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
114 | defer { for case let env? in envp { free(env) } }
115 |
116 | guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 | throw SpawnError.canNotCreatePosixSpawn
118 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:134:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
132 | threadPayload?.isCancelled = true
133 |
134 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
135 | pthread_cancel(threadId)
136 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:212:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
210 | threadPayloadRef.pointee = threadPayload
211 |
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
213 |
214 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:214:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
213 |
214 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
215 | // Wait for the thread to be executed
216 | pthread_join(tid, nil)
[82/112] Compiling Git GitPushOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:77:20: warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 | class Reference {
76 |
77 | static var head: String = "HEAD"
| |- warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'head' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'head' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | static var mergeHead: String = "MERGE_HEAD"
79 |
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:78:20: warning: static property 'mergeHead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 |
77 | static var head: String = "HEAD"
78 | static var mergeHead: String = "MERGE_HEAD"
| |- warning: static property 'mergeHead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mergeHead' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mergeHead' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | public required init(referenceName: String, direction: ComparisonDirection) {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:51:24: warning: static property 'bufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | final class ProcessSpawn {
50 |
51 | private static var bufferSize = 1024 * 8
| |- warning: static property 'bufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bufferSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bufferSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | /// The arguments to be executed.
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:116:37: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
114 | defer { for case let env? in envp { free(env) } }
115 |
116 | guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 | throw SpawnError.canNotCreatePosixSpawn
118 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:134:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
132 | threadPayload?.isCancelled = true
133 |
134 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
135 | pthread_cancel(threadId)
136 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:212:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
210 | threadPayloadRef.pointee = threadPayload
211 |
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
213 |
214 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:214:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
213 |
214 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
215 | // Wait for the thread to be executed
216 | pthread_join(tid, nil)
[83/112] Compiling Git PushTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:77:20: warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 | class Reference {
76 |
77 | static var head: String = "HEAD"
| |- warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'head' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'head' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | static var mergeHead: String = "MERGE_HEAD"
79 |
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:78:20: warning: static property 'mergeHead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 |
77 | static var head: String = "HEAD"
78 | static var mergeHead: String = "MERGE_HEAD"
| |- warning: static property 'mergeHead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mergeHead' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mergeHead' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | public required init(referenceName: String, direction: ComparisonDirection) {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:51:24: warning: static property 'bufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | final class ProcessSpawn {
50 |
51 | private static var bufferSize = 1024 * 8
| |- warning: static property 'bufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bufferSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bufferSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | /// The arguments to be executed.
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:116:37: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
114 | defer { for case let env? in envp { free(env) } }
115 |
116 | guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 | throw SpawnError.canNotCreatePosixSpawn
118 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:134:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
132 | threadPayload?.isCancelled = true
133 |
134 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
135 | pthread_cancel(threadId)
136 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:212:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
210 | threadPayloadRef.pointee = threadPayload
211 |
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
213 |
214 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:214:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
213 |
214 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
215 | // Wait for the thread to be executed
216 | pthread_join(tid, nil)
[84/112] Compiling Git ReferencesTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:77:20: warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 | class Reference {
76 |
77 | static var head: String = "HEAD"
| |- warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'head' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'head' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | static var mergeHead: String = "MERGE_HEAD"
79 |
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:78:20: warning: static property 'mergeHead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 |
77 | static var head: String = "HEAD"
78 | static var mergeHead: String = "MERGE_HEAD"
| |- warning: static property 'mergeHead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mergeHead' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mergeHead' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | public required init(referenceName: String, direction: ComparisonDirection) {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:51:24: warning: static property 'bufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | final class ProcessSpawn {
50 |
51 | private static var bufferSize = 1024 * 8
| |- warning: static property 'bufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bufferSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bufferSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | /// The arguments to be executed.
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:116:37: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
114 | defer { for case let env? in envp { free(env) } }
115 |
116 | guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 | throw SpawnError.canNotCreatePosixSpawn
118 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:134:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
132 | threadPayload?.isCancelled = true
133 |
134 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
135 | pthread_cancel(threadId)
136 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:212:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
210 | threadPayloadRef.pointee = threadPayload
211 |
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
213 |
214 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:214:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
213 |
214 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
215 | // Wait for the thread to be executed
216 | pthread_join(tid, nil)
[85/112] Compiling Git RemoteAddTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:77:20: warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 | class Reference {
76 |
77 | static var head: String = "HEAD"
| |- warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'head' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'head' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | static var mergeHead: String = "MERGE_HEAD"
79 |
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:78:20: warning: static property 'mergeHead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 |
77 | static var head: String = "HEAD"
78 | static var mergeHead: String = "MERGE_HEAD"
| |- warning: static property 'mergeHead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mergeHead' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mergeHead' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | public required init(referenceName: String, direction: ComparisonDirection) {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:51:24: warning: static property 'bufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | final class ProcessSpawn {
50 |
51 | private static var bufferSize = 1024 * 8
| |- warning: static property 'bufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bufferSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bufferSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | /// The arguments to be executed.
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:116:37: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
114 | defer { for case let env? in envp { free(env) } }
115 |
116 | guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 | throw SpawnError.canNotCreatePosixSpawn
118 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:134:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
132 | threadPayload?.isCancelled = true
133 |
134 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
135 | pthread_cancel(threadId)
136 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:212:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
210 | threadPayloadRef.pointee = threadPayload
211 |
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
213 |
214 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:214:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
213 |
214 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
215 | // Wait for the thread to be executed
216 | pthread_join(tid, nil)
[86/112] Compiling Git RemoteListTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:77:20: warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 | class Reference {
76 |
77 | static var head: String = "HEAD"
| |- warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'head' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'head' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | static var mergeHead: String = "MERGE_HEAD"
79 |
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:78:20: warning: static property 'mergeHead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 |
77 | static var head: String = "HEAD"
78 | static var mergeHead: String = "MERGE_HEAD"
| |- warning: static property 'mergeHead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mergeHead' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mergeHead' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | public required init(referenceName: String, direction: ComparisonDirection) {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:51:24: warning: static property 'bufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | final class ProcessSpawn {
50 |
51 | private static var bufferSize = 1024 * 8
| |- warning: static property 'bufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bufferSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bufferSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | /// The arguments to be executed.
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:116:37: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
114 | defer { for case let env? in envp { free(env) } }
115 |
116 | guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 | throw SpawnError.canNotCreatePosixSpawn
118 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:134:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
132 | threadPayload?.isCancelled = true
133 |
134 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
135 | pthread_cancel(threadId)
136 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:212:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
210 | threadPayloadRef.pointee = threadPayload
211 |
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
213 |
214 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:214:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
213 |
214 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
215 | // Wait for the thread to be executed
216 | pthread_join(tid, nil)
[87/112] Compiling Git GitStashDropOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Status/GitStatusOptions.swift:22:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Returns a default options
22 | public static var `default` = GitStatusOptions()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public init() {}
/host/spi-builder-workspace/Sources/Classes/Tasks/Tag/GitTagListOptions.swift:22:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// A set of options that are used for the listing tags operation
21 | public struct GitTagListOptions: ArgumentConvertible {
22 | public static var `default` = GitTagListOptions()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Creates options with the pattern match
[88/112] Compiling Git StashDropTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Status/GitStatusOptions.swift:22:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Returns a default options
22 | public static var `default` = GitStatusOptions()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public init() {}
/host/spi-builder-workspace/Sources/Classes/Tasks/Tag/GitTagListOptions.swift:22:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// A set of options that are used for the listing tags operation
21 | public struct GitTagListOptions: ArgumentConvertible {
22 | public static var `default` = GitTagListOptions()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Creates options with the pattern match
[89/112] Compiling Git GitStashListOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Status/GitStatusOptions.swift:22:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Returns a default options
22 | public static var `default` = GitStatusOptions()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public init() {}
/host/spi-builder-workspace/Sources/Classes/Tasks/Tag/GitTagListOptions.swift:22:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// A set of options that are used for the listing tags operation
21 | public struct GitTagListOptions: ArgumentConvertible {
22 | public static var `default` = GitTagListOptions()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Creates options with the pattern match
[90/112] Compiling Git StashListTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Status/GitStatusOptions.swift:22:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Returns a default options
22 | public static var `default` = GitStatusOptions()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public init() {}
/host/spi-builder-workspace/Sources/Classes/Tasks/Tag/GitTagListOptions.swift:22:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// A set of options that are used for the listing tags operation
21 | public struct GitTagListOptions: ArgumentConvertible {
22 | public static var `default` = GitTagListOptions()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Creates options with the pattern match
[91/112] Compiling Git GitStatusOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Status/GitStatusOptions.swift:22:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Returns a default options
22 | public static var `default` = GitStatusOptions()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public init() {}
/host/spi-builder-workspace/Sources/Classes/Tasks/Tag/GitTagListOptions.swift:22:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// A set of options that are used for the listing tags operation
21 | public struct GitTagListOptions: ArgumentConvertible {
22 | public static var `default` = GitTagListOptions()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Creates options with the pattern match
[92/112] Compiling Git StatusTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Status/GitStatusOptions.swift:22:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Returns a default options
22 | public static var `default` = GitStatusOptions()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public init() {}
/host/spi-builder-workspace/Sources/Classes/Tasks/Tag/GitTagListOptions.swift:22:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// A set of options that are used for the listing tags operation
21 | public struct GitTagListOptions: ArgumentConvertible {
22 | public static var `default` = GitTagListOptions()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Creates options with the pattern match
[93/112] Compiling Git GitTagListOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Status/GitStatusOptions.swift:22:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Returns a default options
22 | public static var `default` = GitStatusOptions()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public init() {}
/host/spi-builder-workspace/Sources/Classes/Tasks/Tag/GitTagListOptions.swift:22:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// A set of options that are used for the listing tags operation
21 | public struct GitTagListOptions: ArgumentConvertible {
22 | public static var `default` = GitTagListOptions()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Creates options with the pattern match
[94/112] Compiling Git GitTagOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Status/GitStatusOptions.swift:22:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Returns a default options
22 | public static var `default` = GitStatusOptions()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public init() {}
/host/spi-builder-workspace/Sources/Classes/Tasks/Tag/GitTagListOptions.swift:22:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// A set of options that are used for the listing tags operation
21 | public struct GitTagListOptions: ArgumentConvertible {
22 | public static var `default` = GitTagListOptions()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Creates options with the pattern match
[95/112] Compiling Git TagTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Status/GitStatusOptions.swift:22:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Returns a default options
22 | public static var `default` = GitStatusOptions()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public init() {}
/host/spi-builder-workspace/Sources/Classes/Tasks/Tag/GitTagListOptions.swift:22:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// A set of options that are used for the listing tags operation
21 | public struct GitTagListOptions: ArgumentConvertible {
22 | public static var `default` = GitTagListOptions()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Creates options with the pattern match
[96/112] Compiling Git GitFormatDecoder.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Status/GitStatusOptions.swift:22:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Returns a default options
22 | public static var `default` = GitStatusOptions()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public init() {}
/host/spi-builder-workspace/Sources/Classes/Tasks/Tag/GitTagListOptions.swift:22:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// A set of options that are used for the listing tags operation
21 | public struct GitTagListOptions: ArgumentConvertible {
22 | public static var `default` = GitTagListOptions()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Creates options with the pattern match
[97/112] Compiling Git GitFormatEncoder.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Status/GitStatusOptions.swift:22:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Returns a default options
22 | public static var `default` = GitStatusOptions()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public init() {}
/host/spi-builder-workspace/Sources/Classes/Tasks/Tag/GitTagListOptions.swift:22:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// A set of options that are used for the listing tags operation
21 | public struct GitTagListOptions: ArgumentConvertible {
22 | public static var `default` = GitTagListOptions()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Creates options with the pattern match
[98/112] Compiling Git GitOutputParser.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Status/GitStatusOptions.swift:22:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Returns a default options
22 | public static var `default` = GitStatusOptions()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public init() {}
/host/spi-builder-workspace/Sources/Classes/Tasks/Tag/GitTagListOptions.swift:22:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// A set of options that are used for the listing tags operation
21 | public struct GitTagListOptions: ArgumentConvertible {
22 | public static var `default` = GitTagListOptions()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Creates options with the pattern match
[99/112] Compiling Git IndexIterator.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Status/GitStatusOptions.swift:22:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Returns a default options
22 | public static var `default` = GitStatusOptions()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public init() {}
/host/spi-builder-workspace/Sources/Classes/Tasks/Tag/GitTagListOptions.swift:22:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// A set of options that are used for the listing tags operation
21 | public struct GitTagListOptions: ArgumentConvertible {
22 | public static var `default` = GitTagListOptions()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Creates options with the pattern match
[100/112] Compiling Git FileManager+Utils.swift
/host/spi-builder-workspace/Sources/Protocols/RepositoryError.swift:152:10: warning: associated value 'unableToApplyStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
150 |
151 | /// Occurs when stash apply operation has been fallen in case no stash record is found
152 | case unableToApplyStashRecordNotFound(record: RepositoryStashRecord)
| `- warning: associated value 'unableToApplyStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
153 |
154 | /// Occurs when stash drop operation has been fallen in case no stash record is found
/host/spi-builder-workspace/Sources/Protocols/RepositoryStashRecord.swift:21:17: note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
19 |
20 | /// Describes a single shash record in a repository
21 | public protocol RepositoryStashRecord: RepositoryLogRecord {
| `- note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
22 |
23 | /// An index of this stash record in repository.
/host/spi-builder-workspace/Sources/Protocols/RepositoryError.swift:155:10: warning: associated value 'unableToDropStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
153 |
154 | /// Occurs when stash drop operation has been fallen in case no stash record is found
155 | case unableToDropStashRecordNotFound(record: RepositoryStashRecord)
| `- warning: associated value 'unableToDropStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
156 |
157 | /// Occuts when the merge operations finishes, but conflicts have been detected
/host/spi-builder-workspace/Sources/Protocols/RepositoryStashRecord.swift:21:17: note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
19 |
20 | /// Describes a single shash record in a repository
21 | public protocol RepositoryStashRecord: RepositoryLogRecord {
| `- note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
22 |
23 | /// An index of this stash record in repository.
[101/112] Compiling Git Formatter+Date.swift
/host/spi-builder-workspace/Sources/Protocols/RepositoryError.swift:152:10: warning: associated value 'unableToApplyStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
150 |
151 | /// Occurs when stash apply operation has been fallen in case no stash record is found
152 | case unableToApplyStashRecordNotFound(record: RepositoryStashRecord)
| `- warning: associated value 'unableToApplyStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
153 |
154 | /// Occurs when stash drop operation has been fallen in case no stash record is found
/host/spi-builder-workspace/Sources/Protocols/RepositoryStashRecord.swift:21:17: note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
19 |
20 | /// Describes a single shash record in a repository
21 | public protocol RepositoryStashRecord: RepositoryLogRecord {
| `- note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
22 |
23 | /// An index of this stash record in repository.
/host/spi-builder-workspace/Sources/Protocols/RepositoryError.swift:155:10: warning: associated value 'unableToDropStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
153 |
154 | /// Occurs when stash drop operation has been fallen in case no stash record is found
155 | case unableToDropStashRecordNotFound(record: RepositoryStashRecord)
| `- warning: associated value 'unableToDropStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
156 |
157 | /// Occuts when the merge operations finishes, but conflicts have been detected
/host/spi-builder-workspace/Sources/Protocols/RepositoryStashRecord.swift:21:17: note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
19 |
20 | /// Describes a single shash record in a repository
21 | public protocol RepositoryStashRecord: RepositoryLogRecord {
| `- note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
22 |
23 | /// An index of this stash record in repository.
[102/112] Compiling Git Array+Utils.swift
/host/spi-builder-workspace/Sources/Protocols/RepositoryError.swift:152:10: warning: associated value 'unableToApplyStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
150 |
151 | /// Occurs when stash apply operation has been fallen in case no stash record is found
152 | case unableToApplyStashRecordNotFound(record: RepositoryStashRecord)
| `- warning: associated value 'unableToApplyStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
153 |
154 | /// Occurs when stash drop operation has been fallen in case no stash record is found
/host/spi-builder-workspace/Sources/Protocols/RepositoryStashRecord.swift:21:17: note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
19 |
20 | /// Describes a single shash record in a repository
21 | public protocol RepositoryStashRecord: RepositoryLogRecord {
| `- note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
22 |
23 | /// An index of this stash record in repository.
/host/spi-builder-workspace/Sources/Protocols/RepositoryError.swift:155:10: warning: associated value 'unableToDropStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
153 |
154 | /// Occurs when stash drop operation has been fallen in case no stash record is found
155 | case unableToDropStashRecordNotFound(record: RepositoryStashRecord)
| `- warning: associated value 'unableToDropStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
156 |
157 | /// Occuts when the merge operations finishes, but conflicts have been detected
/host/spi-builder-workspace/Sources/Protocols/RepositoryStashRecord.swift:21:17: note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
19 |
20 | /// Describes a single shash record in a repository
21 | public protocol RepositoryStashRecord: RepositoryLogRecord {
| `- note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
22 |
23 | /// An index of this stash record in repository.
[103/112] Compiling Git CredentialsProvider.swift
/host/spi-builder-workspace/Sources/Protocols/RepositoryError.swift:152:10: warning: associated value 'unableToApplyStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
150 |
151 | /// Occurs when stash apply operation has been fallen in case no stash record is found
152 | case unableToApplyStashRecordNotFound(record: RepositoryStashRecord)
| `- warning: associated value 'unableToApplyStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
153 |
154 | /// Occurs when stash drop operation has been fallen in case no stash record is found
/host/spi-builder-workspace/Sources/Protocols/RepositoryStashRecord.swift:21:17: note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
19 |
20 | /// Describes a single shash record in a repository
21 | public protocol RepositoryStashRecord: RepositoryLogRecord {
| `- note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
22 |
23 | /// An index of this stash record in repository.
/host/spi-builder-workspace/Sources/Protocols/RepositoryError.swift:155:10: warning: associated value 'unableToDropStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
153 |
154 | /// Occurs when stash drop operation has been fallen in case no stash record is found
155 | case unableToDropStashRecordNotFound(record: RepositoryStashRecord)
| `- warning: associated value 'unableToDropStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
156 |
157 | /// Occuts when the merge operations finishes, but conflicts have been detected
/host/spi-builder-workspace/Sources/Protocols/RepositoryStashRecord.swift:21:17: note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
19 |
20 | /// Describes a single shash record in a repository
21 | public protocol RepositoryStashRecord: RepositoryLogRecord {
| `- note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
22 |
23 | /// An index of this stash record in repository.
[104/112] Compiling Git Repository.swift
/host/spi-builder-workspace/Sources/Protocols/RepositoryError.swift:152:10: warning: associated value 'unableToApplyStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
150 |
151 | /// Occurs when stash apply operation has been fallen in case no stash record is found
152 | case unableToApplyStashRecordNotFound(record: RepositoryStashRecord)
| `- warning: associated value 'unableToApplyStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
153 |
154 | /// Occurs when stash drop operation has been fallen in case no stash record is found
/host/spi-builder-workspace/Sources/Protocols/RepositoryStashRecord.swift:21:17: note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
19 |
20 | /// Describes a single shash record in a repository
21 | public protocol RepositoryStashRecord: RepositoryLogRecord {
| `- note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
22 |
23 | /// An index of this stash record in repository.
/host/spi-builder-workspace/Sources/Protocols/RepositoryError.swift:155:10: warning: associated value 'unableToDropStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
153 |
154 | /// Occurs when stash drop operation has been fallen in case no stash record is found
155 | case unableToDropStashRecordNotFound(record: RepositoryStashRecord)
| `- warning: associated value 'unableToDropStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
156 |
157 | /// Occuts when the merge operations finishes, but conflicts have been detected
/host/spi-builder-workspace/Sources/Protocols/RepositoryStashRecord.swift:21:17: note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
19 |
20 | /// Describes a single shash record in a repository
21 | public protocol RepositoryStashRecord: RepositoryLogRecord {
| `- note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
22 |
23 | /// An index of this stash record in repository.
[105/112] Compiling Git RepositoryDelegate.swift
/host/spi-builder-workspace/Sources/Protocols/RepositoryError.swift:152:10: warning: associated value 'unableToApplyStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
150 |
151 | /// Occurs when stash apply operation has been fallen in case no stash record is found
152 | case unableToApplyStashRecordNotFound(record: RepositoryStashRecord)
| `- warning: associated value 'unableToApplyStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
153 |
154 | /// Occurs when stash drop operation has been fallen in case no stash record is found
/host/spi-builder-workspace/Sources/Protocols/RepositoryStashRecord.swift:21:17: note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
19 |
20 | /// Describes a single shash record in a repository
21 | public protocol RepositoryStashRecord: RepositoryLogRecord {
| `- note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
22 |
23 | /// An index of this stash record in repository.
/host/spi-builder-workspace/Sources/Protocols/RepositoryError.swift:155:10: warning: associated value 'unableToDropStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
153 |
154 | /// Occurs when stash drop operation has been fallen in case no stash record is found
155 | case unableToDropStashRecordNotFound(record: RepositoryStashRecord)
| `- warning: associated value 'unableToDropStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
156 |
157 | /// Occuts when the merge operations finishes, but conflicts have been detected
/host/spi-builder-workspace/Sources/Protocols/RepositoryStashRecord.swift:21:17: note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
19 |
20 | /// Describes a single shash record in a repository
21 | public protocol RepositoryStashRecord: RepositoryLogRecord {
| `- note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
22 |
23 | /// An index of this stash record in repository.
[106/112] Compiling Git RepositoryError.swift
/host/spi-builder-workspace/Sources/Protocols/RepositoryError.swift:152:10: warning: associated value 'unableToApplyStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
150 |
151 | /// Occurs when stash apply operation has been fallen in case no stash record is found
152 | case unableToApplyStashRecordNotFound(record: RepositoryStashRecord)
| `- warning: associated value 'unableToApplyStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
153 |
154 | /// Occurs when stash drop operation has been fallen in case no stash record is found
/host/spi-builder-workspace/Sources/Protocols/RepositoryStashRecord.swift:21:17: note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
19 |
20 | /// Describes a single shash record in a repository
21 | public protocol RepositoryStashRecord: RepositoryLogRecord {
| `- note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
22 |
23 | /// An index of this stash record in repository.
/host/spi-builder-workspace/Sources/Protocols/RepositoryError.swift:155:10: warning: associated value 'unableToDropStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
153 |
154 | /// Occurs when stash drop operation has been fallen in case no stash record is found
155 | case unableToDropStashRecordNotFound(record: RepositoryStashRecord)
| `- warning: associated value 'unableToDropStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
156 |
157 | /// Occuts when the merge operations finishes, but conflicts have been detected
/host/spi-builder-workspace/Sources/Protocols/RepositoryStashRecord.swift:21:17: note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
19 |
20 | /// Describes a single shash record in a repository
21 | public protocol RepositoryStashRecord: RepositoryLogRecord {
| `- note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
22 |
23 | /// An index of this stash record in repository.
[107/112] Compiling Git RepositoryLogRecord.swift
/host/spi-builder-workspace/Sources/Protocols/RepositoryError.swift:152:10: warning: associated value 'unableToApplyStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
150 |
151 | /// Occurs when stash apply operation has been fallen in case no stash record is found
152 | case unableToApplyStashRecordNotFound(record: RepositoryStashRecord)
| `- warning: associated value 'unableToApplyStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
153 |
154 | /// Occurs when stash drop operation has been fallen in case no stash record is found
/host/spi-builder-workspace/Sources/Protocols/RepositoryStashRecord.swift:21:17: note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
19 |
20 | /// Describes a single shash record in a repository
21 | public protocol RepositoryStashRecord: RepositoryLogRecord {
| `- note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
22 |
23 | /// An index of this stash record in repository.
/host/spi-builder-workspace/Sources/Protocols/RepositoryError.swift:155:10: warning: associated value 'unableToDropStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
153 |
154 | /// Occurs when stash drop operation has been fallen in case no stash record is found
155 | case unableToDropStashRecordNotFound(record: RepositoryStashRecord)
| `- warning: associated value 'unableToDropStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
156 |
157 | /// Occuts when the merge operations finishes, but conflicts have been detected
/host/spi-builder-workspace/Sources/Protocols/RepositoryStashRecord.swift:21:17: note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
19 |
20 | /// Describes a single shash record in a repository
21 | public protocol RepositoryStashRecord: RepositoryLogRecord {
| `- note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
22 |
23 | /// An index of this stash record in repository.
[108/112] Compiling Git RepositoryReference.swift
/host/spi-builder-workspace/Sources/Protocols/RepositoryError.swift:152:10: warning: associated value 'unableToApplyStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
150 |
151 | /// Occurs when stash apply operation has been fallen in case no stash record is found
152 | case unableToApplyStashRecordNotFound(record: RepositoryStashRecord)
| `- warning: associated value 'unableToApplyStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
153 |
154 | /// Occurs when stash drop operation has been fallen in case no stash record is found
/host/spi-builder-workspace/Sources/Protocols/RepositoryStashRecord.swift:21:17: note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
19 |
20 | /// Describes a single shash record in a repository
21 | public protocol RepositoryStashRecord: RepositoryLogRecord {
| `- note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
22 |
23 | /// An index of this stash record in repository.
/host/spi-builder-workspace/Sources/Protocols/RepositoryError.swift:155:10: warning: associated value 'unableToDropStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
153 |
154 | /// Occurs when stash drop operation has been fallen in case no stash record is found
155 | case unableToDropStashRecordNotFound(record: RepositoryStashRecord)
| `- warning: associated value 'unableToDropStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
156 |
157 | /// Occuts when the merge operations finishes, but conflicts have been detected
/host/spi-builder-workspace/Sources/Protocols/RepositoryStashRecord.swift:21:17: note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
19 |
20 | /// Describes a single shash record in a repository
21 | public protocol RepositoryStashRecord: RepositoryLogRecord {
| `- note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
22 |
23 | /// An index of this stash record in repository.
[109/112] Compiling Git RepositoryReferenceName.swift
/host/spi-builder-workspace/Sources/Protocols/RepositoryError.swift:152:10: warning: associated value 'unableToApplyStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
150 |
151 | /// Occurs when stash apply operation has been fallen in case no stash record is found
152 | case unableToApplyStashRecordNotFound(record: RepositoryStashRecord)
| `- warning: associated value 'unableToApplyStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
153 |
154 | /// Occurs when stash drop operation has been fallen in case no stash record is found
/host/spi-builder-workspace/Sources/Protocols/RepositoryStashRecord.swift:21:17: note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
19 |
20 | /// Describes a single shash record in a repository
21 | public protocol RepositoryStashRecord: RepositoryLogRecord {
| `- note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
22 |
23 | /// An index of this stash record in repository.
/host/spi-builder-workspace/Sources/Protocols/RepositoryError.swift:155:10: warning: associated value 'unableToDropStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
153 |
154 | /// Occurs when stash drop operation has been fallen in case no stash record is found
155 | case unableToDropStashRecordNotFound(record: RepositoryStashRecord)
| `- warning: associated value 'unableToDropStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
156 |
157 | /// Occuts when the merge operations finishes, but conflicts have been detected
/host/spi-builder-workspace/Sources/Protocols/RepositoryStashRecord.swift:21:17: note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
19 |
20 | /// Describes a single shash record in a repository
21 | public protocol RepositoryStashRecord: RepositoryLogRecord {
| `- note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
22 |
23 | /// An index of this stash record in repository.
[110/112] Compiling Git RepositoryRemote.swift
/host/spi-builder-workspace/Sources/Protocols/RepositoryError.swift:152:10: warning: associated value 'unableToApplyStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
150 |
151 | /// Occurs when stash apply operation has been fallen in case no stash record is found
152 | case unableToApplyStashRecordNotFound(record: RepositoryStashRecord)
| `- warning: associated value 'unableToApplyStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
153 |
154 | /// Occurs when stash drop operation has been fallen in case no stash record is found
/host/spi-builder-workspace/Sources/Protocols/RepositoryStashRecord.swift:21:17: note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
19 |
20 | /// Describes a single shash record in a repository
21 | public protocol RepositoryStashRecord: RepositoryLogRecord {
| `- note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
22 |
23 | /// An index of this stash record in repository.
/host/spi-builder-workspace/Sources/Protocols/RepositoryError.swift:155:10: warning: associated value 'unableToDropStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
153 |
154 | /// Occurs when stash drop operation has been fallen in case no stash record is found
155 | case unableToDropStashRecordNotFound(record: RepositoryStashRecord)
| `- warning: associated value 'unableToDropStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
156 |
157 | /// Occuts when the merge operations finishes, but conflicts have been detected
/host/spi-builder-workspace/Sources/Protocols/RepositoryStashRecord.swift:21:17: note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
19 |
20 | /// Describes a single shash record in a repository
21 | public protocol RepositoryStashRecord: RepositoryLogRecord {
| `- note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
22 |
23 | /// An index of this stash record in repository.
[111/112] Compiling Git RepositoryStashRecord.swift
/host/spi-builder-workspace/Sources/Protocols/RepositoryError.swift:152:10: warning: associated value 'unableToApplyStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
150 |
151 | /// Occurs when stash apply operation has been fallen in case no stash record is found
152 | case unableToApplyStashRecordNotFound(record: RepositoryStashRecord)
| `- warning: associated value 'unableToApplyStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
153 |
154 | /// Occurs when stash drop operation has been fallen in case no stash record is found
/host/spi-builder-workspace/Sources/Protocols/RepositoryStashRecord.swift:21:17: note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
19 |
20 | /// Describes a single shash record in a repository
21 | public protocol RepositoryStashRecord: RepositoryLogRecord {
| `- note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
22 |
23 | /// An index of this stash record in repository.
/host/spi-builder-workspace/Sources/Protocols/RepositoryError.swift:155:10: warning: associated value 'unableToDropStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
153 |
154 | /// Occurs when stash drop operation has been fallen in case no stash record is found
155 | case unableToDropStashRecordNotFound(record: RepositoryStashRecord)
| `- warning: associated value 'unableToDropStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
156 |
157 | /// Occuts when the merge operations finishes, but conflicts have been detected
/host/spi-builder-workspace/Sources/Protocols/RepositoryStashRecord.swift:21:17: note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
19 |
20 | /// Describes a single shash record in a repository
21 | public protocol RepositoryStashRecord: RepositoryLogRecord {
| `- note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
22 |
23 | /// An index of this stash record in repository.
[112/112] Compiling Git RepositoryTagRecord.swift
/host/spi-builder-workspace/Sources/Protocols/RepositoryError.swift:152:10: warning: associated value 'unableToApplyStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
150 |
151 | /// Occurs when stash apply operation has been fallen in case no stash record is found
152 | case unableToApplyStashRecordNotFound(record: RepositoryStashRecord)
| `- warning: associated value 'unableToApplyStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
153 |
154 | /// Occurs when stash drop operation has been fallen in case no stash record is found
/host/spi-builder-workspace/Sources/Protocols/RepositoryStashRecord.swift:21:17: note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
19 |
20 | /// Describes a single shash record in a repository
21 | public protocol RepositoryStashRecord: RepositoryLogRecord {
| `- note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
22 |
23 | /// An index of this stash record in repository.
/host/spi-builder-workspace/Sources/Protocols/RepositoryError.swift:155:10: warning: associated value 'unableToDropStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
153 |
154 | /// Occurs when stash drop operation has been fallen in case no stash record is found
155 | case unableToDropStashRecordNotFound(record: RepositoryStashRecord)
| `- warning: associated value 'unableToDropStashRecordNotFound(record:)' of 'Sendable'-conforming enum 'RepositoryError' has non-sendable type 'any RepositoryStashRecord'; this is an error in the Swift 6 language mode
156 |
157 | /// Occuts when the merge operations finishes, but conflicts have been detected
/host/spi-builder-workspace/Sources/Protocols/RepositoryStashRecord.swift:21:17: note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
19 |
20 | /// Describes a single shash record in a repository
21 | public protocol RepositoryStashRecord: RepositoryLogRecord {
| `- note: protocol 'RepositoryStashRecord' does not conform to the 'Sendable' protocol
22 |
23 | /// An index of this stash record in repository.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/98] Compiling Git GitStashDropOptions.swift
[3/98] Compiling Git StashDropTask.swift
[4/98] Compiling Git GitStashListOptions.swift
[5/98] Compiling Git StashListTask.swift
[6/98] Compiling Git GitStatusOptions.swift
[7/98] Compiling Git StatusTask.swift
[8/98] Compiling Git GitTagListOptions.swift
[9/98] Compiling Git GitTagOptions.swift
[10/98] Compiling Git TagTask.swift
[11/98] Compiling Git GitFormatDecoder.swift
[12/98] Compiling Git GitFormatEncoder.swift
[13/98] Compiling Git GitOutputParser.swift
[14/98] Compiling Git IndexIterator.swift
[15/111] Compiling Git GitRepository+Tag.swift
[16/111] Compiling Git GitRepositoryErrorFormatter.swift
[17/111] Compiling Git GitStashRecord.swift
[18/111] Compiling Git GitStashRecordList.swift
[19/111] Compiling Git GitTagRecord.swift
[20/111] Compiling Git GitTagRecordList.swift
[21/111] Compiling Git AddTask.swift
[22/111] Compiling Git GitAddOptions.swift
[23/111] Compiling Git ArgumentConvertible.swift
[24/111] Compiling Git BranchOptions.swift
[25/111] Compiling Git BranchTask.swift
[26/111] Compiling Git CheckReferenceTask.swift
[27/111] Compiling Git CheckoutOptions.swift
[28/111] Compiling Git CheckoutTask.swift
[29/111] Compiling Git CherryTask.swift
[30/111] Compiling Git GitCherryOptions.swift
[31/111] Compiling Git GitCherryResult.swift
[32/111] Compiling Git CherryPickOptions.swift
[33/111] Compiling Git CherryPickTask.swift
[34/111] Compiling Git CleanOptions.swift
[35/111] Compiling Git CleanTask.swift
[36/111] Compiling Git CloneOptions.swift
[37/111] Compiling Git CloneTask.swift
[38/111] Compiling Git CommitOptions.swift
[39/111] Compiling Git CommitTask.swift
[40/111] Compiling Git FetchTask.swift
[41/111] Compiling Git GitFetchOptions.swift
[42/111] Compiling Git InitOptions.swift
[43/111] Compiling Git InitTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:116:37: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
114 | defer { for case let env? in envp { free(env) } }
115 |
116 | guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 | throw SpawnError.canNotCreatePosixSpawn
118 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:134:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
132 | threadPayload?.isCancelled = true
133 |
134 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
135 | pthread_cancel(threadId)
136 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:212:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
210 | threadPayloadRef.pointee = threadPayload
211 |
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
213 |
214 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:214:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
213 |
214 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
215 | // Wait for the thread to be executed
216 | pthread_join(tid, nil)
[44/111] Compiling Git GitLogCompareOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:116:37: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
114 | defer { for case let env? in envp { free(env) } }
115 |
116 | guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 | throw SpawnError.canNotCreatePosixSpawn
118 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:134:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
132 | threadPayload?.isCancelled = true
133 |
134 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
135 | pthread_cancel(threadId)
136 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:212:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
210 | threadPayloadRef.pointee = threadPayload
211 |
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
213 |
214 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:214:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
213 |
214 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
215 | // Wait for the thread to be executed
216 | pthread_join(tid, nil)
[45/111] Compiling Git GitLogOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:116:37: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
114 | defer { for case let env? in envp { free(env) } }
115 |
116 | guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 | throw SpawnError.canNotCreatePosixSpawn
118 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:134:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
132 | threadPayload?.isCancelled = true
133 |
134 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
135 | pthread_cancel(threadId)
136 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:212:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
210 | threadPayloadRef.pointee = threadPayload
211 |
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
213 |
214 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:214:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
213 |
214 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
215 | // Wait for the thread to be executed
216 | pthread_join(tid, nil)
[46/111] Compiling Git LogTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:116:37: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
114 | defer { for case let env? in envp { free(env) } }
115 |
116 | guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 | throw SpawnError.canNotCreatePosixSpawn
118 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:134:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
132 | threadPayload?.isCancelled = true
133 |
134 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
135 | pthread_cancel(threadId)
136 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:212:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
210 | threadPayloadRef.pointee = threadPayload
211 |
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
213 |
214 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:214:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
213 |
214 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
215 | // Wait for the thread to be executed
216 | pthread_join(tid, nil)
[47/111] Compiling Git MergeOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:116:37: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
114 | defer { for case let env? in envp { free(env) } }
115 |
116 | guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 | throw SpawnError.canNotCreatePosixSpawn
118 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:134:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
132 | threadPayload?.isCancelled = true
133 |
134 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
135 | pthread_cancel(threadId)
136 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:212:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
210 | threadPayloadRef.pointee = threadPayload
211 |
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
213 |
214 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:214:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
213 |
214 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
215 | // Wait for the thread to be executed
216 | pthread_join(tid, nil)
[48/111] Compiling Git MergeTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:116:37: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
114 | defer { for case let env? in envp { free(env) } }
115 |
116 | guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 | throw SpawnError.canNotCreatePosixSpawn
118 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:134:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
132 | threadPayload?.isCancelled = true
133 |
134 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
135 | pthread_cancel(threadId)
136 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:212:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
210 | threadPayloadRef.pointee = threadPayload
211 |
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
213 |
214 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:214:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
213 |
214 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
215 | // Wait for the thread to be executed
216 | pthread_join(tid, nil)
[49/111] Compiling Git ProcessSpawn.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:116:37: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
114 | defer { for case let env? in envp { free(env) } }
115 |
116 | guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 | throw SpawnError.canNotCreatePosixSpawn
118 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:134:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
132 | threadPayload?.isCancelled = true
133 |
134 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
135 | pthread_cancel(threadId)
136 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:212:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
210 | threadPayloadRef.pointee = threadPayload
211 |
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
213 |
214 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:214:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
213 |
214 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
215 | // Wait for the thread to be executed
216 | pthread_join(tid, nil)
[50/111] Compiling Git GitPullOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:116:37: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
114 | defer { for case let env? in envp { free(env) } }
115 |
116 | guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 | throw SpawnError.canNotCreatePosixSpawn
118 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:134:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
132 | threadPayload?.isCancelled = true
133 |
134 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
135 | pthread_cancel(threadId)
136 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:212:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
210 | threadPayloadRef.pointee = threadPayload
211 |
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
213 |
214 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:214:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
213 |
214 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
215 | // Wait for the thread to be executed
216 | pthread_join(tid, nil)
[51/111] Compiling Git PullTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:116:37: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
114 | defer { for case let env? in envp { free(env) } }
115 |
116 | guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 | throw SpawnError.canNotCreatePosixSpawn
118 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:134:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
132 | threadPayload?.isCancelled = true
133 |
134 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
135 | pthread_cancel(threadId)
136 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:212:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
210 | threadPayloadRef.pointee = threadPayload
211 |
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
213 |
214 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:214:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
213 |
214 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
215 | // Wait for the thread to be executed
216 | pthread_join(tid, nil)
[52/111] Compiling Git GitPushOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:116:37: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
114 | defer { for case let env? in envp { free(env) } }
115 |
116 | guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 | throw SpawnError.canNotCreatePosixSpawn
118 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:134:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
132 | threadPayload?.isCancelled = true
133 |
134 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
135 | pthread_cancel(threadId)
136 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:212:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
210 | threadPayloadRef.pointee = threadPayload
211 |
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
213 |
214 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:214:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
213 |
214 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
215 | // Wait for the thread to be executed
216 | pthread_join(tid, nil)
[53/111] Compiling Git PushTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:116:37: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
114 | defer { for case let env? in envp { free(env) } }
115 |
116 | guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 | throw SpawnError.canNotCreatePosixSpawn
118 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:134:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
132 | threadPayload?.isCancelled = true
133 |
134 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
135 | pthread_cancel(threadId)
136 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:212:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
210 | threadPayloadRef.pointee = threadPayload
211 |
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
213 |
214 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:214:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
213 |
214 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
215 | // Wait for the thread to be executed
216 | pthread_join(tid, nil)
[54/111] Compiling Git ReferencesTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:116:37: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
114 | defer { for case let env? in envp { free(env) } }
115 |
116 | guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 | throw SpawnError.canNotCreatePosixSpawn
118 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:134:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
132 | threadPayload?.isCancelled = true
133 |
134 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
135 | pthread_cancel(threadId)
136 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:212:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
210 | threadPayloadRef.pointee = threadPayload
211 |
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
213 |
214 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:214:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
213 |
214 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
215 | // Wait for the thread to be executed
216 | pthread_join(tid, nil)
[55/111] Compiling Git RemoteAddTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:116:37: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
114 | defer { for case let env? in envp { free(env) } }
115 |
116 | guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 | throw SpawnError.canNotCreatePosixSpawn
118 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:134:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
132 | threadPayload?.isCancelled = true
133 |
134 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
135 | pthread_cancel(threadId)
136 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:212:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
210 | threadPayloadRef.pointee = threadPayload
211 |
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
213 |
214 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:214:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
213 |
214 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
215 | // Wait for the thread to be executed
216 | pthread_join(tid, nil)
[56/111] Compiling Git RemoteListTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:116:37: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
114 | defer { for case let env? in envp { free(env) } }
115 |
116 | guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 | throw SpawnError.canNotCreatePosixSpawn
118 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:134:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
132 | threadPayload?.isCancelled = true
133 |
134 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
135 | pthread_cancel(threadId)
136 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:212:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
210 | threadPayloadRef.pointee = threadPayload
211 |
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
213 |
214 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:214:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
212 | pthread_create(&tid, nil, callback, threadPayloadRef)
213 |
214 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
215 | // Wait for the thread to be executed
216 | pthread_join(tid, nil)
[57/111] Compiling Git RemoteRenameTask.swift
[58/111] Compiling Git RemoteUrlChangeTask.swift
[59/111] Compiling Git RemoteUrlTask.swift
[60/111] Compiling Git RepositoryTask.swift
[61/111] Compiling Git GitResetOptions.swift
[62/111] Compiling Git ResetTask.swift
[63/111] Compiling Git GitSparseAddOptions.swift
[64/111] Compiling Git GitSparseSetOptions.swift
[65/111] Compiling Git SparseTask.swift
[66/111] Compiling Git GitStashApplyOptions.swift
[67/111] Compiling Git StashApplyTask.swift
[68/111] Compiling Git GitStashOptions.swift
[69/111] Compiling Git StashTask.swift
[70/111] Emitting module Git
[71/111] Compiling Git File.swift
[72/111] Compiling Git FileAnnotationRecord.swift
[73/111] Compiling Git FileCoder.swift
[74/111] Compiling Git FileStorage.swift
[75/111] Compiling Git GitFile.swift
[76/111] Compiling Git GitFileStorage.swift
[77/111] Compiling Git GitCredentialsProvider.swift
[78/111] Compiling Git GitFileStatus.swift
[79/111] Compiling Git GitFileStatusList.swift
[80/111] Compiling Git GitLogRecord.swift
[81/111] Compiling Git GitLogRecordList.swift
[82/111] Compiling Git GitMergeStatus.swift
[83/111] Compiling Git GitReference.swift
[84/111] Compiling Git GitReferenceList.swift
[85/111] Compiling Git GitReferenceName.swift
[86/111] Compiling Git GitRemote.swift
[87/111] Compiling Git GitRemoteList.swift
[88/111] Compiling Git GitRepository.swift
[89/111] Compiling Git GitRepository+Cherry.swift
[90/111] Compiling Git GitRepository+CherryPick.swift
[91/111] Compiling Git GitRepository+Files.swift
[92/111] Compiling Git GitRepository+Init.swift
[93/111] Compiling Git GitRepository+Log.swift
[94/111] Compiling Git GitRepository+Merge.swift
[95/111] Compiling Git GitRepository+Reference.swift
[96/111] Compiling Git GitRepository+Remotes.swift
[97/111] Compiling Git GitRepository+SparseCheckout.swift
[98/111] Compiling Git GitRepository+Status.swift
[99/111] Compiling Git FileManager+Utils.swift
[100/111] Compiling Git Formatter+Date.swift
[101/111] Compiling Git Array+Utils.swift
[102/111] Compiling Git CredentialsProvider.swift
[103/111] Compiling Git Repository.swift
[104/111] Compiling Git RepositoryDelegate.swift
[105/111] Compiling Git RepositoryError.swift
[106/111] Compiling Git RepositoryLogRecord.swift
[107/111] Compiling Git RepositoryReference.swift
[108/111] Compiling Git RepositoryReferenceName.swift
[109/111] Compiling Git RepositoryRemote.swift
[110/111] Compiling Git RepositoryStashRecord.swift
[111/111] Compiling Git RepositoryTagRecord.swift
BUILD FAILURE 6.1 linux