Build Information
Failed to build Git, reference 3.4.0 (618e8f
), with Swift 5.9 for Linux on 3 Jun 2025 22:12:41 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/way-to-code/git-macos.git
Reference: 3.4.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/way-to-code/git-macos
* tag 3.4.0 -> FETCH_HEAD
HEAD is now at 618e8f3 Better cancellation of process
Cloned https://github.com/way-to-code/git-macos.git
Revision (git rev-parse @):
618e8f3ac4969df13f72c45b7be350a1c456107b
SUCCESS checkout https://github.com/way-to-code/git-macos.git at 3.4.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD
https://github.com/way-to-code/git-macos.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:943c57f5f023c04804daf623375860c13f93d33d0cb4f0a89054871e5f11529c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
[1/97] Emitting module Git
[2/110] Compiling Git RemoteRenameTask.swift
[3/110] Compiling Git RemoteUrlChangeTask.swift
[4/110] Compiling Git RemoteUrlTask.swift
[5/110] Compiling Git RepositoryTask.swift
[6/110] Compiling Git GitResetOptions.swift
[7/110] Compiling Git ResetTask.swift
[8/110] Compiling Git GitSparseAddOptions.swift
[9/110] Compiling Git GitSparseSetOptions.swift
[10/110] Compiling Git SparseTask.swift
[11/110] Compiling Git GitStashApplyOptions.swift
[12/110] Compiling Git StashApplyTask.swift
[13/110] Compiling Git GitStashOptions.swift
[14/110] Compiling Git StashTask.swift
[15/110] 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>')
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142:37: note: coalesce using '??' to provide a default when the optional value contains 'nil'
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
?? <#default value#>
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142:37: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
!
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:147:26: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
childFDActions = nil
^
/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
if 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'
childFDActions = nil
^
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:176:19: error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
tid = nil
^
/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')
if let threadId = tid {
^ ~~~
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:235:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
^
Int32( )
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:236:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
^
Int32( )
/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?'
pthread_create(&tid, nil, callback, threadPayloadRef)
^
/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')
if let tid = tid {
^ ~~~
[16/110] 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>')
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142:37: note: coalesce using '??' to provide a default when the optional value contains 'nil'
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
?? <#default value#>
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142:37: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
!
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:147:26: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
childFDActions = nil
^
/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
if 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'
childFDActions = nil
^
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:176:19: error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
tid = nil
^
/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')
if let threadId = tid {
^ ~~~
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:235:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
^
Int32( )
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:236:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
^
Int32( )
/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?'
pthread_create(&tid, nil, callback, threadPayloadRef)
^
/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')
if let tid = tid {
^ ~~~
[17/110] 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>')
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142:37: note: coalesce using '??' to provide a default when the optional value contains 'nil'
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
?? <#default value#>
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142:37: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
!
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:147:26: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
childFDActions = nil
^
/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
if 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'
childFDActions = nil
^
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:176:19: error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
tid = nil
^
/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')
if let threadId = tid {
^ ~~~
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:235:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
^
Int32( )
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:236:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
^
Int32( )
/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?'
pthread_create(&tid, nil, callback, threadPayloadRef)
^
/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')
if let tid = tid {
^ ~~~
[18/110] 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>')
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142:37: note: coalesce using '??' to provide a default when the optional value contains 'nil'
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
?? <#default value#>
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142:37: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
!
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:147:26: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
childFDActions = nil
^
/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
if 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'
childFDActions = nil
^
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:176:19: error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
tid = nil
^
/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')
if let threadId = tid {
^ ~~~
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:235:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
^
Int32( )
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:236:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
^
Int32( )
/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?'
pthread_create(&tid, nil, callback, threadPayloadRef)
^
/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')
if let tid = tid {
^ ~~~
[19/110] 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>')
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142:37: note: coalesce using '??' to provide a default when the optional value contains 'nil'
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
?? <#default value#>
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142:37: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
!
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:147:26: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
childFDActions = nil
^
/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
if 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'
childFDActions = nil
^
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:176:19: error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
tid = nil
^
/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')
if let threadId = tid {
^ ~~~
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:235:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
^
Int32( )
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:236:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
^
Int32( )
/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?'
pthread_create(&tid, nil, callback, threadPayloadRef)
^
/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')
if let tid = tid {
^ ~~~
[20/110] 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>')
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142:37: note: coalesce using '??' to provide a default when the optional value contains 'nil'
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
?? <#default value#>
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142:37: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
!
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:147:26: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
childFDActions = nil
^
/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
if 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'
childFDActions = nil
^
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:176:19: error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
tid = nil
^
/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')
if let threadId = tid {
^ ~~~
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:235:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
^
Int32( )
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:236:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
^
Int32( )
/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?'
pthread_create(&tid, nil, callback, threadPayloadRef)
^
/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')
if let tid = tid {
^ ~~~
[21/110] 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>')
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142:37: note: coalesce using '??' to provide a default when the optional value contains 'nil'
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
?? <#default value#>
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142:37: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
!
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:147:26: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
childFDActions = nil
^
/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
if 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'
childFDActions = nil
^
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:176:19: error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
tid = nil
^
/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')
if let threadId = tid {
^ ~~~
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:235:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
^
Int32( )
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:236:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
^
Int32( )
/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?'
pthread_create(&tid, nil, callback, threadPayloadRef)
^
/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')
if let tid = tid {
^ ~~~
[22/110] 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>')
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142:37: note: coalesce using '??' to provide a default when the optional value contains 'nil'
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
?? <#default value#>
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142:37: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
!
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:147:26: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
childFDActions = nil
^
/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
if 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'
childFDActions = nil
^
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:176:19: error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
tid = nil
^
/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')
if let threadId = tid {
^ ~~~
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:235:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
^
Int32( )
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:236:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
^
Int32( )
/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?'
pthread_create(&tid, nil, callback, threadPayloadRef)
^
/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')
if let tid = tid {
^ ~~~
[23/110] 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>')
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142:37: note: coalesce using '??' to provide a default when the optional value contains 'nil'
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
?? <#default value#>
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142:37: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
!
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:147:26: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
childFDActions = nil
^
/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
if 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'
childFDActions = nil
^
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:176:19: error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
tid = nil
^
/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')
if let threadId = tid {
^ ~~~
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:235:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
^
Int32( )
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:236:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
^
Int32( )
/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?'
pthread_create(&tid, nil, callback, threadPayloadRef)
^
/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')
if let tid = tid {
^ ~~~
[24/110] 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>')
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142:37: note: coalesce using '??' to provide a default when the optional value contains 'nil'
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
?? <#default value#>
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142:37: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
!
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:147:26: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
childFDActions = nil
^
/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
if 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'
childFDActions = nil
^
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:176:19: error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
tid = nil
^
/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')
if let threadId = tid {
^ ~~~
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:235:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
^
Int32( )
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:236:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
^
Int32( )
/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?'
pthread_create(&tid, nil, callback, threadPayloadRef)
^
/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')
if let tid = tid {
^ ~~~
[25/110] 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>')
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142:37: note: coalesce using '??' to provide a default when the optional value contains 'nil'
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
?? <#default value#>
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142:37: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
!
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:147:26: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
childFDActions = nil
^
/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
if 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'
childFDActions = nil
^
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:176:19: error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
tid = nil
^
/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')
if let threadId = tid {
^ ~~~
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:235:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
^
Int32( )
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:236:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
^
Int32( )
/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?'
pthread_create(&tid, nil, callback, threadPayloadRef)
^
/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')
if let tid = tid {
^ ~~~
[26/110] 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>')
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142:37: note: coalesce using '??' to provide a default when the optional value contains 'nil'
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
?? <#default value#>
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142:37: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
!
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:147:26: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
childFDActions = nil
^
/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
if 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'
childFDActions = nil
^
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:176:19: error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
tid = nil
^
/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')
if let threadId = tid {
^ ~~~
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:235:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
^
Int32( )
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:236:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
^
Int32( )
/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?'
pthread_create(&tid, nil, callback, threadPayloadRef)
^
/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')
if let tid = tid {
^ ~~~
[27/110] 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>')
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142:37: note: coalesce using '??' to provide a default when the optional value contains 'nil'
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
?? <#default value#>
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142:37: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
!
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:147:26: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
childFDActions = nil
^
/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
if 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'
childFDActions = nil
^
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:176:19: error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
tid = nil
^
/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')
if let threadId = tid {
^ ~~~
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:235:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
^
Int32( )
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:236:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
^
Int32( )
/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?'
pthread_create(&tid, nil, callback, threadPayloadRef)
^
/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')
if let tid = tid {
^ ~~~
[28/110] 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>')
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142:37: note: coalesce using '??' to provide a default when the optional value contains 'nil'
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
?? <#default value#>
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:142:37: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
guard posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) >= 0 else {
^
!
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:147:26: error: 'nil' cannot be assigned to type 'posix_spawn_file_actions_t'
childFDActions = nil
^
/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
if 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'
childFDActions = nil
^
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:176:19: error: 'nil' cannot be assigned to type 'pthread_t' (aka 'UInt')
tid = nil
^
/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')
if let threadId = tid {
^ ~~~
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:235:36: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nil)
^
Int32( )
/host/spi-builder-workspace/Sources/Classes/Tasks/ProcessSpawn.swift:236:35: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nil)
^
Int32( )
/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?'
pthread_create(&tid, nil, callback, threadPayloadRef)
^
/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')
if let tid = tid {
^ ~~~
[29/110] Compiling Git FileManager+Utils.swift
[30/110] Compiling Git Formatter+Date.swift
[31/110] Compiling Git Array+Utils.swift
[32/110] Compiling Git CredentialsProvider.swift
[33/110] Compiling Git Repository.swift
[34/110] Compiling Git RepositoryDelegate.swift
[35/110] Compiling Git RepositoryError.swift
[36/110] Compiling Git RepositoryLogRecord.swift
[37/110] Compiling Git RepositoryReference.swift
[38/110] Compiling Git RepositoryReferenceName.swift
[39/110] Compiling Git RepositoryRemote.swift
[40/110] Compiling Git RepositoryStashRecord.swift
[41/110] Compiling Git RepositoryTagRecord.swift
[42/110] Compiling Git GitReferenceName.swift
[43/110] Compiling Git GitRemote.swift
[44/110] Compiling Git GitRemoteList.swift
[45/110] Compiling Git GitRepository.swift
[46/110] Compiling Git GitRepository+Cherry.swift
[47/110] Compiling Git GitRepository+CherryPick.swift
[48/110] Compiling Git GitRepository+Files.swift
[49/110] Compiling Git GitRepository+Init.swift
[50/110] Compiling Git GitRepository+Log.swift
[51/110] Compiling Git GitRepository+Merge.swift
[52/110] Compiling Git GitRepository+Reference.swift
[53/110] Compiling Git GitRepository+Remotes.swift
[54/110] Compiling Git GitRepository+SparseCheckout.swift
[55/110] Compiling Git GitRepository+Status.swift
[56/110] Compiling Git CherryTask.swift
[57/110] Compiling Git GitCherryOptions.swift
[58/110] Compiling Git GitCherryResult.swift
[59/110] Compiling Git CherryPickOptions.swift
[60/110] Compiling Git CherryPickTask.swift
[61/110] Compiling Git CleanOptions.swift
[62/110] Compiling Git CleanTask.swift
[63/110] Compiling Git CloneOptions.swift
[64/110] Compiling Git CloneTask.swift
[65/110] Compiling Git CommitOptions.swift
[66/110] Compiling Git CommitTask.swift
[67/110] Compiling Git FetchTask.swift
[68/110] Compiling Git GitFetchOptions.swift
[69/110] Compiling Git InitOptions.swift
[70/110] Compiling Git GitStashDropOptions.swift
[71/110] Compiling Git StashDropTask.swift
[72/110] Compiling Git GitStashListOptions.swift
[73/110] Compiling Git StashListTask.swift
[74/110] Compiling Git GitStatusOptions.swift
[75/110] Compiling Git StatusTask.swift
[76/110] Compiling Git GitTagListOptions.swift
[77/110] Compiling Git GitTagOptions.swift
[78/110] Compiling Git TagTask.swift
[79/110] Compiling Git GitFormatDecoder.swift
[80/110] Compiling Git GitFormatEncoder.swift
[81/110] Compiling Git GitOutputParser.swift
[82/110] Compiling Git IndexIterator.swift
[83/110] Compiling Git File.swift
[84/110] Compiling Git FileAnnotationRecord.swift
[85/110] Compiling Git FileCoder.swift
[86/110] Compiling Git FileStorage.swift
[87/110] Compiling Git GitFile.swift
[88/110] Compiling Git GitFileStorage.swift
[89/110] Compiling Git GitCredentialsProvider.swift
[90/110] Compiling Git GitFileStatus.swift
[91/110] Compiling Git GitFileStatusList.swift
[92/110] Compiling Git GitLogRecord.swift
[93/110] Compiling Git GitLogRecordList.swift
[94/110] Compiling Git GitMergeStatus.swift
[95/110] Compiling Git GitReference.swift
[96/110] Compiling Git GitReferenceList.swift
[97/110] Compiling Git GitRepository+Tag.swift
[98/110] Compiling Git GitRepositoryErrorFormatter.swift
[99/110] Compiling Git GitStashRecord.swift
[100/110] Compiling Git GitStashRecordList.swift
[101/110] Compiling Git GitTagRecord.swift
[102/110] Compiling Git GitTagRecordList.swift
[103/110] Compiling Git AddTask.swift
[104/110] Compiling Git GitAddOptions.swift
[105/110] Compiling Git ArgumentConvertible.swift
[106/110] Compiling Git BranchOptions.swift
[107/110] Compiling Git BranchTask.swift
[108/110] Compiling Git CheckReferenceTask.swift
[109/110] Compiling Git CheckoutOptions.swift
[110/110] Compiling Git CheckoutTask.swift
error: fatalError
BUILD FAILURE 5.9 linux