The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Donut, reference master (0b9064), with Swift 6.3 for Android on 10 Apr 2026 19:27:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/natmark/donut.git
Reference: master
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/natmark/donut
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0b90644 Bump version
Cloned https://github.com/natmark/donut.git
Revision (git rev-parse @):
0b90644b5635f1f988a311c93b297ac0a44f6495
SUCCESS checkout https://github.com/natmark/donut.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/natmark/donut.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/yutailang0119/ProgressSpinnerKit
Fetching https://github.com/Carthage/ReactiveTask.git
Fetching https://github.com/thoughtbot/Curry.git
Fetching https://github.com/Carthage/Commandant.git
[1/1925] Fetching reactivetask
[444/2526] Fetching reactivetask, curry
[1225/4855] Fetching reactivetask, curry, commandant
[1531/5457] Fetching reactivetask, curry, commandant, progressspinnerkit
Fetched https://github.com/thoughtbot/Curry.git from cache (0.53s)
Fetched https://github.com/yutailang0119/ProgressSpinnerKit from cache (0.54s)
Fetched https://github.com/Carthage/ReactiveTask.git from cache (0.54s)
Fetched https://github.com/Carthage/Commandant.git from cache (0.54s)
Computing version for https://github.com/thoughtbot/Curry.git
Computed https://github.com/thoughtbot/Curry.git at 4.0.2 (3.87s)
Computing version for https://github.com/Carthage/ReactiveTask.git
Computed https://github.com/Carthage/ReactiveTask.git at 0.16.0 (0.44s)
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/ReactiveCocoa/ReactiveSwift.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/antitypical/Result.git
[1/2533] Fetching result
[2534/17429] Fetching result, quick
[2981/69929] Fetching result, quick, reactiveswift
[9792/89746] Fetching result, quick, reactiveswift, nimble
Fetched https://github.com/antitypical/Result.git from cache (0.94s)
[44685/87213] Fetching quick, reactiveswift, nimble
Fetched https://github.com/Quick/Quick.git from cache (0.94s)
[30513/72317] Fetching reactiveswift, nimble
Fetched https://github.com/Quick/Nimble.git from cache (1.88s)
Fetched https://github.com/ReactiveCocoa/ReactiveSwift.git from cache (2.91s)
Computing version for https://github.com/antitypical/Result.git
Computed https://github.com/antitypical/Result.git at 4.1.0 (6.65s)
Computing version for https://github.com/ReactiveCocoa/ReactiveSwift.git
Computed https://github.com/ReactiveCocoa/ReactiveSwift.git at 5.0.1 (0.53s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (0.61s)
Computing version for https://github.com/yutailang0119/ProgressSpinnerKit
Computed https://github.com/yutailang0119/ProgressSpinnerKit at 0.5.0 (0.62s)
Fetching https://github.com/apple/swift-tools-support-core
[1/7182] Fetching swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core from cache (0.67s)
Computing version for https://github.com/apple/swift-tools-support-core
Computed https://github.com/apple/swift-tools-support-core at 0.7.3 (2.60s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.18.0 (0.58s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.55s)
Creating working copy for https://github.com/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at 0.18.0
Creating working copy for https://github.com/thoughtbot/Curry.git
Working copy of https://github.com/thoughtbot/Curry.git resolved at 4.0.2
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
Creating working copy for https://github.com/apple/swift-tools-support-core
Working copy of https://github.com/apple/swift-tools-support-core resolved at 0.7.3
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.2.1
Creating working copy for https://github.com/Carthage/ReactiveTask.git
Working copy of https://github.com/Carthage/ReactiveTask.git resolved at 0.16.0
Creating working copy for https://github.com/ReactiveCocoa/ReactiveSwift.git
Working copy of https://github.com/ReactiveCocoa/ReactiveSwift.git resolved at 5.0.1
Creating working copy for https://github.com/yutailang0119/ProgressSpinnerKit
Working copy of https://github.com/yutailang0119/ProgressSpinnerKit resolved at 0.5.0
Creating working copy for https://github.com/antitypical/Result.git
Working copy of https://github.com/antitypical/Result.git resolved at 4.1.0
Building for debugging...
[0/30] Write sources
[11/30] Compiling TSCclibc libc.c
[12/30] Compiling TSCclibc process.c
[13/30] Compiling TSCclibc strerror.c
[14/30] Write swift-version--4F562202D5529B1.txt
[16/49] Emitting module TSCLibc
[17/49] Emitting module Commandant
[18/50] Compiling Commandant Switch.swift
[19/50] Compiling Result ResultProtocol.swift
[20/50] Compiling Commandant Result+Additions.swift
[21/50] Compiling Commandant OrderedSet.swift
[22/50] Compiling TSCLibc libc.swift
[23/51] Wrapping AST for TSCLibc for debugging
[25/91] Compiling Result NoError.swift
[26/91] Compiling Result Result.swift
[27/91] Compiling Commandant Errors.swift
[28/91] Compiling TSCBasic Await.swift
[29/91] Compiling TSCBasic Base64URL.swift
[30/91] Compiling Result AnyError.swift
[31/91] Emitting module Result
[33/92] Compiling Commandant Option.swift
[33/92] Wrapping AST for Result for debugging
[35/92] Compiling Commandant HelpCommand.swift
[36/112] Compiling ReactiveSwift Bag.swift
[37/112] Compiling ReactiveSwift Deprecations+Removals.swift
[38/113] Wrapping AST for Commandant for debugging
[40/113] Emitting module TSCBasic
[41/118] Compiling TSCBasic Result.swift
[42/118] Compiling TSCBasic SortedArray.swift
[43/118] Compiling TSCBasic StringConversions.swift
[44/118] Compiling TSCBasic SynchronizedQueue.swift
[45/118] Compiling TSCBasic TemporaryFile.swift
[46/118] Compiling ReactiveSwift Action.swift
[47/118] Compiling ReactiveSwift Atomic.swift
[50/118] Compiling ReactiveSwift Disposable.swift
[51/118] Compiling ReactiveSwift Event.swift
[52/118] Compiling TSCBasic OSLog.swift
[53/118] Compiling TSCBasic ObjectIdentifierProtocol.swift
[54/118] Compiling TSCBasic OrderedDictionary.swift
[55/118] Compiling TSCBasic OrderedSet.swift
[56/118] Compiling TSCBasic Path.swift
[57/118] Compiling TSCBasic PathShims.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:634:41: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 632 |       #endif
 633 |         posix_spawnattr_init(&attributes)
 634 |         defer { posix_spawnattr_destroy(&attributes) }
     |                                         |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                         `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
 635 |
 636 |         // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:639:36: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 637 |         var noSignals = sigset_t()
 638 |         sigemptyset(&noSignals)
 639 |         posix_spawnattr_setsigmask(&attributes, &noSignals)
     |                                    |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                    `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
 640 |
 641 |         // Reset all signals to default behavior.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:659:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 657 |             sigaddset(&mostSignals, i)
 658 |         }
 659 |         posix_spawnattr_setsigdefault(&attributes, &mostSignals)
     |                                       |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                       `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
 660 |       #endif
 661 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:667:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 665 |             // Establish a separate process group.
 666 |             flags |= POSIX_SPAWN_SETPGROUP
 667 |             posix_spawnattr_setpgroup(&attributes, 0)
     |                                       |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                       `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
 668 |         }
 669 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:670:34: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 668 |         }
 669 |
 670 |         posix_spawnattr_setflags(&attributes, Int16(flags))
     |                                  |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                  `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
 671 |
 672 |         // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:679:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 677 |       #endif
 678 |         posix_spawn_file_actions_init(&fileActions)
 679 |         defer { posix_spawn_file_actions_destroy(&fileActions) }
     |                                                  |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                                  `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 680 |
 681 |         if let workingDirectory = workingDirectory?.pathString {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:711:42: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 709 |
 710 |         // Dupe the read portion of the remote to 0.
 711 |         posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
     |                                          |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                          `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 712 |
 713 |         // Close the other side's pipe since it was dupped to 0.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:714:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 712 |
 713 |         // Close the other side's pipe since it was dupped to 0.
 714 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
     |                                           |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                           `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 715 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
 716 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:715:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 713 |         // Close the other side's pipe since it was dupped to 0.
 714 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
 715 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
     |                                           |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                           `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 716 |
 717 |         var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:724:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 722 |
 723 |             // Open the write end of the pipe.
 724 |             posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
     |                                              |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                              `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 725 |
 726 |             // Close the other ends of the pipe since they were dupped to 1.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:727:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 725 |
 726 |             // Close the other ends of the pipe since they were dupped to 1.
 727 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
     |                                               |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                               `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 728 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
 729 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:728:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 726 |             // Close the other ends of the pipe since they were dupped to 1.
 727 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
 728 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
     |                                               |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                               `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 729 |
 730 |             if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 730 |             if outputRedirection.redirectStderr {
 731 |                 // If merged was requested, send stderr to stdout.
 732 |                 posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
     |                                                  |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                                  `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 733 |             } else {
 734 |                 // If no redirect was requested, open the pipe for stderr.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:736:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 734 |                 // If no redirect was requested, open the pipe for stderr.
 735 |                 try open(pipe: &stderrPipe)
 736 |                 posix_spawn_file_actions_adddup2(&fileActions, stderrPipe[1], 2)
     |                                                  |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                                  `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 737 |
 738 |                 // Close the other ends of the pipe since they were dupped to 2.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:739:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 737 |
 738 |                 // Close the other ends of the pipe since they were dupped to 2.
 739 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
     |                                                   |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                                   `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 740 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
 741 |             }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:740:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 738 |                 // Close the other ends of the pipe since they were dupped to 2.
 739 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
 740 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
     |                                                   |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                                   `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 741 |             }
 742 |         } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:743:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 741 |             }
 742 |         } else {
 743 |             posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
     |                                              |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                              `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 744 |             posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
 745 |         }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:744:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 742 |         } else {
 743 |             posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
 744 |             posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
     |                                              |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                              `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 745 |         }
 746 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:753:92: error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
 751 |         let argv = CStringArray(resolvedArgs)
 752 |         let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
 753 |         let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
     |                                                                                            |- error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
     |                                                                                            `- note: arguments to generic parameter 'Pointee' ('UnsafeMutablePointer<Int8>?' and 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')) are expected to be equal
 754 |
 755 |         guard rv == 0 else {
[58/118] Compiling TSCBasic Process.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:634:41: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 632 |       #endif
 633 |         posix_spawnattr_init(&attributes)
 634 |         defer { posix_spawnattr_destroy(&attributes) }
     |                                         |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                         `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
 635 |
 636 |         // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:639:36: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 637 |         var noSignals = sigset_t()
 638 |         sigemptyset(&noSignals)
 639 |         posix_spawnattr_setsigmask(&attributes, &noSignals)
     |                                    |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                    `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
 640 |
 641 |         // Reset all signals to default behavior.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:659:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 657 |             sigaddset(&mostSignals, i)
 658 |         }
 659 |         posix_spawnattr_setsigdefault(&attributes, &mostSignals)
     |                                       |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                       `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
 660 |       #endif
 661 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:667:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 665 |             // Establish a separate process group.
 666 |             flags |= POSIX_SPAWN_SETPGROUP
 667 |             posix_spawnattr_setpgroup(&attributes, 0)
     |                                       |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                       `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
 668 |         }
 669 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:670:34: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 668 |         }
 669 |
 670 |         posix_spawnattr_setflags(&attributes, Int16(flags))
     |                                  |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                  `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
 671 |
 672 |         // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:679:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 677 |       #endif
 678 |         posix_spawn_file_actions_init(&fileActions)
 679 |         defer { posix_spawn_file_actions_destroy(&fileActions) }
     |                                                  |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                                  `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 680 |
 681 |         if let workingDirectory = workingDirectory?.pathString {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:711:42: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 709 |
 710 |         // Dupe the read portion of the remote to 0.
 711 |         posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
     |                                          |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                          `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 712 |
 713 |         // Close the other side's pipe since it was dupped to 0.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:714:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 712 |
 713 |         // Close the other side's pipe since it was dupped to 0.
 714 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
     |                                           |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                           `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 715 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
 716 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:715:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 713 |         // Close the other side's pipe since it was dupped to 0.
 714 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
 715 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
     |                                           |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                           `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 716 |
 717 |         var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:724:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 722 |
 723 |             // Open the write end of the pipe.
 724 |             posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
     |                                              |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                              `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 725 |
 726 |             // Close the other ends of the pipe since they were dupped to 1.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:727:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 725 |
 726 |             // Close the other ends of the pipe since they were dupped to 1.
 727 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
     |                                               |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                               `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 728 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
 729 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:728:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 726 |             // Close the other ends of the pipe since they were dupped to 1.
 727 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
 728 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
     |                                               |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                               `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 729 |
 730 |             if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 730 |             if outputRedirection.redirectStderr {
 731 |                 // If merged was requested, send stderr to stdout.
 732 |                 posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
     |                                                  |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                                  `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 733 |             } else {
 734 |                 // If no redirect was requested, open the pipe for stderr.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:736:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 734 |                 // If no redirect was requested, open the pipe for stderr.
 735 |                 try open(pipe: &stderrPipe)
 736 |                 posix_spawn_file_actions_adddup2(&fileActions, stderrPipe[1], 2)
     |                                                  |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                                  `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 737 |
 738 |                 // Close the other ends of the pipe since they were dupped to 2.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:739:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 737 |
 738 |                 // Close the other ends of the pipe since they were dupped to 2.
 739 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
     |                                                   |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                                   `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 740 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
 741 |             }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:740:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 738 |                 // Close the other ends of the pipe since they were dupped to 2.
 739 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
 740 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
     |                                                   |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                                   `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 741 |             }
 742 |         } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:743:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 741 |             }
 742 |         } else {
 743 |             posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
     |                                              |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                              `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 744 |             posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
 745 |         }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:744:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 742 |         } else {
 743 |             posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
 744 |             posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
     |                                              |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                              `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 745 |         }
 746 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:753:92: error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
 751 |         let argv = CStringArray(resolvedArgs)
 752 |         let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
 753 |         let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
     |                                                                                            |- error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
     |                                                                                            `- note: arguments to generic parameter 'Pointee' ('UnsafeMutablePointer<Int8>?' and 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')) are expected to be equal
 754 |
 755 |         guard rv == 0 else {
[59/118] Compiling TSCBasic ProcessEnv.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:634:41: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 632 |       #endif
 633 |         posix_spawnattr_init(&attributes)
 634 |         defer { posix_spawnattr_destroy(&attributes) }
     |                                         |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                         `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
 635 |
 636 |         // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:639:36: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 637 |         var noSignals = sigset_t()
 638 |         sigemptyset(&noSignals)
 639 |         posix_spawnattr_setsigmask(&attributes, &noSignals)
     |                                    |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                    `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
 640 |
 641 |         // Reset all signals to default behavior.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:659:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 657 |             sigaddset(&mostSignals, i)
 658 |         }
 659 |         posix_spawnattr_setsigdefault(&attributes, &mostSignals)
     |                                       |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                       `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
 660 |       #endif
 661 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:667:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 665 |             // Establish a separate process group.
 666 |             flags |= POSIX_SPAWN_SETPGROUP
 667 |             posix_spawnattr_setpgroup(&attributes, 0)
     |                                       |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                       `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
 668 |         }
 669 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:670:34: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 668 |         }
 669 |
 670 |         posix_spawnattr_setflags(&attributes, Int16(flags))
     |                                  |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                  `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
 671 |
 672 |         // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:679:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 677 |       #endif
 678 |         posix_spawn_file_actions_init(&fileActions)
 679 |         defer { posix_spawn_file_actions_destroy(&fileActions) }
     |                                                  |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                                  `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 680 |
 681 |         if let workingDirectory = workingDirectory?.pathString {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:711:42: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 709 |
 710 |         // Dupe the read portion of the remote to 0.
 711 |         posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
     |                                          |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                          `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 712 |
 713 |         // Close the other side's pipe since it was dupped to 0.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:714:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 712 |
 713 |         // Close the other side's pipe since it was dupped to 0.
 714 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
     |                                           |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                           `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 715 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
 716 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:715:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 713 |         // Close the other side's pipe since it was dupped to 0.
 714 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
 715 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
     |                                           |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                           `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 716 |
 717 |         var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:724:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 722 |
 723 |             // Open the write end of the pipe.
 724 |             posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
     |                                              |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                              `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 725 |
 726 |             // Close the other ends of the pipe since they were dupped to 1.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:727:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 725 |
 726 |             // Close the other ends of the pipe since they were dupped to 1.
 727 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
     |                                               |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                               `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 728 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
 729 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:728:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 726 |             // Close the other ends of the pipe since they were dupped to 1.
 727 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
 728 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
     |                                               |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                               `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 729 |
 730 |             if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 730 |             if outputRedirection.redirectStderr {
 731 |                 // If merged was requested, send stderr to stdout.
 732 |                 posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
     |                                                  |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                                  `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 733 |             } else {
 734 |                 // If no redirect was requested, open the pipe for stderr.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:736:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 734 |                 // If no redirect was requested, open the pipe for stderr.
 735 |                 try open(pipe: &stderrPipe)
 736 |                 posix_spawn_file_actions_adddup2(&fileActions, stderrPipe[1], 2)
     |                                                  |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                                  `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 737 |
 738 |                 // Close the other ends of the pipe since they were dupped to 2.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:739:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 737 |
 738 |                 // Close the other ends of the pipe since they were dupped to 2.
 739 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
     |                                                   |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                                   `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 740 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
 741 |             }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:740:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 738 |                 // Close the other ends of the pipe since they were dupped to 2.
 739 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
 740 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
     |                                                   |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                                   `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 741 |             }
 742 |         } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:743:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 741 |             }
 742 |         } else {
 743 |             posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
     |                                              |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                              `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 744 |             posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
 745 |         }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:744:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 742 |         } else {
 743 |             posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
 744 |             posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
     |                                              |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                              `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 745 |         }
 746 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:753:92: error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
 751 |         let argv = CStringArray(resolvedArgs)
 752 |         let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
 753 |         let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
     |                                                                                            |- error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
     |                                                                                            `- note: arguments to generic parameter 'Pointee' ('UnsafeMutablePointer<Int8>?' and 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')) are expected to be equal
 754 |
 755 |         guard rv == 0 else {
[60/118] Compiling TSCBasic ProcessSet.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:634:41: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 632 |       #endif
 633 |         posix_spawnattr_init(&attributes)
 634 |         defer { posix_spawnattr_destroy(&attributes) }
     |                                         |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                         `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
 635 |
 636 |         // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:639:36: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 637 |         var noSignals = sigset_t()
 638 |         sigemptyset(&noSignals)
 639 |         posix_spawnattr_setsigmask(&attributes, &noSignals)
     |                                    |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                    `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
 640 |
 641 |         // Reset all signals to default behavior.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:659:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 657 |             sigaddset(&mostSignals, i)
 658 |         }
 659 |         posix_spawnattr_setsigdefault(&attributes, &mostSignals)
     |                                       |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                       `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
 660 |       #endif
 661 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:667:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 665 |             // Establish a separate process group.
 666 |             flags |= POSIX_SPAWN_SETPGROUP
 667 |             posix_spawnattr_setpgroup(&attributes, 0)
     |                                       |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                       `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
 668 |         }
 669 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:670:34: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 668 |         }
 669 |
 670 |         posix_spawnattr_setflags(&attributes, Int16(flags))
     |                                  |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                  `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
 671 |
 672 |         // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:679:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 677 |       #endif
 678 |         posix_spawn_file_actions_init(&fileActions)
 679 |         defer { posix_spawn_file_actions_destroy(&fileActions) }
     |                                                  |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                                  `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 680 |
 681 |         if let workingDirectory = workingDirectory?.pathString {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:711:42: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 709 |
 710 |         // Dupe the read portion of the remote to 0.
 711 |         posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
     |                                          |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                          `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 712 |
 713 |         // Close the other side's pipe since it was dupped to 0.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:714:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 712 |
 713 |         // Close the other side's pipe since it was dupped to 0.
 714 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
     |                                           |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                           `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 715 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
 716 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:715:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 713 |         // Close the other side's pipe since it was dupped to 0.
 714 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
 715 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
     |                                           |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                           `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 716 |
 717 |         var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:724:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 722 |
 723 |             // Open the write end of the pipe.
 724 |             posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
     |                                              |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                              `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 725 |
 726 |             // Close the other ends of the pipe since they were dupped to 1.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:727:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 725 |
 726 |             // Close the other ends of the pipe since they were dupped to 1.
 727 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
     |                                               |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                               `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 728 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
 729 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:728:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 726 |             // Close the other ends of the pipe since they were dupped to 1.
 727 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
 728 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
     |                                               |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                               `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 729 |
 730 |             if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 730 |             if outputRedirection.redirectStderr {
 731 |                 // If merged was requested, send stderr to stdout.
 732 |                 posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
     |                                                  |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                                  `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 733 |             } else {
 734 |                 // If no redirect was requested, open the pipe for stderr.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:736:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 734 |                 // If no redirect was requested, open the pipe for stderr.
 735 |                 try open(pipe: &stderrPipe)
 736 |                 posix_spawn_file_actions_adddup2(&fileActions, stderrPipe[1], 2)
     |                                                  |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                                  `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 737 |
 738 |                 // Close the other ends of the pipe since they were dupped to 2.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:739:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 737 |
 738 |                 // Close the other ends of the pipe since they were dupped to 2.
 739 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
     |                                                   |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                                   `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 740 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
 741 |             }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:740:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 738 |                 // Close the other ends of the pipe since they were dupped to 2.
 739 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
 740 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
     |                                                   |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                                   `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 741 |             }
 742 |         } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:743:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 741 |             }
 742 |         } else {
 743 |             posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
     |                                              |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                              `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 744 |             posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
 745 |         }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:744:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 742 |         } else {
 743 |             posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
 744 |             posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
     |                                              |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                              `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 745 |         }
 746 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:753:92: error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
 751 |         let argv = CStringArray(resolvedArgs)
 752 |         let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
 753 |         let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
     |                                                                                            |- error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
     |                                                                                            `- note: arguments to generic parameter 'Pointee' ('UnsafeMutablePointer<Int8>?' and 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')) are expected to be equal
 754 |
 755 |         guard rv == 0 else {
[61/118] Compiling TSCBasic RegEx.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:634:41: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 632 |       #endif
 633 |         posix_spawnattr_init(&attributes)
 634 |         defer { posix_spawnattr_destroy(&attributes) }
     |                                         |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                         `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
 635 |
 636 |         // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:639:36: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 637 |         var noSignals = sigset_t()
 638 |         sigemptyset(&noSignals)
 639 |         posix_spawnattr_setsigmask(&attributes, &noSignals)
     |                                    |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                    `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
 640 |
 641 |         // Reset all signals to default behavior.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:659:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 657 |             sigaddset(&mostSignals, i)
 658 |         }
 659 |         posix_spawnattr_setsigdefault(&attributes, &mostSignals)
     |                                       |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                       `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
 660 |       #endif
 661 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:667:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 665 |             // Establish a separate process group.
 666 |             flags |= POSIX_SPAWN_SETPGROUP
 667 |             posix_spawnattr_setpgroup(&attributes, 0)
     |                                       |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                       `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
 668 |         }
 669 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:670:34: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 668 |         }
 669 |
 670 |         posix_spawnattr_setflags(&attributes, Int16(flags))
     |                                  |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                  `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
 671 |
 672 |         // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:679:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 677 |       #endif
 678 |         posix_spawn_file_actions_init(&fileActions)
 679 |         defer { posix_spawn_file_actions_destroy(&fileActions) }
     |                                                  |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                                  `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 680 |
 681 |         if let workingDirectory = workingDirectory?.pathString {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:711:42: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 709 |
 710 |         // Dupe the read portion of the remote to 0.
 711 |         posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
     |                                          |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                          `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 712 |
 713 |         // Close the other side's pipe since it was dupped to 0.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:714:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 712 |
 713 |         // Close the other side's pipe since it was dupped to 0.
 714 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
     |                                           |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                           `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 715 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
 716 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:715:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 713 |         // Close the other side's pipe since it was dupped to 0.
 714 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
 715 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
     |                                           |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                           `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 716 |
 717 |         var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:724:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 722 |
 723 |             // Open the write end of the pipe.
 724 |             posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
     |                                              |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                              `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 725 |
 726 |             // Close the other ends of the pipe since they were dupped to 1.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:727:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 725 |
 726 |             // Close the other ends of the pipe since they were dupped to 1.
 727 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
     |                                               |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                               `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 728 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
 729 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:728:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 726 |             // Close the other ends of the pipe since they were dupped to 1.
 727 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
 728 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
     |                                               |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                               `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 729 |
 730 |             if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 730 |             if outputRedirection.redirectStderr {
 731 |                 // If merged was requested, send stderr to stdout.
 732 |                 posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
     |                                                  |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                                  `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 733 |             } else {
 734 |                 // If no redirect was requested, open the pipe for stderr.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:736:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 734 |                 // If no redirect was requested, open the pipe for stderr.
 735 |                 try open(pipe: &stderrPipe)
 736 |                 posix_spawn_file_actions_adddup2(&fileActions, stderrPipe[1], 2)
     |                                                  |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                                  `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 737 |
 738 |                 // Close the other ends of the pipe since they were dupped to 2.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:739:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 737 |
 738 |                 // Close the other ends of the pipe since they were dupped to 2.
 739 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
     |                                                   |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                                   `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 740 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
 741 |             }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:740:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 738 |                 // Close the other ends of the pipe since they were dupped to 2.
 739 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
 740 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
     |                                                   |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                                   `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 741 |             }
 742 |         } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:743:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 741 |             }
 742 |         } else {
 743 |             posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
     |                                              |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                              `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 744 |             posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
 745 |         }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:744:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
 742 |         } else {
 743 |             posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
 744 |             posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
     |                                              |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
     |                                              `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
 745 |         }
 746 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:753:92: error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
 751 |         let argv = CStringArray(resolvedArgs)
 752 |         let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
 753 |         let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
     |                                                                                            |- error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
     |                                                                                            `- note: arguments to generic parameter 'Pointee' ('UnsafeMutablePointer<Int8>?' and 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')) are expected to be equal
 754 |
 755 |         guard rv == 0 else {
[62/118] Compiling ReactiveSwift UnidirectionalBinding.swift
[63/118] Compiling TSCBasic CollectionAlgorithms.swift
[64/118] Compiling TSCBasic CollectionExtensions.swift
[65/118] Compiling TSCBasic Condition.swift
[66/118] Compiling TSCBasic DeltaAlgorithm.swift
[67/118] Compiling TSCBasic DiagnosticsEngine.swift
[68/118] Compiling ReactiveSwift Property.swift
[69/118] Compiling ReactiveSwift Reactive.swift
[70/118] Compiling ReactiveSwift ResultExtensions.swift
[71/118] Compiling ReactiveSwift Scheduler.swift
[72/118] Compiling ReactiveSwift Signal.swift
[73/118] Compiling ReactiveSwift SignalProducer.swift
[74/118] Compiling ReactiveSwift Lifetime.swift
[75/118] Compiling ReactiveSwift Observer.swift
[76/118] Compiling ReactiveSwift Optional.swift
[77/118] Compiling ReactiveSwift EventLogger.swift
[78/118] Compiling ReactiveSwift Flatten.swift
[79/118] Compiling ReactiveSwift FoundationExtensions.swift
[80/118] Compiling TSCBasic TerminalController.swift
[81/118] Compiling TSCBasic Thread.swift
[82/118] Compiling TSCBasic Tuple.swift
[83/118] Compiling TSCBasic WritableByteStream.swift
[84/118] Compiling TSCBasic misc.swift
[85/118] Emitting module Curry
BUILD FAILURE 6.3 android