The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build spmgraph, reference 1.0.1 (9ba4f7), with Swift 6.2 for Android on 1 Nov 2025 22:32:56 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/getyourguide/spmgraph.git
Reference: 1.0.1
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/getyourguide/spmgraph
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at 9ba4f78 Merge pull request #47 from getyourguide/fix-lint-config-2
Cloned https://github.com/getyourguide/spmgraph.git
Revision (git rev-parse @):
9ba4f78d21da72a37b0a29f0c988a6ce2678f008
SUCCESS checkout https://github.com/getyourguide/spmgraph.git at 1.0.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/getyourguide/spmgraph.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:d70d83f328e9f1ae04a4e17e63e2d335ae10639f90ee796a5fe3bfb139eab948
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-package-manager
[1/165993] Fetching swift-package-manager
Fetched https://github.com/apple/swift-package-manager from cache (21.20s)
Fetching https://github.com/aus-der-Technik/FileMonitor
[1/358] Fetching filemonitor
Fetched https://github.com/aus-der-Technik/FileMonitor from cache (0.34s)
Fetching https://github.com/swiftlang/swift-llbuild.git
[1/29322] Fetching swift-llbuild
Fetched https://github.com/swiftlang/swift-llbuild.git from cache (3.96s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/72690] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (11.76s)
Fetching https://github.com/swiftlang/swift-tools-support-core.git
[1/7002] Fetching swift-tools-support-core
Fetched https://github.com/swiftlang/swift-tools-support-core.git from cache (4.60s)
Fetching https://github.com/swiftlang/swift-driver.git
[1/35942] Fetching swift-driver
Fetched https://github.com/swiftlang/swift-driver.git from cache (4.26s)
Fetching https://github.com/tuist/GraphViz.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-certificates.git
[1/6671] Fetching swift-certificates
[2/7243] Fetching swift-certificates, graphviz
[1490/23928] Fetching swift-certificates, graphviz, swift-argument-parser
[1775/29054] Fetching swift-certificates, graphviz, swift-argument-parser, swift-system
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-crypto.git
Fetched https://github.com/apple/swift-system.git from cache (1.22s)
[12583/23928] Fetching swift-certificates, graphviz, swift-argument-parser
Fetched https://github.com/apple/swift-certificates.git from cache (1.22s)
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
[6079/17257] Fetching graphviz, swift-argument-parser
[9417/35543] Fetching graphviz, swift-argument-parser, swift-collections
[9600/52892] Fetching graphviz, swift-argument-parser, swift-collections, swift-crypto
[22698/53089] Fetching graphviz, swift-argument-parser, swift-collections, swift-crypto, swift-toolchain-sqlite
Fetched https://github.com/tuist/GraphViz.git from cache (4.49s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (4.51s)
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (4.85s)
Fetched https://github.com/apple/swift-collections.git from cache (5.89s)
Fetched https://github.com/apple/swift-crypto.git from cache (5.91s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.2 (8.88s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.0.0 (0.75s)
Computing version for https://github.com/tuist/GraphViz.git
Computed https://github.com/tuist/GraphViz.git at 0.4.2 (0.71s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.5.0 (0.81s)
Fetching https://github.com/apple/swift-asn1.git
[1/1653] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.45s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.0 (1.29s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.7 (0.67s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.6 (1.17s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (0.92s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.2
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.0
Creating working copy for https://github.com/aus-der-Technik/FileMonitor
Working copy of https://github.com/aus-der-Technik/FileMonitor resolved at 1.2.0 (ef22f14)
Creating working copy for https://github.com/swiftlang/swift-driver.git
Working copy of https://github.com/swiftlang/swift-driver.git resolved at release/6.2 (4f9ac60)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.0.0
Creating working copy for https://github.com/apple/swift-package-manager
Working copy of https://github.com/apple/swift-package-manager resolved at swift-6.2-RELEASE (3cf1cb6)
Creating working copy for https://github.com/swiftlang/swift-llbuild.git
Working copy of https://github.com/swiftlang/swift-llbuild.git resolved at release/6.2 (d80e185)
Creating working copy for https://github.com/swiftlang/swift-toolchain-sqlite
Working copy of https://github.com/swiftlang/swift-toolchain-sqlite resolved at 1.0.7
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.6
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at release/6.2 (5a87516)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.3
Creating working copy for https://github.com/swiftlang/swift-tools-support-core.git
Working copy of https://github.com/swiftlang/swift-tools-support-core.git resolved at release/6.2 (5a993c8)
Creating working copy for https://github.com/tuist/GraphViz.git
Working copy of https://github.com/tuist/GraphViz.git resolved at 0.4.2
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.5.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/542] Write sources
[19/542] Copying Resources
[20/542] Write sources
[21/542] Copying Resources
[22/542] Write sources
[25/542] Compiling TSCclibc libc.c
[25/542] Write sources
[58/542] Compiling TSCclibc strerror.c
[59/542] Compiling TSCclibc process.c
[59/542] Compiling _SwiftSyntaxCShims PlatformMutex.c
[61/542] Write swift-version--11D90AFD9DD3AB2.txt
[62/542] Compiling CSystem shims.c
[63/542] Compiling trust_token.c
[64/542] Compiling fiat_curve25519_adx_square.S
[65/542] Compiling voprf.c
[66/542] Compiling fiat_curve25519_adx_mul.S
[67/542] Compiling v3_utl.c
[68/546] Compiling CCryptoBoringSSLShims shims.c
[70/585] Emitting module TSCLibc
[71/585] Compiling SwiftSyntax600 Empty.swift
[72/585] Emitting module SwiftSyntax600
[73/585] Emitting module SwiftSyntax510
[74/586] Compiling SwiftSyntax510 Empty.swift
[75/586] Emitting module SwiftSyntax602
[76/586] Compiling SwiftSyntax602 Empty.swift
[80/588] Emitting module SwiftSyntax601
[81/588] Compiling SwiftSyntax601 Empty.swift
[82/589] Emitting module SystemPackage
[83/589] Compiling SystemPackage FilePath.swift
[84/589] Compiling SystemPackage FilePathComponentView.swift
[85/589] Compiling SystemPackage FilePathComponents.swift
[86/589] Compiling SystemPackage FilePathParsing.swift
[87/589] Compiling SystemPackage FilePathString.swift
[89/593] Compiling SystemPackage Errno.swift
[90/593] Compiling SystemPackage ErrnoWindows.swift
[91/593] Compiling SystemPackage FileDescriptor.swift
[92/593] Compiling SystemPackage FileHelpers.swift
[93/593] Compiling SystemPackage FileOperations.swift
[94/593] Compiling SystemPackage FilePathSyntax.swift
[95/593] Compiling SystemPackage FilePathTemp.swift
[96/593] Compiling SystemPackage FilePathTempPosix.swift
[97/593] Compiling SystemPackage FilePathTempWindows.swift
[98/593] Compiling SystemPackage FilePathWindows.swift
[99/593] Compiling SystemPackage FilePermissions.swift
[100/593] Compiling SystemPackage IOCompletion.swift
[101/593] Compiling SystemPackage IORequest.swift
[101/593] Compiling SwiftToolchainCSQLite sqlite3.c
[103/593] Emitting module _CertificateInternals
[104/593] Compiling _CertificateInternals _TinyArray.swift
[106/596] Emitting module SwiftSyntax509
[107/596] Compiling SwiftSyntax509 Empty.swift
[109/597] Compiling SystemPackage SystemString.swift
[110/597] Compiling SystemPackage Util+StringArray.swift
[111/597] Compiling SystemPackage Util.swift
[112/597] Compiling SystemPackage UtilConsumers.swift
[113/597] Compiling TSCLibc libc.swift
[114/598] Compiling SystemPackage Syscalls.swift
[115/598] Compiling SystemPackage WindowsSyscallAdapters.swift
[116/598] Compiling SystemPackage MachPort.swift
[117/598] Compiling SystemPackage PlatformString.swift
[119/598] Compiling SystemPackage Constants.swift
[120/598] Compiling SystemPackage Exports.swift
[121/598] Compiling SystemPackage Mocking.swift
[122/598] Compiling SystemPackage RawBuffer.swift
[123/598] Compiling SystemPackage IORing.swift
[124/598] Compiling SystemPackage RawIORequest.swift
[125/598] Compiling SystemPackage Backcompat.swift
[126/598] Compiling SystemPackage CInterop.swift
[127/640] Wrapping AST for _CertificateInternals for debugging
[128/655] Wrapping AST for SystemPackage for debugging
[130/663] Compiling GraphViz Attribute.swift
[131/663] Compiling GraphViz Edge.swift
[132/663] Compiling GraphViz KeyValuePairs+Extensions.swift
[133/691] Compiling SwiftSyntax SourceLocation.swift
[134/691] Compiling SwiftSyntax SourcePresence.swift
[135/691] Compiling SwiftSyntax SyntaxChildren.swift
[136/691] Compiling SwiftSyntax SyntaxCollection.swift
[137/691] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[138/691] Compiling SwiftSyntax Syntax.swift
[139/768] Compiling TSCBasic FileSystem.swift
[140/768] Compiling TSCBasic GraphAlgorithms.swift
[141/768] Emitting module InternalCollectionsUtilities
[142/768] Compiling TSCBasic CStringArray.swift
[143/768] Compiling TSCBasic CacheableSequence.swift
[144/768] Compiling TSCBasic Closable.swift
[145/768] Compiling TSCBasic CodableResult.swift
[146/768] Compiling TSCBasic CollectionAlgorithms.swift
[147/768] Compiling TSCBasic CollectionExtensions.swift
[148/768] Compiling TSCBasic Condition.swift
[149/769] Wrapping AST for TSCLibc for debugging
[151/824] Compiling _AsyncFileSystem MockFileSystem.swift
[152/825] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[153/825] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[154/825] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[155/825] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[156/825] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[157/825] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[158/825] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[159/832] Compiling OrderedCollections OrderedSet+Initializers.swift
[160/832] Compiling OrderedCollections OrderedSet+Insertions.swift
[161/832] Compiling OrderedCollections OrderedSet+Invariants.swift
[162/832] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[163/832] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[164/832] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[165/832] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[166/832] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[167/832] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[168/832] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[169/832] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[170/832] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[171/832] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[172/832] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[173/832] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[174/832] Compiling _AsyncFileSystem AsyncFileSystem.swift
[175/832] Emitting module _AsyncFileSystem
[176/832] Compiling _AsyncFileSystem ConcurrencySupport.swift
[177/832] Compiling _AsyncFileSystem WritableStream.swift
[178/832] Compiling _AsyncFileSystem OpenReadableFile.swift
[179/832] Compiling _AsyncFileSystem OpenWritableFile.swift
[180/832] Compiling _AsyncFileSystem ReadableFileStream.swift
[181/832] Compiling OrderedCollections OrderedSet+Descriptions.swift
[182/832] Compiling OrderedCollections OrderedSet+Diffing.swift
[183/832] Compiling OrderedCollections OrderedSet+Equatable.swift
[184/832] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[185/832] Compiling OrderedCollections OrderedSet+Hashable.swift
[190/840] Compiling OrderedCollections _HashTable+Bucket.swift
[191/840] Compiling OrderedCollections _HashTable+BucketIterator.swift
[192/840] Compiling OrderedCollections _HashTable+Constants.swift
[193/840] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[194/840] Compiling OrderedCollections _HashTable+Testing.swift
[195/840] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[196/840] Compiling OrderedCollections _HashTable.swift
[197/840] Compiling OrderedCollections _Hashtable+Header.swift
[198/840] Compiling OrderedCollections OrderedDictionary+Codable.swift
[199/840] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[200/840] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[201/840] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[202/840] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[203/840] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[204/840] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[205/840] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[206/840] Compiling OrderedCollections OrderedDictionary+Values.swift
[207/840] Compiling OrderedCollections OrderedDictionary.swift
[208/840] Compiling OrderedCollections OrderedSet+Codable.swift
[209/840] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[216/840] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[217/840] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[218/840] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[219/840] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[220/840] Compiling OrderedCollections OrderedDictionary+Elements.swift
[221/840] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[222/840] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[223/840] Emitting module TSCBasic
[228/847] Compiling FileMonitorShared URL+isDirectory.swift
[229/847] Compiling FileMonitorShared FileChangeEvent.swift
[230/847] Emitting module FileMonitorShared
[231/847] Compiling FileMonitorShared Watcher.swift
[239/848] Compiling PackageCollectionsModel PackageCollectionModel.swift
[261/848] Compiling GraphViz Rectangle.swift
[262/848] Compiling GraphViz Size.swift
[263/848] Compiling _AsyncFileSystem OSFileSystem.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:635: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>')
 633 |       #endif
 634 |         posix_spawnattr_init(&attributes)
 635 |         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
 636 |
 637 |         // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:640: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>')
 638 |         var noSignals = sigset_t()
 639 |         sigemptyset(&noSignals)
 640 |         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
 641 |
 642 |         // Reset all signals to default behavior.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:660: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>')
 658 |             sigaddset(&mostSignals, i)
 659 |         }
 660 |         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
 661 |       #endif
 662 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:668: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>')
 666 |             // Establish a separate process group.
 667 |             flags |= POSIX_SPAWN_SETPGROUP
 668 |             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
 669 |         }
 670 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:671: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>')
 669 |         }
 670 |
 671 |         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
 672 |
 673 |         // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:679:39: 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 |         var fileActions = posix_spawn_file_actions_t()
 678 |       #endif
 679 |         posix_spawn_file_actions_init(&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 |         defer { posix_spawn_file_actions_destroy(&fileActions) }
 681 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:680: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>')
 678 |       #endif
 679 |         posix_spawn_file_actions_init(&fileActions)
 680 |         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
 681 |
 682 |         if let workingDirectory = workingDirectory?.pathString {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:699: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>')
 697 |
 698 |         // Dupe the read portion of the remote to 0.
 699 |         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
 700 |
 701 |         // 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:702: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>')
 700 |
 701 |         // Close the other side's pipe since it was dupped to 0.
 702 |         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
 703 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
 704 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:703: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>')
 701 |         // Close the other side's pipe since it was dupped to 0.
 702 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
 703 |         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
 704 |
 705 |         var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:712: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>')
 710 |
 711 |             // Open the write end of the pipe.
 712 |             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
 713 |
 714 |             // 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:715: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>')
 713 |
 714 |             // Close the other ends of the pipe since they were dupped to 1.
 715 |             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
 716 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
 717 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:716: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>')
 714 |             // Close the other ends of the pipe since they were dupped to 1.
 715 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
 716 |             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
 717 |
 718 |             if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:720: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>')
 718 |             if outputRedirection.redirectStderr {
 719 |                 // If merged was requested, send stderr to stdout.
 720 |                 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
 721 |             } else {
 722 |                 // 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:724: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>')
 722 |                 // If no redirect was requested, open the pipe for stderr.
 723 |                 try open(pipe: &stderrPipe)
 724 |                 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
 725 |
 726 |                 // 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:727: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>')
 725 |
 726 |                 // Close the other ends of the pipe since they were dupped to 2.
 727 |                 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
 728 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
 729 |             }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:728: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>')
 726 |                 // Close the other ends of the pipe since they were dupped to 2.
 727 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
 728 |                 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
 729 |             }
 730 |         } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:731: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>')
 729 |             }
 730 |         } else {
 731 |             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
 732 |             posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
 733 |         }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732: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>')
 730 |         } else {
 731 |             posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
 732 |             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
 733 |         }
 734 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:741:92: error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
 739 |         let argv = CStringArray(resolvedArgs)
 740 |         let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
 741 |         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
 742 |
 743 |         guard rv == 0 else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:635: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>')
 633 |       #endif
 634 |         posix_spawnattr_init(&attributes)
 635 |         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
 636 |
 637 |         // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:640: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>')
 638 |         var noSignals = sigset_t()
 639 |         sigemptyset(&noSignals)
 640 |         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
 641 |
 642 |         // Reset all signals to default behavior.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:660: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>')
 658 |             sigaddset(&mostSignals, i)
 659 |         }
 660 |         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
 661 |       #endif
 662 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:668: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>')
 666 |             // Establish a separate process group.
 667 |             flags |= POSIX_SPAWN_SETPGROUP
 668 |             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
 669 |         }
 670 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:671: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>')
 669 |         }
 670 |
 671 |         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
 672 |
 673 |         // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:679:39: 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 |         var fileActions = posix_spawn_file_actions_t()
 678 |       #endif
 679 |         posix_spawn_file_actions_init(&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 |         defer { posix_spawn_file_actions_destroy(&fileActions) }
 681 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:680: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>')
 678 |       #endif
 679 |         posix_spawn_file_actions_init(&fileActions)
 680 |         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
 681 |
 682 |         if let workingDirectory = workingDirectory?.pathString {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:699: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>')
 697 |
 698 |         // Dupe the read portion of the remote to 0.
 699 |         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
 700 |
 701 |         // 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:702: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>')
 700 |
 701 |         // Close the other side's pipe since it was dupped to 0.
 702 |         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
 703 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
 704 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:703: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>')
 701 |         // Close the other side's pipe since it was dupped to 0.
 702 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
 703 |         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
 704 |
 705 |         var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:712: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>')
 710 |
 711 |             // Open the write end of the pipe.
 712 |             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
 713 |
 714 |             // 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:715: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>')
 713 |
 714 |             // Close the other ends of the pipe since they were dupped to 1.
 715 |             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
 716 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
 717 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:716: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>')
 714 |             // Close the other ends of the pipe since they were dupped to 1.
 715 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
 716 |             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
 717 |
 718 |             if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:720: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>')
 718 |             if outputRedirection.redirectStderr {
 719 |                 // If merged was requested, send stderr to stdout.
 720 |                 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
 721 |             } else {
 722 |                 // 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:724: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>')
 722 |                 // If no redirect was requested, open the pipe for stderr.
 723 |                 try open(pipe: &stderrPipe)
 724 |                 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
 725 |
 726 |                 // 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:727: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>')
 725 |
 726 |                 // Close the other ends of the pipe since they were dupped to 2.
 727 |                 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
 728 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
 729 |             }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:728: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>')
 726 |                 // Close the other ends of the pipe since they were dupped to 2.
 727 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
 728 |                 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
 729 |             }
 730 |         } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:731: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>')
 729 |             }
 730 |         } else {
 731 |             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
 732 |             posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
 733 |         }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732: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>')
 730 |         } else {
 731 |             posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
 732 |             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
 733 |         }
 734 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:741:92: error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
 739 |         let argv = CStringArray(resolvedArgs)
 740 |         let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
 741 |         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
 742 |
 743 |         guard rv == 0 else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:635: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>')
 633 |       #endif
 634 |         posix_spawnattr_init(&attributes)
 635 |         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
 636 |
 637 |         // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:640: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>')
 638 |         var noSignals = sigset_t()
 639 |         sigemptyset(&noSignals)
 640 |         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
 641 |
 642 |         // Reset all signals to default behavior.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:660: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>')
 658 |             sigaddset(&mostSignals, i)
 659 |         }
 660 |         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
 661 |       #endif
 662 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:668: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>')
 666 |             // Establish a separate process group.
 667 |             flags |= POSIX_SPAWN_SETPGROUP
 668 |             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
 669 |         }
 670 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:671: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>')
 669 |         }
 670 |
 671 |         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
 672 |
 673 |         // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:679:39: 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 |         var fileActions = posix_spawn_file_actions_t()
 678 |       #endif
 679 |         posix_spawn_file_actions_init(&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 |         defer { posix_spawn_file_actions_destroy(&fileActions) }
 681 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:680: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>')
 678 |       #endif
 679 |         posix_spawn_file_actions_init(&fileActions)
 680 |         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
 681 |
 682 |         if let workingDirectory = workingDirectory?.pathString {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:699: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>')
 697 |
 698 |         // Dupe the read portion of the remote to 0.
 699 |         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
 700 |
 701 |         // 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:702: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>')
 700 |
 701 |         // Close the other side's pipe since it was dupped to 0.
 702 |         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
 703 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
 704 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:703: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>')
 701 |         // Close the other side's pipe since it was dupped to 0.
 702 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
 703 |         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
 704 |
 705 |         var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:712: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>')
 710 |
 711 |             // Open the write end of the pipe.
 712 |             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
 713 |
 714 |             // 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:715: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>')
 713 |
 714 |             // Close the other ends of the pipe since they were dupped to 1.
 715 |             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
 716 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
 717 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:716: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>')
 714 |             // Close the other ends of the pipe since they were dupped to 1.
 715 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
 716 |             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
 717 |
 718 |             if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:720: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>')
 718 |             if outputRedirection.redirectStderr {
 719 |                 // If merged was requested, send stderr to stdout.
 720 |                 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
 721 |             } else {
 722 |                 // 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:724: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>')
 722 |                 // If no redirect was requested, open the pipe for stderr.
 723 |                 try open(pipe: &stderrPipe)
 724 |                 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
 725 |
 726 |                 // 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:727: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>')
 725 |
 726 |                 // Close the other ends of the pipe since they were dupped to 2.
 727 |                 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
 728 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
 729 |             }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:728: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>')
 726 |                 // Close the other ends of the pipe since they were dupped to 2.
 727 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
 728 |                 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
 729 |             }
 730 |         } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:731: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>')
 729 |             }
 730 |         } else {
 731 |             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
 732 |             posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
 733 |         }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732: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>')
 730 |         } else {
 731 |             posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
 732 |             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
 733 |         }
 734 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:741:92: error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
 739 |         let argv = CStringArray(resolvedArgs)
 740 |         let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
 741 |         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
 742 |
 743 |         guard rv == 0 else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:635: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>')
 633 |       #endif
 634 |         posix_spawnattr_init(&attributes)
 635 |         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
 636 |
 637 |         // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:640: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>')
 638 |         var noSignals = sigset_t()
 639 |         sigemptyset(&noSignals)
 640 |         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
 641 |
 642 |         // Reset all signals to default behavior.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:660: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>')
 658 |             sigaddset(&mostSignals, i)
 659 |         }
 660 |         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
 661 |       #endif
 662 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:668: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>')
 666 |             // Establish a separate process group.
 667 |             flags |= POSIX_SPAWN_SETPGROUP
 668 |             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
 669 |         }
 670 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:671: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>')
 669 |         }
 670 |
 671 |         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
 672 |
 673 |         // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:679:39: 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 |         var fileActions = posix_spawn_file_actions_t()
 678 |       #endif
 679 |         posix_spawn_file_actions_init(&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 |         defer { posix_spawn_file_actions_destroy(&fileActions) }
 681 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:680: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>')
 678 |       #endif
 679 |         posix_spawn_file_actions_init(&fileActions)
 680 |         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
 681 |
 682 |         if let workingDirectory = workingDirectory?.pathString {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:699: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>')
 697 |
 698 |         // Dupe the read portion of the remote to 0.
 699 |         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
 700 |
 701 |         // 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:702: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>')
 700 |
 701 |         // Close the other side's pipe since it was dupped to 0.
 702 |         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
 703 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
 704 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:703: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>')
 701 |         // Close the other side's pipe since it was dupped to 0.
 702 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
 703 |         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
 704 |
 705 |         var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:712: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>')
 710 |
 711 |             // Open the write end of the pipe.
 712 |             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
 713 |
 714 |             // 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:715: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>')
 713 |
 714 |             // Close the other ends of the pipe since they were dupped to 1.
 715 |             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
 716 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
 717 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:716: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>')
 714 |             // Close the other ends of the pipe since they were dupped to 1.
 715 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
 716 |             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
 717 |
 718 |             if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:720: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>')
 718 |             if outputRedirection.redirectStderr {
 719 |                 // If merged was requested, send stderr to stdout.
 720 |                 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
 721 |             } else {
 722 |                 // 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:724: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>')
 722 |                 // If no redirect was requested, open the pipe for stderr.
 723 |                 try open(pipe: &stderrPipe)
 724 |                 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
 725 |
 726 |                 // 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:727: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>')
 725 |
 726 |                 // Close the other ends of the pipe since they were dupped to 2.
 727 |                 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
 728 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
 729 |             }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:728: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>')
 726 |                 // Close the other ends of the pipe since they were dupped to 2.
 727 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
 728 |                 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
 729 |             }
 730 |         } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:731: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>')
 729 |             }
 730 |         } else {
 731 |             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
 732 |             posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
 733 |         }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732: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>')
 730 |         } else {
 731 |             posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
 732 |             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
 733 |         }
 734 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:741:92: error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
 739 |         let argv = CStringArray(resolvedArgs)
 740 |         let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
 741 |         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
 742 |
 743 |         guard rv == 0 else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:635: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>')
 633 |       #endif
 634 |         posix_spawnattr_init(&attributes)
 635 |         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
 636 |
 637 |         // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:640: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>')
 638 |         var noSignals = sigset_t()
 639 |         sigemptyset(&noSignals)
 640 |         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
 641 |
 642 |         // Reset all signals to default behavior.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:660: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>')
 658 |             sigaddset(&mostSignals, i)
 659 |         }
 660 |         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
 661 |       #endif
 662 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:668: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>')
 666 |             // Establish a separate process group.
 667 |             flags |= POSIX_SPAWN_SETPGROUP
 668 |             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
 669 |         }
 670 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:671: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>')
 669 |         }
 670 |
 671 |         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
 672 |
 673 |         // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:679:39: 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 |         var fileActions = posix_spawn_file_actions_t()
 678 |       #endif
 679 |         posix_spawn_file_actions_init(&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 |         defer { posix_spawn_file_actions_destroy(&fileActions) }
 681 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:680: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>')
 678 |       #endif
 679 |         posix_spawn_file_actions_init(&fileActions)
 680 |         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
 681 |
 682 |         if let workingDirectory = workingDirectory?.pathString {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:699: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>')
 697 |
 698 |         // Dupe the read portion of the remote to 0.
 699 |         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
 700 |
 701 |         // 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:702: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>')
 700 |
 701 |         // Close the other side's pipe since it was dupped to 0.
 702 |         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
 703 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
 704 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:703: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>')
 701 |         // Close the other side's pipe since it was dupped to 0.
 702 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
 703 |         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
 704 |
 705 |         var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:712: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>')
 710 |
 711 |             // Open the write end of the pipe.
 712 |             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
 713 |
 714 |             // 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:715: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>')
 713 |
 714 |             // Close the other ends of the pipe since they were dupped to 1.
 715 |             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
 716 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
 717 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:716: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>')
 714 |             // Close the other ends of the pipe since they were dupped to 1.
 715 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
 716 |             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
 717 |
 718 |             if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:720: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>')
 718 |             if outputRedirection.redirectStderr {
 719 |                 // If merged was requested, send stderr to stdout.
 720 |                 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
 721 |             } else {
 722 |                 // 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:724: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>')
 722 |                 // If no redirect was requested, open the pipe for stderr.
 723 |                 try open(pipe: &stderrPipe)
 724 |                 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
 725 |
 726 |                 // 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:727: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>')
 725 |
 726 |                 // Close the other ends of the pipe since they were dupped to 2.
 727 |                 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
 728 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
 729 |             }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:728: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>')
 726 |                 // Close the other ends of the pipe since they were dupped to 2.
 727 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
 728 |                 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
 729 |             }
 730 |         } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:731: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>')
 729 |             }
 730 |         } else {
 731 |             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
 732 |             posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
 733 |         }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732: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>')
 730 |         } else {
 731 |             posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
 732 |             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
 733 |         }
 734 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:741:92: error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
 739 |         let argv = CStringArray(resolvedArgs)
 740 |         let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
 741 |         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
 742 |
 743 |         guard rv == 0 else {
[270/864] Compiling DequeModule Deque+Equatable.swift
[271/864] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[272/867] Emitting module GraphViz
[273/867] Emitting module FileMonitor
[279/867] Compiling DequeModule Deque+CustomReflectable.swift
[280/867] Compiling DequeModule Deque+Descriptions.swift
[281/869] Compiling OrderedCollections OrderedSet+Sendable.swift
[282/869] Compiling OrderedCollections OrderedSet+SubSequence.swift
[283/869] Compiling OrderedCollections OrderedSet+Testing.swift
[284/869] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[285/869] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[286/869] Compiling OrderedCollections OrderedSet.swift
[287/869] Compiling OrderedCollections _UnsafeBitset.swift
[288/869] Compiling DequeModule _DequeBuffer.swift
[289/869] Compiling DequeModule _DequeBufferHeader.swift
[290/869] Compiling FileMonitor FileDidChangedDelegate.swift
[291/869] Compiling FileMonitor FileMonitor.swift
/host/spi-builder-workspace/.build/checkouts/FileMonitor/Sources/FileMonitor/FileMonitor.swift:53:37: error: enum case 'unsupported_os' has no associated values
51 |             watcher = try MacosWatcher(directory: url)
52 |         #else
53 |             throw FileMonitorErrors.unsupported_os()
   |                                     `- error: enum case 'unsupported_os' has no associated values
54 |         #endif
55 |
BUILD FAILURE 6.2 android