Build Information
Failed to build Git, reference 3.4.0 (618e8f
), with Swift 5.10 for Linux on 3 Jun 2025 22:13:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-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.10
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-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:aa1999fda62728f989ec9f885e6a69f8a206ad63b6efcfc03397a00c96f5855b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/99] Emitting module Git
[4/112] 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 {
^ ~~~
[5/112] 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 {
^ ~~~
[6/112] 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 {
^ ~~~
[7/112] 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 {
^ ~~~
[8/112] 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 {
^ ~~~
[9/112] 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 {
^ ~~~
[10/112] 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 {
^ ~~~
[11/112] 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 {
^ ~~~
[12/112] 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 {
^ ~~~
[13/112] 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 {
^ ~~~
[14/112] 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 {
^ ~~~
[15/112] 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 {
^ ~~~
[16/112] 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 {
^ ~~~
[17/112] 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 {
^ ~~~
[18/112] Compiling Git FileManager+Utils.swift
[19/112] Compiling Git Formatter+Date.swift
[20/112] Compiling Git Array+Utils.swift
[21/112] Compiling Git CredentialsProvider.swift
[22/112] Compiling Git Repository.swift
[23/112] Compiling Git RepositoryDelegate.swift
[24/112] Compiling Git RepositoryError.swift
[25/112] Compiling Git RepositoryLogRecord.swift
[26/112] Compiling Git RepositoryReference.swift
[27/112] Compiling Git RepositoryReferenceName.swift
[28/112] Compiling Git RepositoryRemote.swift
[29/112] Compiling Git RepositoryStashRecord.swift
[30/112] Compiling Git RepositoryTagRecord.swift
[31/112] Compiling Git GitRepository+Tag.swift
[32/112] Compiling Git GitRepositoryErrorFormatter.swift
[33/112] Compiling Git GitStashRecord.swift
[34/112] Compiling Git GitStashRecordList.swift
[35/112] Compiling Git GitTagRecord.swift
[36/112] Compiling Git GitTagRecordList.swift
[37/112] Compiling Git AddTask.swift
[38/112] Compiling Git GitAddOptions.swift
[39/112] Compiling Git ArgumentConvertible.swift
[40/112] Compiling Git BranchOptions.swift
[41/112] Compiling Git BranchTask.swift
[42/112] Compiling Git CheckReferenceTask.swift
[43/112] Compiling Git CheckoutOptions.swift
[44/112] Compiling Git CheckoutTask.swift
[45/112] Compiling Git CherryTask.swift
[46/112] Compiling Git GitCherryOptions.swift
[47/112] Compiling Git GitCherryResult.swift
[48/112] Compiling Git CherryPickOptions.swift
[49/112] Compiling Git CherryPickTask.swift
[50/112] Compiling Git CleanOptions.swift
[51/112] Compiling Git CleanTask.swift
[52/112] Compiling Git CloneOptions.swift
[53/112] Compiling Git CloneTask.swift
[54/112] Compiling Git CommitOptions.swift
[55/112] Compiling Git CommitTask.swift
[56/112] Compiling Git FetchTask.swift
[57/112] Compiling Git GitFetchOptions.swift
[58/112] Compiling Git InitOptions.swift
[59/112] Compiling Git File.swift
[60/112] Compiling Git FileAnnotationRecord.swift
[61/112] Compiling Git FileCoder.swift
[62/112] Compiling Git FileStorage.swift
[63/112] Compiling Git GitFile.swift
[64/112] Compiling Git GitFileStorage.swift
[65/112] Compiling Git GitCredentialsProvider.swift
[66/112] Compiling Git GitFileStatus.swift
[67/112] Compiling Git GitFileStatusList.swift
[68/112] Compiling Git GitLogRecord.swift
[69/112] Compiling Git GitLogRecordList.swift
[70/112] Compiling Git GitMergeStatus.swift
[71/112] Compiling Git GitReference.swift
[72/112] Compiling Git GitReferenceList.swift
[73/112] Compiling Git GitReferenceName.swift
[74/112] Compiling Git GitRemote.swift
[75/112] Compiling Git GitRemoteList.swift
[76/112] Compiling Git GitRepository.swift
[77/112] Compiling Git GitRepository+Cherry.swift
[78/112] Compiling Git GitRepository+CherryPick.swift
[79/112] Compiling Git GitRepository+Files.swift
[80/112] Compiling Git GitRepository+Init.swift
[81/112] Compiling Git GitRepository+Log.swift
[82/112] Compiling Git GitRepository+Merge.swift
[83/112] Compiling Git GitRepository+Reference.swift
[84/112] Compiling Git GitRepository+Remotes.swift
[85/112] Compiling Git GitRepository+SparseCheckout.swift
[86/112] Compiling Git GitRepository+Status.swift
[87/112] Compiling Git RemoteRenameTask.swift
[88/112] Compiling Git RemoteUrlChangeTask.swift
[89/112] Compiling Git RemoteUrlTask.swift
[90/112] Compiling Git RepositoryTask.swift
[91/112] Compiling Git GitResetOptions.swift
[92/112] Compiling Git ResetTask.swift
[93/112] Compiling Git GitSparseAddOptions.swift
[94/112] Compiling Git GitSparseSetOptions.swift
[95/112] Compiling Git SparseTask.swift
[96/112] Compiling Git GitStashApplyOptions.swift
[97/112] Compiling Git StashApplyTask.swift
[98/112] Compiling Git GitStashOptions.swift
[99/112] Compiling Git StashTask.swift
[100/112] Compiling Git GitStashDropOptions.swift
[101/112] Compiling Git StashDropTask.swift
[102/112] Compiling Git GitStashListOptions.swift
[103/112] Compiling Git StashListTask.swift
[104/112] Compiling Git GitStatusOptions.swift
[105/112] Compiling Git StatusTask.swift
[106/112] Compiling Git GitTagListOptions.swift
[107/112] Compiling Git GitTagOptions.swift
[108/112] Compiling Git TagTask.swift
[109/112] Compiling Git GitFormatDecoder.swift
[110/112] Compiling Git GitFormatEncoder.swift
[111/112] Compiling Git GitOutputParser.swift
[112/112] Compiling Git IndexIterator.swift
error: fatalError
BUILD FAILURE 5.10 linux