Build Information
Failed to build Git, reference 3.4.0 (618e8f
), with Swift 6.1 for Linux on 3 Jun 2025 22:12:19 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
267 |
268 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:268:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
267 |
268 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
269 | // Wait for the thread to be executed
270 | pthread_join(tid, nil)
[26/112] Compiling Git GitPushOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:69: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
67 | class Reference {
68 |
69 | 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
70 | static var mergeHead: String = "MERGE_HEAD"
71 |
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:70: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
68 |
69 | static var head: String = "HEAD"
70 | 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
71 |
72 | public required init(referenceName: String, direction: ComparisonDirection) {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:50: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
48 | final class ProcessSpawn {
49 |
50 | 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
51 |
52 | /// The arguments to be executed.
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142: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>')
140 | defer { for case let env? in envp { free(env) } }
141 |
142 | 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'
143 | throw SpawnError.canNotCreatePosixSpawn
144 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:147:26: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
145 |
146 | posix_spawn_file_actions_destroy(&childFDActions)
147 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
148 |
149 | processId = pid
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:158:27: warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
156 | }
157 |
158 | if childFDActions != nil {
| `- warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:160:30: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
158 | if childFDActions != nil {
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
161 | }
162 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:176:19: error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
176 | tid = nil
| `- error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
177 | }
178 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:173:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
171 | pipe.closePipe(.read)
172 |
173 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:235:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
233 |
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
237 |
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:236:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
237 |
238 | let bufferSize: size_t = ProcessSpawn.bufferSize
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:266:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
264 | threadPayloadRef.pointee = threadPayload
265 |
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
267 |
268 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:268:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
267 |
268 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
269 | // Wait for the thread to be executed
270 | pthread_join(tid, nil)
[27/112] Compiling Git PushTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:69: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
67 | class Reference {
68 |
69 | 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
70 | static var mergeHead: String = "MERGE_HEAD"
71 |
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:70: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
68 |
69 | static var head: String = "HEAD"
70 | 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
71 |
72 | public required init(referenceName: String, direction: ComparisonDirection) {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:50: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
48 | final class ProcessSpawn {
49 |
50 | 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
51 |
52 | /// The arguments to be executed.
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142: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>')
140 | defer { for case let env? in envp { free(env) } }
141 |
142 | 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'
143 | throw SpawnError.canNotCreatePosixSpawn
144 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:147:26: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
145 |
146 | posix_spawn_file_actions_destroy(&childFDActions)
147 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
148 |
149 | processId = pid
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:158:27: warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
156 | }
157 |
158 | if childFDActions != nil {
| `- warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:160:30: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
158 | if childFDActions != nil {
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
161 | }
162 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:176:19: error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
176 | tid = nil
| `- error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
177 | }
178 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:173:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
171 | pipe.closePipe(.read)
172 |
173 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:235:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
233 |
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
237 |
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:236:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
237 |
238 | let bufferSize: size_t = ProcessSpawn.bufferSize
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:266:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
264 | threadPayloadRef.pointee = threadPayload
265 |
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
267 |
268 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:268:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
267 |
268 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
269 | // Wait for the thread to be executed
270 | pthread_join(tid, nil)
[28/112] Compiling Git ReferencesTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:69: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
67 | class Reference {
68 |
69 | 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
70 | static var mergeHead: String = "MERGE_HEAD"
71 |
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:70: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
68 |
69 | static var head: String = "HEAD"
70 | 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
71 |
72 | public required init(referenceName: String, direction: ComparisonDirection) {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:50: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
48 | final class ProcessSpawn {
49 |
50 | 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
51 |
52 | /// The arguments to be executed.
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142: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>')
140 | defer { for case let env? in envp { free(env) } }
141 |
142 | 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'
143 | throw SpawnError.canNotCreatePosixSpawn
144 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:147:26: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
145 |
146 | posix_spawn_file_actions_destroy(&childFDActions)
147 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
148 |
149 | processId = pid
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:158:27: warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
156 | }
157 |
158 | if childFDActions != nil {
| `- warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:160:30: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
158 | if childFDActions != nil {
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
161 | }
162 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:176:19: error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
176 | tid = nil
| `- error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
177 | }
178 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:173:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
171 | pipe.closePipe(.read)
172 |
173 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:235:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
233 |
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
237 |
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:236:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
237 |
238 | let bufferSize: size_t = ProcessSpawn.bufferSize
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:266:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
264 | threadPayloadRef.pointee = threadPayload
265 |
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
267 |
268 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:268:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
267 |
268 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
269 | // Wait for the thread to be executed
270 | pthread_join(tid, nil)
[29/112] Compiling Git RemoteAddTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:69: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
67 | class Reference {
68 |
69 | 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
70 | static var mergeHead: String = "MERGE_HEAD"
71 |
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:70: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
68 |
69 | static var head: String = "HEAD"
70 | 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
71 |
72 | public required init(referenceName: String, direction: ComparisonDirection) {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:50: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
48 | final class ProcessSpawn {
49 |
50 | 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
51 |
52 | /// The arguments to be executed.
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142: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>')
140 | defer { for case let env? in envp { free(env) } }
141 |
142 | 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'
143 | throw SpawnError.canNotCreatePosixSpawn
144 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:147:26: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
145 |
146 | posix_spawn_file_actions_destroy(&childFDActions)
147 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
148 |
149 | processId = pid
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:158:27: warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
156 | }
157 |
158 | if childFDActions != nil {
| `- warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:160:30: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
158 | if childFDActions != nil {
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
161 | }
162 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:176:19: error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
176 | tid = nil
| `- error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
177 | }
178 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:173:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
171 | pipe.closePipe(.read)
172 |
173 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:235:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
233 |
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
237 |
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:236:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
237 |
238 | let bufferSize: size_t = ProcessSpawn.bufferSize
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:266:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
264 | threadPayloadRef.pointee = threadPayload
265 |
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
267 |
268 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:268:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
267 |
268 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
269 | // Wait for the thread to be executed
270 | pthread_join(tid, nil)
[30/112] Compiling Git RemoteListTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:69: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
67 | class Reference {
68 |
69 | 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
70 | static var mergeHead: String = "MERGE_HEAD"
71 |
/host/spi-builder-workspace/Sources/Classes/Tasks/Log/GitLogCompareOptions.swift:70: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
68 |
69 | static var head: String = "HEAD"
70 | 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
71 |
72 | public required init(referenceName: String, direction: ComparisonDirection) {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:50: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
48 | final class ProcessSpawn {
49 |
50 | 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
51 |
52 | /// The arguments to be executed.
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142: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>')
140 | defer { for case let env? in envp { free(env) } }
141 |
142 | 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'
143 | throw SpawnError.canNotCreatePosixSpawn
144 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:147:26: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
145 |
146 | posix_spawn_file_actions_destroy(&childFDActions)
147 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
148 |
149 | processId = pid
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:158:27: warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
156 | }
157 |
158 | if childFDActions != nil {
| `- warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:160:30: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
158 | if childFDActions != nil {
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
161 | }
162 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:176:19: error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
176 | tid = nil
| `- error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
177 | }
178 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:173:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
171 | pipe.closePipe(.read)
172 |
173 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:235:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
233 |
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
237 |
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:236:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
237 |
238 | let bufferSize: size_t = ProcessSpawn.bufferSize
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:266:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
264 | threadPayloadRef.pointee = threadPayload
265 |
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
267 |
268 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:268:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
267 |
268 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
269 | // Wait for the thread to be executed
270 | pthread_join(tid, nil)
[31/112] Compiling Git GitStashDropOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Status/GitStatusOptions.swift:14: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
12 |
13 | /// Returns a default options
14 | 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
15 |
16 | public init() {}
/host/spi-builder-workspace/Sources/Classes/Tasks/Tag/GitTagListOptions.swift:14: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
12 | /// A set of options that are used for the listing tags operation
13 | public struct GitTagListOptions: ArgumentConvertible {
14 | 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
15 |
16 | /// Creates options with the pattern match
[32/112] Compiling Git StashDropTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Status/GitStatusOptions.swift:14: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
12 |
13 | /// Returns a default options
14 | 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
15 |
16 | public init() {}
/host/spi-builder-workspace/Sources/Classes/Tasks/Tag/GitTagListOptions.swift:14: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
12 | /// A set of options that are used for the listing tags operation
13 | public struct GitTagListOptions: ArgumentConvertible {
14 | 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
15 |
16 | /// Creates options with the pattern match
[33/112] Compiling Git GitStashListOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Status/GitStatusOptions.swift:14: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
12 |
13 | /// Returns a default options
14 | 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
15 |
16 | public init() {}
/host/spi-builder-workspace/Sources/Classes/Tasks/Tag/GitTagListOptions.swift:14: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
12 | /// A set of options that are used for the listing tags operation
13 | public struct GitTagListOptions: ArgumentConvertible {
14 | 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
15 |
16 | /// Creates options with the pattern match
[34/112] Compiling Git StashListTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Status/GitStatusOptions.swift:14: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
12 |
13 | /// Returns a default options
14 | 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
15 |
16 | public init() {}
/host/spi-builder-workspace/Sources/Classes/Tasks/Tag/GitTagListOptions.swift:14: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
12 | /// A set of options that are used for the listing tags operation
13 | public struct GitTagListOptions: ArgumentConvertible {
14 | 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
15 |
16 | /// Creates options with the pattern match
[35/112] Compiling Git GitStatusOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Status/GitStatusOptions.swift:14: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
12 |
13 | /// Returns a default options
14 | 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
15 |
16 | public init() {}
/host/spi-builder-workspace/Sources/Classes/Tasks/Tag/GitTagListOptions.swift:14: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
12 | /// A set of options that are used for the listing tags operation
13 | public struct GitTagListOptions: ArgumentConvertible {
14 | 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
15 |
16 | /// Creates options with the pattern match
[36/112] Compiling Git StatusTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Status/GitStatusOptions.swift:14: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
12 |
13 | /// Returns a default options
14 | 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
15 |
16 | public init() {}
/host/spi-builder-workspace/Sources/Classes/Tasks/Tag/GitTagListOptions.swift:14: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
12 | /// A set of options that are used for the listing tags operation
13 | public struct GitTagListOptions: ArgumentConvertible {
14 | 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
15 |
16 | /// Creates options with the pattern match
[37/112] Compiling Git GitTagListOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Status/GitStatusOptions.swift:14: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
12 |
13 | /// Returns a default options
14 | 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
15 |
16 | public init() {}
/host/spi-builder-workspace/Sources/Classes/Tasks/Tag/GitTagListOptions.swift:14: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
12 | /// A set of options that are used for the listing tags operation
13 | public struct GitTagListOptions: ArgumentConvertible {
14 | 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
15 |
16 | /// Creates options with the pattern match
[38/112] Compiling Git GitTagOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Status/GitStatusOptions.swift:14: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
12 |
13 | /// Returns a default options
14 | 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
15 |
16 | public init() {}
/host/spi-builder-workspace/Sources/Classes/Tasks/Tag/GitTagListOptions.swift:14: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
12 | /// A set of options that are used for the listing tags operation
13 | public struct GitTagListOptions: ArgumentConvertible {
14 | 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
15 |
16 | /// Creates options with the pattern match
[39/112] Compiling Git TagTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Status/GitStatusOptions.swift:14: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
12 |
13 | /// Returns a default options
14 | 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
15 |
16 | public init() {}
/host/spi-builder-workspace/Sources/Classes/Tasks/Tag/GitTagListOptions.swift:14: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
12 | /// A set of options that are used for the listing tags operation
13 | public struct GitTagListOptions: ArgumentConvertible {
14 | 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
15 |
16 | /// Creates options with the pattern match
[40/112] Compiling Git GitFormatDecoder.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Status/GitStatusOptions.swift:14: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
12 |
13 | /// Returns a default options
14 | 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
15 |
16 | public init() {}
/host/spi-builder-workspace/Sources/Classes/Tasks/Tag/GitTagListOptions.swift:14: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
12 | /// A set of options that are used for the listing tags operation
13 | public struct GitTagListOptions: ArgumentConvertible {
14 | 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
15 |
16 | /// Creates options with the pattern match
[41/112] Compiling Git GitFormatEncoder.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Status/GitStatusOptions.swift:14: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
12 |
13 | /// Returns a default options
14 | 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
15 |
16 | public init() {}
/host/spi-builder-workspace/Sources/Classes/Tasks/Tag/GitTagListOptions.swift:14: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
12 | /// A set of options that are used for the listing tags operation
13 | public struct GitTagListOptions: ArgumentConvertible {
14 | 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
15 |
16 | /// Creates options with the pattern match
[42/112] Compiling Git GitOutputParser.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Status/GitStatusOptions.swift:14: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
12 |
13 | /// Returns a default options
14 | 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
15 |
16 | public init() {}
/host/spi-builder-workspace/Sources/Classes/Tasks/Tag/GitTagListOptions.swift:14: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
12 | /// A set of options that are used for the listing tags operation
13 | public struct GitTagListOptions: ArgumentConvertible {
14 | 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
15 |
16 | /// Creates options with the pattern match
[43/112] Compiling Git IndexIterator.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Status/GitStatusOptions.swift:14: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
12 |
13 | /// Returns a default options
14 | 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
15 |
16 | public init() {}
/host/spi-builder-workspace/Sources/Classes/Tasks/Tag/GitTagListOptions.swift:14: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
12 | /// A set of options that are used for the listing tags operation
13 | public struct GitTagListOptions: ArgumentConvertible {
14 | 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
15 |
16 | /// Creates options with the pattern match
[44/112] Compiling Git GitRepository+Tag.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Add/GitAddOptions.swift:14: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
12 |
13 | /// Returns a default options
14 | public static var `default` = GitAddOptions()
| |- 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
15 |
16 | public init() {}
[45/112] Compiling Git GitRepositoryErrorFormatter.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Add/GitAddOptions.swift:14: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
12 |
13 | /// Returns a default options
14 | public static var `default` = GitAddOptions()
| |- 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
15 |
16 | public init() {}
[46/112] Compiling Git GitStashRecord.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Add/GitAddOptions.swift:14: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
12 |
13 | /// Returns a default options
14 | public static var `default` = GitAddOptions()
| |- 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
15 |
16 | public init() {}
[47/112] Compiling Git GitStashRecordList.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Add/GitAddOptions.swift:14: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
12 |
13 | /// Returns a default options
14 | public static var `default` = GitAddOptions()
| |- 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
15 |
16 | public init() {}
[48/112] Compiling Git GitTagRecord.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Add/GitAddOptions.swift:14: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
12 |
13 | /// Returns a default options
14 | public static var `default` = GitAddOptions()
| |- 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
15 |
16 | public init() {}
[49/112] Compiling Git GitTagRecordList.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Add/GitAddOptions.swift:14: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
12 |
13 | /// Returns a default options
14 | public static var `default` = GitAddOptions()
| |- 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
15 |
16 | public init() {}
[50/112] Compiling Git AddTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Add/GitAddOptions.swift:14: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
12 |
13 | /// Returns a default options
14 | public static var `default` = GitAddOptions()
| |- 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
15 |
16 | public init() {}
[51/112] Compiling Git GitAddOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Add/GitAddOptions.swift:14: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
12 |
13 | /// Returns a default options
14 | public static var `default` = GitAddOptions()
| |- 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
15 |
16 | public init() {}
[52/112] Compiling Git ArgumentConvertible.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Add/GitAddOptions.swift:14: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
12 |
13 | /// Returns a default options
14 | public static var `default` = GitAddOptions()
| |- 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
15 |
16 | public init() {}
[53/112] Compiling Git BranchOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Add/GitAddOptions.swift:14: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
12 |
13 | /// Returns a default options
14 | public static var `default` = GitAddOptions()
| |- 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
15 |
16 | public init() {}
[54/112] Compiling Git BranchTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Add/GitAddOptions.swift:14: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
12 |
13 | /// Returns a default options
14 | public static var `default` = GitAddOptions()
| |- 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
15 |
16 | public init() {}
[55/112] Compiling Git CheckReferenceTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Add/GitAddOptions.swift:14: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
12 |
13 | /// Returns a default options
14 | public static var `default` = GitAddOptions()
| |- 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
15 |
16 | public init() {}
[56/112] Compiling Git CheckoutOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Add/GitAddOptions.swift:14: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
12 |
13 | /// Returns a default options
14 | public static var `default` = GitAddOptions()
| |- 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
15 |
16 | public init() {}
[57/112] Compiling Git CheckoutTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/Add/GitAddOptions.swift:14: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
12 |
13 | /// Returns a default options
14 | public static var `default` = GitAddOptions()
| |- 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
15 |
16 | public init() {}
[58/112] Compiling Git CherryTask.swift
[59/112] Compiling Git GitCherryOptions.swift
[60/112] Compiling Git GitCherryResult.swift
[61/112] Compiling Git CherryPickOptions.swift
[62/112] Compiling Git CherryPickTask.swift
[63/112] Compiling Git CleanOptions.swift
[64/112] Compiling Git CleanTask.swift
[65/112] Compiling Git CloneOptions.swift
[66/112] Compiling Git CloneTask.swift
[67/112] Compiling Git CommitOptions.swift
[68/112] Compiling Git CommitTask.swift
[69/112] Compiling Git FetchTask.swift
[70/112] Compiling Git GitFetchOptions.swift
[71/112] Compiling Git InitOptions.swift
[72/112] Compiling Git RemoteRenameTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:30: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
28 |
29 | /// A path to git executable file on the disk
30 | 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
31 |
32 | // MARK: - Private
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:99:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
97 |
98 | DispatchQueue.main.async {
99 | 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
100 | }
101 | })
[73/112] Compiling Git RemoteUrlChangeTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:30: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
28 |
29 | /// A path to git executable file on the disk
30 | 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
31 |
32 | // MARK: - Private
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:99:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
97 |
98 | DispatchQueue.main.async {
99 | 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
100 | }
101 | })
[74/112] Compiling Git RemoteUrlTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:30: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
28 |
29 | /// A path to git executable file on the disk
30 | 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
31 |
32 | // MARK: - Private
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:99:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
97 |
98 | DispatchQueue.main.async {
99 | 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
100 | }
101 | })
[75/112] Compiling Git RepositoryTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:30: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
28 |
29 | /// A path to git executable file on the disk
30 | 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
31 |
32 | // MARK: - Private
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:99:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
97 |
98 | DispatchQueue.main.async {
99 | 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
100 | }
101 | })
[76/112] Compiling Git GitResetOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:30: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
28 |
29 | /// A path to git executable file on the disk
30 | 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
31 |
32 | // MARK: - Private
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:99:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
97 |
98 | DispatchQueue.main.async {
99 | 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
100 | }
101 | })
[77/112] Compiling Git ResetTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:30: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
28 |
29 | /// A path to git executable file on the disk
30 | 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
31 |
32 | // MARK: - Private
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:99:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
97 |
98 | DispatchQueue.main.async {
99 | 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
100 | }
101 | })
[78/112] Compiling Git GitSparseAddOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:30: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
28 |
29 | /// A path to git executable file on the disk
30 | 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
31 |
32 | // MARK: - Private
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:99:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
97 |
98 | DispatchQueue.main.async {
99 | 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
100 | }
101 | })
[79/112] Compiling Git GitSparseSetOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:30: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
28 |
29 | /// A path to git executable file on the disk
30 | 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
31 |
32 | // MARK: - Private
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:99:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
97 |
98 | DispatchQueue.main.async {
99 | 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
100 | }
101 | })
[80/112] Compiling Git SparseTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:30: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
28 |
29 | /// A path to git executable file on the disk
30 | 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
31 |
32 | // MARK: - Private
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:99:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
97 |
98 | DispatchQueue.main.async {
99 | 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
100 | }
101 | })
[81/112] Compiling Git GitStashApplyOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:30: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
28 |
29 | /// A path to git executable file on the disk
30 | 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
31 |
32 | // MARK: - Private
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:99:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
97 |
98 | DispatchQueue.main.async {
99 | 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
100 | }
101 | })
[82/112] Compiling Git StashApplyTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:30: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
28 |
29 | /// A path to git executable file on the disk
30 | 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
31 |
32 | // MARK: - Private
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:99:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
97 |
98 | DispatchQueue.main.async {
99 | 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
100 | }
101 | })
[83/112] Compiling Git GitStashOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:30: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
28 |
29 | /// A path to git executable file on the disk
30 | 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
31 |
32 | // MARK: - Private
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:99:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
97 |
98 | DispatchQueue.main.async {
99 | 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
100 | }
101 | })
[84/112] Compiling Git StashTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:30: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
28 |
29 | /// A path to git executable file on the disk
30 | 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
31 |
32 | // MARK: - Private
/host/spi-builder-workspace/Sources/Classes/Tasks/RepositoryTask.swift:99:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
97 |
98 | DispatchQueue.main.async {
99 | 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
100 | }
101 | })
[85/112] Compiling Git File.swift
/host/spi-builder-workspace/Sources/Classes/FileManagement/File.swift:16: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
14 |
15 | /// Returns a default options to apply while processing a file
16 | public static var `default` = FileOptions()
| |- 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
17 |
18 | /// Indicates whether line annotations should be read.
[86/112] Compiling Git FileAnnotationRecord.swift
/host/spi-builder-workspace/Sources/Classes/FileManagement/File.swift:16: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
14 |
15 | /// Returns a default options to apply while processing a file
16 | public static var `default` = FileOptions()
| |- 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
17 |
18 | /// Indicates whether line annotations should be read.
[87/112] Compiling Git FileCoder.swift
/host/spi-builder-workspace/Sources/Classes/FileManagement/File.swift:16: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
14 |
15 | /// Returns a default options to apply while processing a file
16 | public static var `default` = FileOptions()
| |- 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
17 |
18 | /// Indicates whether line annotations should be read.
[88/112] Compiling Git FileStorage.swift
/host/spi-builder-workspace/Sources/Classes/FileManagement/File.swift:16: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
14 |
15 | /// Returns a default options to apply while processing a file
16 | public static var `default` = FileOptions()
| |- 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
17 |
18 | /// Indicates whether line annotations should be read.
[89/112] Compiling Git GitFile.swift
/host/spi-builder-workspace/Sources/Classes/FileManagement/File.swift:16: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
14 |
15 | /// Returns a default options to apply while processing a file
16 | public static var `default` = FileOptions()
| |- 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
17 |
18 | /// Indicates whether line annotations should be read.
[90/112] Compiling Git GitFileStorage.swift
/host/spi-builder-workspace/Sources/Classes/FileManagement/File.swift:16: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
14 |
15 | /// Returns a default options to apply while processing a file
16 | public static var `default` = FileOptions()
| |- 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
17 |
18 | /// Indicates whether line annotations should be read.
[91/112] Compiling Git GitCredentialsProvider.swift
/host/spi-builder-workspace/Sources/Classes/FileManagement/File.swift:16: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
14 |
15 | /// Returns a default options to apply while processing a file
16 | public static var `default` = FileOptions()
| |- 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
17 |
18 | /// Indicates whether line annotations should be read.
[92/112] Compiling Git GitFileStatus.swift
/host/spi-builder-workspace/Sources/Classes/FileManagement/File.swift:16: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
14 |
15 | /// Returns a default options to apply while processing a file
16 | public static var `default` = FileOptions()
| |- 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
17 |
18 | /// Indicates whether line annotations should be read.
[93/112] Compiling Git GitFileStatusList.swift
/host/spi-builder-workspace/Sources/Classes/FileManagement/File.swift:16: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
14 |
15 | /// Returns a default options to apply while processing a file
16 | public static var `default` = FileOptions()
| |- 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
17 |
18 | /// Indicates whether line annotations should be read.
[94/112] Compiling Git GitLogRecord.swift
/host/spi-builder-workspace/Sources/Classes/FileManagement/File.swift:16: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
14 |
15 | /// Returns a default options to apply while processing a file
16 | public static var `default` = FileOptions()
| |- 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
17 |
18 | /// Indicates whether line annotations should be read.
[95/112] Compiling Git GitLogRecordList.swift
/host/spi-builder-workspace/Sources/Classes/FileManagement/File.swift:16: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
14 |
15 | /// Returns a default options to apply while processing a file
16 | public static var `default` = FileOptions()
| |- 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
17 |
18 | /// Indicates whether line annotations should be read.
[96/112] Compiling Git GitMergeStatus.swift
/host/spi-builder-workspace/Sources/Classes/FileManagement/File.swift:16: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
14 |
15 | /// Returns a default options to apply while processing a file
16 | public static var `default` = FileOptions()
| |- 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
17 |
18 | /// Indicates whether line annotations should be read.
[97/112] Compiling Git GitReference.swift
/host/spi-builder-workspace/Sources/Classes/FileManagement/File.swift:16: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
14 |
15 | /// Returns a default options to apply while processing a file
16 | public static var `default` = FileOptions()
| |- 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
17 |
18 | /// Indicates whether line annotations should be read.
[98/112] Compiling Git GitReferenceList.swift
/host/spi-builder-workspace/Sources/Classes/FileManagement/File.swift:16: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
14 |
15 | /// Returns a default options to apply while processing a file
16 | public static var `default` = FileOptions()
| |- 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
17 |
18 | /// Indicates whether line annotations should be read.
[99/112] Compiling Git GitReferenceName.swift
[100/112] Compiling Git GitRemote.swift
[101/112] Compiling Git GitRemoteList.swift
[102/112] Compiling Git GitRepository.swift
[103/112] Compiling Git GitRepository+Cherry.swift
[104/112] Compiling Git GitRepository+CherryPick.swift
[105/112] Compiling Git GitRepository+Files.swift
[106/112] Compiling Git GitRepository+Init.swift
[107/112] Compiling Git GitRepository+Log.swift
[108/112] Compiling Git GitRepository+Merge.swift
[109/112] Compiling Git GitRepository+Reference.swift
[110/112] Compiling Git GitRepository+Remotes.swift
[111/112] Compiling Git GitRepository+SparseCheckout.swift
[112/112] Compiling Git GitRepository+Status.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:2b296aa7156f49efc57252cdf9ed4bb21d0f92fc98d88800e255491ba2db3116
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] Emitting module Git
[3/111] Compiling Git RemoteRenameTask.swift
[4/111] Compiling Git RemoteUrlChangeTask.swift
[5/111] Compiling Git RemoteUrlTask.swift
[6/111] Compiling Git RepositoryTask.swift
[7/111] Compiling Git GitResetOptions.swift
[8/111] Compiling Git ResetTask.swift
[9/111] Compiling Git GitSparseAddOptions.swift
[10/111] Compiling Git GitSparseSetOptions.swift
[11/111] Compiling Git SparseTask.swift
[12/111] Compiling Git GitStashApplyOptions.swift
[13/111] Compiling Git StashApplyTask.swift
[14/111] Compiling Git GitStashOptions.swift
[15/111] Compiling Git StashTask.swift
[16/111] Compiling Git GitRepository+Tag.swift
[17/111] Compiling Git GitRepositoryErrorFormatter.swift
[18/111] Compiling Git GitStashRecord.swift
[19/111] Compiling Git GitStashRecordList.swift
[20/111] Compiling Git GitTagRecord.swift
[21/111] Compiling Git GitTagRecordList.swift
[22/111] Compiling Git AddTask.swift
[23/111] Compiling Git GitAddOptions.swift
[24/111] Compiling Git ArgumentConvertible.swift
[25/111] Compiling Git BranchOptions.swift
[26/111] Compiling Git BranchTask.swift
[27/111] Compiling Git CheckReferenceTask.swift
[28/111] Compiling Git CheckoutOptions.swift
[29/111] Compiling Git CheckoutTask.swift
[30/111] Compiling Git CherryTask.swift
[31/111] Compiling Git GitCherryOptions.swift
[32/111] Compiling Git GitCherryResult.swift
[33/111] Compiling Git CherryPickOptions.swift
[34/111] Compiling Git CherryPickTask.swift
[35/111] Compiling Git CleanOptions.swift
[36/111] Compiling Git CleanTask.swift
[37/111] Compiling Git CloneOptions.swift
[38/111] Compiling Git CloneTask.swift
[39/111] Compiling Git CommitOptions.swift
[40/111] Compiling Git CommitTask.swift
[41/111] Compiling Git FetchTask.swift
[42/111] Compiling Git GitFetchOptions.swift
[43/111] Compiling Git InitOptions.swift
[44/111] Compiling Git InitTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142: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>')
140 | defer { for case let env? in envp { free(env) } }
141 |
142 | 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'
143 | throw SpawnError.canNotCreatePosixSpawn
144 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:147:26: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
145 |
146 | posix_spawn_file_actions_destroy(&childFDActions)
147 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
148 |
149 | processId = pid
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:158:27: warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
156 | }
157 |
158 | if childFDActions != nil {
| `- warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:160:30: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
158 | if childFDActions != nil {
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
161 | }
162 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:176:19: error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
176 | tid = nil
| `- error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
177 | }
178 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:173:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
171 | pipe.closePipe(.read)
172 |
173 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:235:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
233 |
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
237 |
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:236:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
237 |
238 | let bufferSize: size_t = ProcessSpawn.bufferSize
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:266:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
264 | threadPayloadRef.pointee = threadPayload
265 |
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
267 |
268 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:268:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
267 |
268 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
269 | // Wait for the thread to be executed
270 | pthread_join(tid, nil)
[45/111] Compiling Git GitLogCompareOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142: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>')
140 | defer { for case let env? in envp { free(env) } }
141 |
142 | 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'
143 | throw SpawnError.canNotCreatePosixSpawn
144 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:147:26: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
145 |
146 | posix_spawn_file_actions_destroy(&childFDActions)
147 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
148 |
149 | processId = pid
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:158:27: warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
156 | }
157 |
158 | if childFDActions != nil {
| `- warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:160:30: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
158 | if childFDActions != nil {
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
161 | }
162 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:176:19: error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
176 | tid = nil
| `- error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
177 | }
178 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:173:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
171 | pipe.closePipe(.read)
172 |
173 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:235:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
233 |
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
237 |
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:236:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
237 |
238 | let bufferSize: size_t = ProcessSpawn.bufferSize
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:266:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
264 | threadPayloadRef.pointee = threadPayload
265 |
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
267 |
268 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:268:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
267 |
268 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
269 | // Wait for the thread to be executed
270 | pthread_join(tid, nil)
[46/111] Compiling Git GitLogOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142: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>')
140 | defer { for case let env? in envp { free(env) } }
141 |
142 | 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'
143 | throw SpawnError.canNotCreatePosixSpawn
144 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:147:26: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
145 |
146 | posix_spawn_file_actions_destroy(&childFDActions)
147 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
148 |
149 | processId = pid
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:158:27: warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
156 | }
157 |
158 | if childFDActions != nil {
| `- warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:160:30: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
158 | if childFDActions != nil {
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
161 | }
162 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:176:19: error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
176 | tid = nil
| `- error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
177 | }
178 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:173:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
171 | pipe.closePipe(.read)
172 |
173 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:235:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
233 |
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
237 |
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:236:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
237 |
238 | let bufferSize: size_t = ProcessSpawn.bufferSize
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:266:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
264 | threadPayloadRef.pointee = threadPayload
265 |
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
267 |
268 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:268:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
267 |
268 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
269 | // Wait for the thread to be executed
270 | pthread_join(tid, nil)
[47/111] Compiling Git LogTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142: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>')
140 | defer { for case let env? in envp { free(env) } }
141 |
142 | 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'
143 | throw SpawnError.canNotCreatePosixSpawn
144 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:147:26: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
145 |
146 | posix_spawn_file_actions_destroy(&childFDActions)
147 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
148 |
149 | processId = pid
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:158:27: warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
156 | }
157 |
158 | if childFDActions != nil {
| `- warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:160:30: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
158 | if childFDActions != nil {
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
161 | }
162 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:176:19: error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
176 | tid = nil
| `- error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
177 | }
178 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:173:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
171 | pipe.closePipe(.read)
172 |
173 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:235:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
233 |
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
237 |
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:236:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
237 |
238 | let bufferSize: size_t = ProcessSpawn.bufferSize
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:266:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
264 | threadPayloadRef.pointee = threadPayload
265 |
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
267 |
268 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:268:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
267 |
268 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
269 | // Wait for the thread to be executed
270 | pthread_join(tid, nil)
[48/111] Compiling Git MergeOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142: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>')
140 | defer { for case let env? in envp { free(env) } }
141 |
142 | 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'
143 | throw SpawnError.canNotCreatePosixSpawn
144 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:147:26: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
145 |
146 | posix_spawn_file_actions_destroy(&childFDActions)
147 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
148 |
149 | processId = pid
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:158:27: warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
156 | }
157 |
158 | if childFDActions != nil {
| `- warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:160:30: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
158 | if childFDActions != nil {
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
161 | }
162 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:176:19: error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
176 | tid = nil
| `- error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
177 | }
178 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:173:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
171 | pipe.closePipe(.read)
172 |
173 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:235:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
233 |
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
237 |
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:236:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
237 |
238 | let bufferSize: size_t = ProcessSpawn.bufferSize
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:266:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
264 | threadPayloadRef.pointee = threadPayload
265 |
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
267 |
268 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:268:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
267 |
268 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
269 | // Wait for the thread to be executed
270 | pthread_join(tid, nil)
[49/111] Compiling Git MergeTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142: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>')
140 | defer { for case let env? in envp { free(env) } }
141 |
142 | 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'
143 | throw SpawnError.canNotCreatePosixSpawn
144 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:147:26: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
145 |
146 | posix_spawn_file_actions_destroy(&childFDActions)
147 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
148 |
149 | processId = pid
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:158:27: warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
156 | }
157 |
158 | if childFDActions != nil {
| `- warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:160:30: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
158 | if childFDActions != nil {
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
161 | }
162 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:176:19: error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
176 | tid = nil
| `- error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
177 | }
178 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:173:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
171 | pipe.closePipe(.read)
172 |
173 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:235:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
233 |
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
237 |
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:236:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
237 |
238 | let bufferSize: size_t = ProcessSpawn.bufferSize
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:266:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
264 | threadPayloadRef.pointee = threadPayload
265 |
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
267 |
268 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:268:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
267 |
268 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
269 | // Wait for the thread to be executed
270 | pthread_join(tid, nil)
[50/111] Compiling Git ProcessSpawn.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142: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>')
140 | defer { for case let env? in envp { free(env) } }
141 |
142 | 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'
143 | throw SpawnError.canNotCreatePosixSpawn
144 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:147:26: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
145 |
146 | posix_spawn_file_actions_destroy(&childFDActions)
147 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
148 |
149 | processId = pid
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:158:27: warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
156 | }
157 |
158 | if childFDActions != nil {
| `- warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:160:30: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
158 | if childFDActions != nil {
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
161 | }
162 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:176:19: error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
176 | tid = nil
| `- error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
177 | }
178 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:173:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
171 | pipe.closePipe(.read)
172 |
173 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:235:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
233 |
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
237 |
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:236:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
237 |
238 | let bufferSize: size_t = ProcessSpawn.bufferSize
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:266:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
264 | threadPayloadRef.pointee = threadPayload
265 |
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
267 |
268 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:268:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
267 |
268 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
269 | // Wait for the thread to be executed
270 | pthread_join(tid, nil)
[51/111] Compiling Git GitPullOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142: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>')
140 | defer { for case let env? in envp { free(env) } }
141 |
142 | 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'
143 | throw SpawnError.canNotCreatePosixSpawn
144 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:147:26: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
145 |
146 | posix_spawn_file_actions_destroy(&childFDActions)
147 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
148 |
149 | processId = pid
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:158:27: warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
156 | }
157 |
158 | if childFDActions != nil {
| `- warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:160:30: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
158 | if childFDActions != nil {
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
161 | }
162 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:176:19: error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
176 | tid = nil
| `- error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
177 | }
178 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:173:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
171 | pipe.closePipe(.read)
172 |
173 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:235:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
233 |
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
237 |
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:236:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
237 |
238 | let bufferSize: size_t = ProcessSpawn.bufferSize
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:266:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
264 | threadPayloadRef.pointee = threadPayload
265 |
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
267 |
268 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:268:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
267 |
268 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
269 | // Wait for the thread to be executed
270 | pthread_join(tid, nil)
[52/111] Compiling Git PullTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142: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>')
140 | defer { for case let env? in envp { free(env) } }
141 |
142 | 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'
143 | throw SpawnError.canNotCreatePosixSpawn
144 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:147:26: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
145 |
146 | posix_spawn_file_actions_destroy(&childFDActions)
147 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
148 |
149 | processId = pid
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:158:27: warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
156 | }
157 |
158 | if childFDActions != nil {
| `- warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:160:30: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
158 | if childFDActions != nil {
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
161 | }
162 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:176:19: error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
176 | tid = nil
| `- error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
177 | }
178 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:173:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
171 | pipe.closePipe(.read)
172 |
173 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:235:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
233 |
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
237 |
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:236:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
237 |
238 | let bufferSize: size_t = ProcessSpawn.bufferSize
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:266:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
264 | threadPayloadRef.pointee = threadPayload
265 |
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
267 |
268 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:268:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
267 |
268 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
269 | // Wait for the thread to be executed
270 | pthread_join(tid, nil)
[53/111] Compiling Git GitPushOptions.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142: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>')
140 | defer { for case let env? in envp { free(env) } }
141 |
142 | 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'
143 | throw SpawnError.canNotCreatePosixSpawn
144 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:147:26: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
145 |
146 | posix_spawn_file_actions_destroy(&childFDActions)
147 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
148 |
149 | processId = pid
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:158:27: warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
156 | }
157 |
158 | if childFDActions != nil {
| `- warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:160:30: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
158 | if childFDActions != nil {
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
161 | }
162 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:176:19: error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
176 | tid = nil
| `- error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
177 | }
178 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:173:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
171 | pipe.closePipe(.read)
172 |
173 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:235:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
233 |
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
237 |
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:236:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
237 |
238 | let bufferSize: size_t = ProcessSpawn.bufferSize
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:266:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
264 | threadPayloadRef.pointee = threadPayload
265 |
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
267 |
268 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:268:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
267 |
268 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
269 | // Wait for the thread to be executed
270 | pthread_join(tid, nil)
[54/111] Compiling Git PushTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142: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>')
140 | defer { for case let env? in envp { free(env) } }
141 |
142 | 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'
143 | throw SpawnError.canNotCreatePosixSpawn
144 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:147:26: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
145 |
146 | posix_spawn_file_actions_destroy(&childFDActions)
147 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
148 |
149 | processId = pid
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:158:27: warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
156 | }
157 |
158 | if childFDActions != nil {
| `- warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:160:30: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
158 | if childFDActions != nil {
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
161 | }
162 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:176:19: error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
176 | tid = nil
| `- error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
177 | }
178 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:173:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
171 | pipe.closePipe(.read)
172 |
173 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:235:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
233 |
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
237 |
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:236:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
237 |
238 | let bufferSize: size_t = ProcessSpawn.bufferSize
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:266:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
264 | threadPayloadRef.pointee = threadPayload
265 |
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
267 |
268 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:268:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
267 |
268 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
269 | // Wait for the thread to be executed
270 | pthread_join(tid, nil)
[55/111] Compiling Git ReferencesTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142: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>')
140 | defer { for case let env? in envp { free(env) } }
141 |
142 | 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'
143 | throw SpawnError.canNotCreatePosixSpawn
144 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:147:26: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
145 |
146 | posix_spawn_file_actions_destroy(&childFDActions)
147 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
148 |
149 | processId = pid
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:158:27: warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
156 | }
157 |
158 | if childFDActions != nil {
| `- warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:160:30: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
158 | if childFDActions != nil {
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
161 | }
162 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:176:19: error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
176 | tid = nil
| `- error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
177 | }
178 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:173:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
171 | pipe.closePipe(.read)
172 |
173 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:235:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
233 |
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
237 |
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:236:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
237 |
238 | let bufferSize: size_t = ProcessSpawn.bufferSize
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:266:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
264 | threadPayloadRef.pointee = threadPayload
265 |
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
267 |
268 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:268:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
267 |
268 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
269 | // Wait for the thread to be executed
270 | pthread_join(tid, nil)
[56/111] Compiling Git RemoteAddTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142: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>')
140 | defer { for case let env? in envp { free(env) } }
141 |
142 | 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'
143 | throw SpawnError.canNotCreatePosixSpawn
144 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:147:26: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
145 |
146 | posix_spawn_file_actions_destroy(&childFDActions)
147 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
148 |
149 | processId = pid
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:158:27: warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
156 | }
157 |
158 | if childFDActions != nil {
| `- warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:160:30: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
158 | if childFDActions != nil {
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
161 | }
162 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:176:19: error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
176 | tid = nil
| `- error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
177 | }
178 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:173:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
171 | pipe.closePipe(.read)
172 |
173 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:235:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
233 |
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
237 |
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:236:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
237 |
238 | let bufferSize: size_t = ProcessSpawn.bufferSize
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:266:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
264 | threadPayloadRef.pointee = threadPayload
265 |
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
267 |
268 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:268:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
267 |
268 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
269 | // Wait for the thread to be executed
270 | pthread_join(tid, nil)
[57/111] Compiling Git RemoteListTask.swift
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142: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>')
140 | defer { for case let env? in envp { free(env) } }
141 |
142 | 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'
143 | throw SpawnError.canNotCreatePosixSpawn
144 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:147:26: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
145 |
146 | posix_spawn_file_actions_destroy(&childFDActions)
147 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
148 |
149 | processId = pid
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:158:27: warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
156 | }
157 |
158 | if childFDActions != nil {
| `- warning: comparing non-optional value of type 'posix_spawn_file_actions_t' to 'nil' always returns true
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:160:30: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
158 | if childFDActions != nil {
159 | posix_spawn_file_actions_destroy(&childFDActions)
160 | childFDActions = nil
| `- error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
161 | }
162 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:176:19: error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
176 | tid = nil
| `- error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
177 | }
178 | }
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:173:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
171 | pipe.closePipe(.read)
172 |
173 | if let threadId = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
174 | pthread_cancel(threadId)
175 | pthread_join(threadId, nil)
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:235:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
233 |
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
237 |
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:236:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
234 | // Set up cancellation
235 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
236 | pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
237 |
238 | let bufferSize: size_t = ProcessSpawn.bufferSize
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:266:35: error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
264 | threadPayloadRef.pointee = threadPayload
265 |
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
| `- error: cannot convert value of type '(UnsafeMutableRawPointer) -> UnsafeMutableRawPointer?' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?'
267 |
268 | if let tid = tid {
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:268:12: error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
266 | pthread_create(&tid, nil, callback, threadPayloadRef)
267 |
268 | if let tid = tid {
| `- error: initializer for conditional binding must have Optional type, not 'pthread_t' (aka 'UInt')
269 | // Wait for the thread to be executed
270 | pthread_join(tid, nil)
[58/111] Compiling Git GitStashDropOptions.swift
[59/111] Compiling Git StashDropTask.swift
[60/111] Compiling Git GitStashListOptions.swift
[61/111] Compiling Git StashListTask.swift
[62/111] Compiling Git GitStatusOptions.swift
[63/111] Compiling Git StatusTask.swift
[64/111] Compiling Git GitTagListOptions.swift
[65/111] Compiling Git GitTagOptions.swift
[66/111] Compiling Git TagTask.swift
[67/111] Compiling Git GitFormatDecoder.swift
[68/111] Compiling Git GitFormatEncoder.swift
[69/111] Compiling Git GitOutputParser.swift
[70/111] Compiling Git IndexIterator.swift
[71/111] Compiling Git FileManager+Utils.swift
[72/111] Compiling Git Formatter+Date.swift
[73/111] Compiling Git Array+Utils.swift
[74/111] Compiling Git CredentialsProvider.swift
[75/111] Compiling Git Repository.swift
[76/111] Compiling Git RepositoryDelegate.swift
[77/111] Compiling Git RepositoryError.swift
[78/111] Compiling Git RepositoryLogRecord.swift
[79/111] Compiling Git RepositoryReference.swift
[80/111] Compiling Git RepositoryReferenceName.swift
[81/111] Compiling Git RepositoryRemote.swift
[82/111] Compiling Git RepositoryStashRecord.swift
[83/111] Compiling Git RepositoryTagRecord.swift
[84/111] Compiling Git File.swift
[85/111] Compiling Git FileAnnotationRecord.swift
[86/111] Compiling Git FileCoder.swift
[87/111] Compiling Git FileStorage.swift
[88/111] Compiling Git GitFile.swift
[89/111] Compiling Git GitFileStorage.swift
[90/111] Compiling Git GitCredentialsProvider.swift
[91/111] Compiling Git GitFileStatus.swift
[92/111] Compiling Git GitFileStatusList.swift
[93/111] Compiling Git GitLogRecord.swift
[94/111] Compiling Git GitLogRecordList.swift
[95/111] Compiling Git GitMergeStatus.swift
[96/111] Compiling Git GitReference.swift
[97/111] Compiling Git GitReferenceList.swift
[98/111] Compiling Git GitReferenceName.swift
[99/111] Compiling Git GitRemote.swift
[100/111] Compiling Git GitRemoteList.swift
[101/111] Compiling Git GitRepository.swift
[102/111] Compiling Git GitRepository+Cherry.swift
[103/111] Compiling Git GitRepository+CherryPick.swift
[104/111] Compiling Git GitRepository+Files.swift
[105/111] Compiling Git GitRepository+Init.swift
[106/111] Compiling Git GitRepository+Log.swift
[107/111] Compiling Git GitRepository+Merge.swift
[108/111] Compiling Git GitRepository+Reference.swift
[109/111] Compiling Git GitRepository+Remotes.swift
[110/111] Compiling Git GitRepository+SparseCheckout.swift
[111/111] Compiling Git GitRepository+Status.swift
BUILD FAILURE 6.1 linux