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 swift-package-collection-generator, reference main (ad1b72), with Swift 6.2 (beta) for Android on 23 Jun 2025 11:02:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-package-collection-generator.git
Reference: main
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/swiftlang/swift-package-collection-generator
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ad1b727 Merge pull request #69 from tuist/fix/build-issues
Cloned https://github.com/swiftlang/swift-package-collection-generator.git
Revision (git rev-parse @):
ad1b7278a6c53c899fed7628623569ce2c41663b
SUCCESS checkout https://github.com/swiftlang/swift-package-collection-generator.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/swiftlang/swift-package-collection-generator.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" 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:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
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.git
[1/157015] Fetching swift-package-manager
Fetched https://github.com/apple/swift-package-manager.git from cache (17.17s)
Fetching https://github.com/swiftlang/swift-llbuild.git
[1/29042] Fetching swift-llbuild
Fetched https://github.com/swiftlang/swift-llbuild.git from cache (2.98s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/70927] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.89s)
Fetching https://github.com/swiftlang/swift-tools-support-core.git
[1/6858] Fetching swift-tools-support-core
Fetched https://github.com/swiftlang/swift-tools-support-core.git from cache (0.76s)
Fetching https://github.com/swiftlang/swift-driver.git
[1/34998] Fetching swift-driver
Fetched https://github.com/swiftlang/swift-driver.git from cache (3.01s)
Fetching https://github.com/swiftlang/swift-build.git
[1/12060] Fetching swift-build
Fetched https://github.com/swiftlang/swift-build.git from cache (2.48s)
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-system.git
[1/136] Fetching swift-toolchain-sqlite
[18/6320] Fetching swift-toolchain-sqlite, swift-certificates
[80/10756] Fetching swift-toolchain-sqlite, swift-certificates, swift-system
[8951/26189] Fetching swift-toolchain-sqlite, swift-certificates, swift-system, swift-crypto
[10948/41569] Fetching swift-toolchain-sqlite, swift-certificates, swift-system, swift-crypto, swift-argument-parser
Fetching https://github.com/apple/swift-collections.git
[32774/58209] Fetching swift-toolchain-sqlite, swift-certificates, swift-system, swift-crypto, swift-argument-parser, swift-collections
Fetched https://github.com/apple/swift-certificates.git from cache (4.09s)
Fetched https://github.com/apple/swift-system.git from cache (4.11s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (4.11s)
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (4.12s)
Fetching https://github.com/swift-server/swift-backtrace.git
Fetched https://github.com/apple/swift-crypto.git from cache (4.19s)
Fetched https://github.com/apple/swift-collections.git from cache (2.39s)
[1/631] Fetching swift-backtrace
Fetched https://github.com/swift-server/swift-backtrace.git from cache (0.45s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (5.33s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.75s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.0.0 (0.76s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.5 (0.65s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.5.0 (0.84s)
Fetching https://github.com/apple/swift-asn1.git
[1/1616] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.52s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (5.24s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (2.05s)
Computing version for https://github.com/swift-server/swift-backtrace.git
Computed https://github.com/swift-server/swift-backtrace.git at 1.3.5 (0.89s)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
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/swiftlang/swift-llbuild.git
Working copy of https://github.com/swiftlang/swift-llbuild.git resolved at main (f3b9649)
Creating working copy for https://github.com/swiftlang/swift-driver.git
Working copy of https://github.com/swiftlang/swift-driver.git resolved at main (82510b8)
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
Creating working copy for https://github.com/apple/swift-package-manager.git
Working copy of https://github.com/apple/swift-package-manager.git resolved at main (3630c8d)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at main (e8c3dcf)
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.5
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/swift-server/swift-backtrace.git
Working copy of https://github.com/swift-server/swift-backtrace.git resolved at 1.3.5
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.5.1
Creating working copy for https://github.com/swiftlang/swift-build.git
Working copy of https://github.com/swiftlang/swift-build.git resolved at main (972a844)
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 main (f9b4010)
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.4
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/498] Write sources
[28/498] Compiling TSCclibc strerror.c
[29/498] Compiling TSCclibc libc.c
[30/498] Write swift-version-8C5A4AE7A8CE2BA.txt
[31/498] Compiling fiat_curve25519_adx_square.S
[32/498] Compiling CSystem shims.c
[33/498] Compiling TSCclibc process.c
[34/498] Compiling fiat_curve25519_adx_mul.S
[35/550] Compiling CCryptoBoringSSLShims shims.c
[36/556] Compiling v3_utl.c
[38/567] Emitting module _CertificateInternals
[38/567] Compiling v3_skey.c
[39/567] Compiling v3_purp.c
[40/567] Compiling v3_prn.c
[41/567] Compiling v3_pmaps.c
[42/567] Compiling v3_pcons.c
[43/567] Compiling v3_ocsp.c
[44/567] Compiling v3_ncons.c
[45/567] Compiling v3_lib.c
[46/567] Compiling v3_int.c
[47/567] Compiling v3_info.c
[48/567] Compiling v3_ia5.c
[49/567] Compiling v3_genn.c
[50/567] Compiling v3_extku.c
[51/567] Compiling v3_enum.c
[53/567] Emitting module InternalCollectionsUtilities
[54/569] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[55/569] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[56/569] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[57/569] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[58/569] Compiling InternalCollectionsUtilities Specialize.swift
[59/569] Compiling InternalCollectionsUtilities Debugging.swift
[60/569] Compiling InternalCollectionsUtilities Descriptions.swift
[61/569] Compiling InternalCollectionsUtilities _SortedCollection.swift
[62/569] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[65/569] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[66/569] Compiling InternalCollectionsUtilities Integer rank.swift
[67/569] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[68/569] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[69/569] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[70/569] Compiling InternalCollectionsUtilities UInt+reversed.swift
[71/569] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[75/571] Compiling v3_crld.c
[84/574] Emitting module SystemPackage
[92/574] Compiling SystemPackage MachPort.swift
[93/574] Compiling SystemPackage PlatformString.swift
[94/574] Compiling SystemPackage SystemString.swift
[95/574] Compiling SwiftASN1 DER.swift
[96/574] Compiling SwiftASN1 Errors.swift
[98/575] Compiling _CertificateInternals _TinyArray.swift
[100/576] Emitting module SwiftASN1
[100/576] Compiling v3_cpols.c
[102/646] Compiling DequeModule _DequeBuffer.swift
[103/646] Compiling DequeModule _DequeBufferHeader.swift
[103/648] Compiling v3_conf.c
[104/648] Wrapping AST for _CertificateInternals for debugging
[105/648] Wrapping AST for InternalCollectionsUtilities for debugging
[107/648] Compiling OrderedCollections OrderedSet+Descriptions.swift
[108/648] Compiling OrderedCollections OrderedSet+Diffing.swift
[109/648] Compiling OrderedCollections OrderedSet+Equatable.swift
[110/648] Compiling DequeModule _DequeSlot.swift
[111/648] Compiling DequeModule _UnsafeWrappedBuffer.swift
[111/648] Compiling v3_bitst.c
[113/648] Compiling DequeModule Deque+Testing.swift
[114/648] Compiling DequeModule Deque._Storage.swift
[115/648] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[116/648] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[117/648] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[118/648] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[119/648] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[120/648] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[121/648] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[122/648] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[123/648] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[124/648] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[125/648] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[126/648] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[127/648] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[128/648] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[129/655] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[130/655] Compiling OrderedCollections OrderedDictionary+Elements.swift
[131/655] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[132/655] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[133/655] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[134/655] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[135/655] Compiling OrderedCollections _HashTable+Bucket.swift
[136/655] Compiling OrderedCollections _HashTable+BucketIterator.swift
[136/655] Compiling v3_bcons.c
[138/655] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[139/655] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[140/655] Compiling OrderedCollections OrderedSet+Initializers.swift
[141/655] Compiling OrderedCollections OrderedSet+Insertions.swift
[142/655] Compiling OrderedCollections OrderedSet+Invariants.swift
[143/655] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[144/655] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[145/655] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[146/655] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[147/655] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[148/655] Compiling OrderedCollections OrderedDictionary.swift
[149/655] Compiling OrderedCollections OrderedSet+Codable.swift
[150/655] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[154/655] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[155/655] Compiling OrderedCollections OrderedSet+Hashable.swift
[155/655] Compiling v3_alt.c
[157/655] Compiling OrderedCollections OrderedDictionary+Codable.swift
[158/655] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[167/655] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[168/655] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[169/655] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[170/655] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[171/655] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[172/655] Compiling OrderedCollections OrderedDictionary+Values.swift
[173/655] Emitting module DequeModule
[185/656] Emitting module TSCLibc
[186/656] Compiling TSCLibc libc.swift
[186/657] Compiling v3_akeya.c
[196/658] Wrapping AST for DequeModule for debugging
[202/659] Wrapping AST for TSCLibc for debugging
[204/659] Compiling v3_akey.c
[206/699] Compiling PackageCollectionsModel PackageCollectionModel.swift
[206/699] Wrapping AST for SwiftASN1 for debugging
[207/703] Wrapping AST for SystemPackage for debugging
[209/707] Compiling _AsyncFileSystem AsyncFileSystem.swift
[210/708] Compiling _AsyncFileSystem WritableStream.swift
[210/708] Compiling x_x509a.c
[211/708] Compiling x_x509.c
[213/708] Compiling _AsyncFileSystem OpenReadableFile.swift
[214/708] Compiling _AsyncFileSystem ConcurrencySupport.swift
[215/708] Compiling _AsyncFileSystem MockFileSystem.swift
[216/708] Emitting module _AsyncFileSystem
[216/708] Compiling x_val.c
[218/708] Compiling OrderedCollections OrderedSet+Sendable.swift
[219/708] Compiling OrderedCollections OrderedSet+SubSequence.swift
[220/708] Compiling OrderedCollections OrderedSet+Testing.swift
[221/708] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[222/708] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[223/708] Compiling OrderedCollections OrderedSet.swift
[224/708] Compiling OrderedCollections _UnsafeBitset.swift
[225/708] Compiling _AsyncFileSystem OpenWritableFile.swift
[226/708] Compiling _AsyncFileSystem ReadableFileStream.swift
[226/708] Compiling x_spki.c
[228/708] Compiling _AsyncFileSystem OSFileSystem.swift
[228/709] Compiling x_req.c
[231/709] Compiling TSCBasic PathShims.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:635:41: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 633 |       #endif
 634 |         posix_spawnattr_init(&attributes)
 635 |         defer { posix_spawnattr_destroy(&attributes) }
     |                                         |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                         `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 636 |
 637 |         // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:640:36: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 638 |         var noSignals = sigset_t()
 639 |         sigemptyset(&noSignals)
 640 |         posix_spawnattr_setsigmask(&attributes, &noSignals)
     |                                    |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                    `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 658 |             sigaddset(&mostSignals, i)
 659 |         }
 660 |         posix_spawnattr_setsigdefault(&attributes, &mostSignals)
     |                                       |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                       `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 661 |       #endif
 662 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:668:39: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 666 |             // Establish a separate process group.
 667 |             flags |= POSIX_SPAWN_SETPGROUP
 668 |             posix_spawnattr_setpgroup(&attributes, 0)
     |                                       |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                       `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 669 |         }
 670 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:671:34: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 669 |         }
 670 |
 671 |         posix_spawnattr_setflags(&attributes, Int16(flags))
     |                                  |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 672 |
 673 |         // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:679:39: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 677 |         var fileActions = posix_spawn_file_actions_t()
 678 |       #endif
 679 |         posix_spawn_file_actions_init(&fileActions)
     |                                       |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                       `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 678 |       #endif
 679 |         posix_spawn_file_actions_init(&fileActions)
 680 |         defer { posix_spawn_file_actions_destroy(&fileActions) }
     |                                                  |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 697 |
 698 |         // Dupe the read portion of the remote to 0.
 699 |         posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
     |                                          |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                          `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka '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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                           `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka '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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                           `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 710 |
 711 |             // Open the write end of the pipe.
 712 |             posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
     |                                              |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                              `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka '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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka '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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 717 |
 718 |             if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:720:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 718 |             if outputRedirection.redirectStderr {
 719 |                 // If merged was requested, send stderr to stdout.
 720 |                 posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
     |                                                  |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka '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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka '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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                   `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka '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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                   `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 729 |             }
 730 |         } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:731:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 729 |             }
 730 |         } else {
 731 |             posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
     |                                              |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                              `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 730 |         } else {
 731 |             posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
 732 |             posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
     |                                              |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                              `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 733 |         }
 734 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:741:92: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type '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: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
     |                                                                                            |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
     |                                                                                            `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 742 |
 743 |         guard rv == 0 else {
[232/709] Compiling TSCBasic Process.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:635:41: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 633 |       #endif
 634 |         posix_spawnattr_init(&attributes)
 635 |         defer { posix_spawnattr_destroy(&attributes) }
     |                                         |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                         `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 636 |
 637 |         // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:640:36: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 638 |         var noSignals = sigset_t()
 639 |         sigemptyset(&noSignals)
 640 |         posix_spawnattr_setsigmask(&attributes, &noSignals)
     |                                    |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                    `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 658 |             sigaddset(&mostSignals, i)
 659 |         }
 660 |         posix_spawnattr_setsigdefault(&attributes, &mostSignals)
     |                                       |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                       `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 661 |       #endif
 662 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:668:39: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 666 |             // Establish a separate process group.
 667 |             flags |= POSIX_SPAWN_SETPGROUP
 668 |             posix_spawnattr_setpgroup(&attributes, 0)
     |                                       |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                       `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 669 |         }
 670 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:671:34: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 669 |         }
 670 |
 671 |         posix_spawnattr_setflags(&attributes, Int16(flags))
     |                                  |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 672 |
 673 |         // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:679:39: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 677 |         var fileActions = posix_spawn_file_actions_t()
 678 |       #endif
 679 |         posix_spawn_file_actions_init(&fileActions)
     |                                       |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                       `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 678 |       #endif
 679 |         posix_spawn_file_actions_init(&fileActions)
 680 |         defer { posix_spawn_file_actions_destroy(&fileActions) }
     |                                                  |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 697 |
 698 |         // Dupe the read portion of the remote to 0.
 699 |         posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
     |                                          |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                          `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka '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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                           `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka '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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                           `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 710 |
 711 |             // Open the write end of the pipe.
 712 |             posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
     |                                              |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                              `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka '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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka '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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 717 |
 718 |             if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:720:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 718 |             if outputRedirection.redirectStderr {
 719 |                 // If merged was requested, send stderr to stdout.
 720 |                 posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
     |                                                  |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka '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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka '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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                   `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka '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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                   `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 729 |             }
 730 |         } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:731:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 729 |             }
 730 |         } else {
 731 |             posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
     |                                              |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                              `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 730 |         } else {
 731 |             posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
 732 |             posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
     |                                              |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                              `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 733 |         }
 734 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:741:92: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type '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: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
     |                                                                                            |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
     |                                                                                            `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 742 |
 743 |         guard rv == 0 else {
[233/709] Compiling TSCBasic ProcessEnv.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:635:41: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 633 |       #endif
 634 |         posix_spawnattr_init(&attributes)
 635 |         defer { posix_spawnattr_destroy(&attributes) }
     |                                         |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                         `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 636 |
 637 |         // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:640:36: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 638 |         var noSignals = sigset_t()
 639 |         sigemptyset(&noSignals)
 640 |         posix_spawnattr_setsigmask(&attributes, &noSignals)
     |                                    |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                    `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 658 |             sigaddset(&mostSignals, i)
 659 |         }
 660 |         posix_spawnattr_setsigdefault(&attributes, &mostSignals)
     |                                       |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                       `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 661 |       #endif
 662 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:668:39: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 666 |             // Establish a separate process group.
 667 |             flags |= POSIX_SPAWN_SETPGROUP
 668 |             posix_spawnattr_setpgroup(&attributes, 0)
     |                                       |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                       `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 669 |         }
 670 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:671:34: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 669 |         }
 670 |
 671 |         posix_spawnattr_setflags(&attributes, Int16(flags))
     |                                  |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 672 |
 673 |         // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:679:39: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 677 |         var fileActions = posix_spawn_file_actions_t()
 678 |       #endif
 679 |         posix_spawn_file_actions_init(&fileActions)
     |                                       |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                       `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 678 |       #endif
 679 |         posix_spawn_file_actions_init(&fileActions)
 680 |         defer { posix_spawn_file_actions_destroy(&fileActions) }
     |                                                  |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 697 |
 698 |         // Dupe the read portion of the remote to 0.
 699 |         posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
     |                                          |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                          `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka '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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                           `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka '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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                           `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 710 |
 711 |             // Open the write end of the pipe.
 712 |             posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
     |                                              |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                              `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka '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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka '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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 717 |
 718 |             if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:720:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 718 |             if outputRedirection.redirectStderr {
 719 |                 // If merged was requested, send stderr to stdout.
 720 |                 posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
     |                                                  |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka '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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka '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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                   `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka '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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                   `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 729 |             }
 730 |         } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:731:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 729 |             }
 730 |         } else {
 731 |             posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
     |                                              |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                              `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 730 |         } else {
 731 |             posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
 732 |             posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
     |                                              |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                              `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 733 |         }
 734 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:741:92: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type '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: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
     |                                                                                            |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
     |                                                                                            `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 742 |
 743 |         guard rv == 0 else {
[234/709] Compiling TSCBasic ProcessSet.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:635:41: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 633 |       #endif
 634 |         posix_spawnattr_init(&attributes)
 635 |         defer { posix_spawnattr_destroy(&attributes) }
     |                                         |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                         `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 636 |
 637 |         // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:640:36: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 638 |         var noSignals = sigset_t()
 639 |         sigemptyset(&noSignals)
 640 |         posix_spawnattr_setsigmask(&attributes, &noSignals)
     |                                    |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                    `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 658 |             sigaddset(&mostSignals, i)
 659 |         }
 660 |         posix_spawnattr_setsigdefault(&attributes, &mostSignals)
     |                                       |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                       `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 661 |       #endif
 662 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:668:39: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 666 |             // Establish a separate process group.
 667 |             flags |= POSIX_SPAWN_SETPGROUP
 668 |             posix_spawnattr_setpgroup(&attributes, 0)
     |                                       |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                       `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 669 |         }
 670 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:671:34: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 669 |         }
 670 |
 671 |         posix_spawnattr_setflags(&attributes, Int16(flags))
     |                                  |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 672 |
 673 |         // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:679:39: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 677 |         var fileActions = posix_spawn_file_actions_t()
 678 |       #endif
 679 |         posix_spawn_file_actions_init(&fileActions)
     |                                       |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                       `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 678 |       #endif
 679 |         posix_spawn_file_actions_init(&fileActions)
 680 |         defer { posix_spawn_file_actions_destroy(&fileActions) }
     |                                                  |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 697 |
 698 |         // Dupe the read portion of the remote to 0.
 699 |         posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
     |                                          |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                          `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka '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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                           `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka '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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                           `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 710 |
 711 |             // Open the write end of the pipe.
 712 |             posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
     |                                              |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                              `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka '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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka '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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 717 |
 718 |             if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:720:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 718 |             if outputRedirection.redirectStderr {
 719 |                 // If merged was requested, send stderr to stdout.
 720 |                 posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
     |                                                  |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka '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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka '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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                   `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka '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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                   `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 729 |             }
 730 |         } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:731:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 729 |             }
 730 |         } else {
 731 |             posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
     |                                              |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                              `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 730 |         } else {
 731 |             posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
 732 |             posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
     |                                              |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                              `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 733 |         }
 734 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:741:92: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type '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: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
     |                                                                                            |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
     |                                                                                            `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 742 |
 743 |         guard rv == 0 else {
[235/709] Compiling TSCBasic RegEx.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:635:41: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 633 |       #endif
 634 |         posix_spawnattr_init(&attributes)
 635 |         defer { posix_spawnattr_destroy(&attributes) }
     |                                         |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                         `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 636 |
 637 |         // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:640:36: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 638 |         var noSignals = sigset_t()
 639 |         sigemptyset(&noSignals)
 640 |         posix_spawnattr_setsigmask(&attributes, &noSignals)
     |                                    |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                    `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 658 |             sigaddset(&mostSignals, i)
 659 |         }
 660 |         posix_spawnattr_setsigdefault(&attributes, &mostSignals)
     |                                       |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                       `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 661 |       #endif
 662 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:668:39: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 666 |             // Establish a separate process group.
 667 |             flags |= POSIX_SPAWN_SETPGROUP
 668 |             posix_spawnattr_setpgroup(&attributes, 0)
     |                                       |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                       `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 669 |         }
 670 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:671:34: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 669 |         }
 670 |
 671 |         posix_spawnattr_setflags(&attributes, Int16(flags))
     |                                  |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 672 |
 673 |         // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:679:39: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 677 |         var fileActions = posix_spawn_file_actions_t()
 678 |       #endif
 679 |         posix_spawn_file_actions_init(&fileActions)
     |                                       |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                       `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 678 |       #endif
 679 |         posix_spawn_file_actions_init(&fileActions)
 680 |         defer { posix_spawn_file_actions_destroy(&fileActions) }
     |                                                  |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 697 |
 698 |         // Dupe the read portion of the remote to 0.
 699 |         posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
     |                                          |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                          `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka '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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                           `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka '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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                           `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 710 |
 711 |             // Open the write end of the pipe.
 712 |             posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
     |                                              |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                              `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka '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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka '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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 717 |
 718 |             if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:720:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 718 |             if outputRedirection.redirectStderr {
 719 |                 // If merged was requested, send stderr to stdout.
 720 |                 posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
     |                                                  |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka '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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka '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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                   `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka '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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                   `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 729 |             }
 730 |         } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:731:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 729 |             }
 730 |         } else {
 731 |             posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
     |                                              |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                              `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 730 |         } else {
 731 |             posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
 732 |             posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
     |                                              |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                              `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 733 |         }
 734 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:741:92: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type '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: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
     |                                                                                            |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
     |                                                                                            `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 742 |
 743 |         guard rv == 0 else {
[236/714] Compiling TSCBasic CollectionExtensions.swift
[237/714] Compiling TSCBasic Condition.swift
[238/714] Compiling TSCBasic DeltaAlgorithm.swift
[239/714] Compiling TSCBasic DiagnosticsEngine.swift
[240/714] Compiling TSCBasic DictionaryExtensions.swift
[241/714] Compiling TSCBasic DictionaryLiteralExtensions.swift
[242/714] Compiling TSCBasic EditDistance.swift
[243/714] Compiling TSCBasic FileInfo.swift
[243/714] Compiling x_sig.c
[244/714] Wrapping AST for _AsyncFileSystem for debugging
[245/714] Compiling x_pkey.c
[246/714] Compiling x_info.c
[247/714] Compiling x_pubkey.c
[248/714] Compiling x_exten.c
[249/714] Compiling SwiftToolchainCSQLite sqlite3.c
[250/714] Compiling x_name.c
[252/714] Emitting module OrderedCollections
[253/715] Compiling x509spki.c
[254/715] Wrapping AST for OrderedCollections for debugging
[255/715] Compiling x_crl.c
[256/715] Compiling x_attrib.c
[257/715] Compiling x_algor.c
[258/715] Compiling x509rset.c
[259/715] Compiling x_all.c
[260/715] Compiling x509name.c
[261/715] Compiling x509cset.c
[263/715] Emitting module PackageCollectionsModel
[264/715] Compiling PackageCollectionsModel PackageCollectionModel+v1.swift
[264/716] Compiling x509_txt.c
[266/716] Compiling x509_trs.c
[267/716] Wrapping AST for PackageCollectionsModel for debugging
[268/716] Compiling x509_req.c
[269/716] Compiling x509_lu.c
[270/716] Compiling x509_vpm.c
[271/716] Compiling x509_v3.c
[272/716] Compiling x509_def.c
[273/716] Compiling x509_set.c
[274/716] Compiling x509_obj.c
[276/716] Compiling TSCBasic Result.swift
[277/716] Compiling TSCBasic SortedArray.swift
[278/716] Compiling TSCBasic StringConversions.swift
[279/716] Compiling TSCBasic SynchronizedQueue.swift
[280/716] Compiling TSCBasic TemporaryFile.swift
[280/716] Compiling x509_vfy.c
[281/716] Compiling x509.c
[282/716] Compiling x509_att.c
[283/716] Compiling x509_ext.c
[284/716] Compiling x509_d2.c
[285/716] Compiling t_x509a.c
[286/716] Compiling x509_cmp.c
[288/716] Compiling TSCBasic OSLog.swift
[289/716] Compiling TSCBasic ObjectIdentifierProtocol.swift
[290/716] Compiling TSCBasic OrderedDictionary.swift
[291/716] Compiling TSCBasic OrderedSet.swift
[292/716] Compiling TSCBasic Path.swift
[292/716] Compiling t_x509.c
[293/716] Compiling policy.c
[294/716] Compiling i2d_pr.c
[295/716] Compiling name_print.c
[296/716] Compiling t_crl.c
[297/716] Compiling t_req.c
[298/716] Compiling rsa_pss.c
[299/716] Compiling by_dir.c
[300/716] Compiling algorithm.c
[301/716] Compiling by_file.c
[302/716] Compiling a_verify.c
[304/716] Compiling TSCBasic CodableResult.swift
[305/716] Compiling TSCBasic CollectionAlgorithms.swift
[310/716] Compiling TSCBasic Await.swift
[311/716] Compiling TSCBasic Base64URL.swift
[312/716] Compiling TSCBasic ByteString.swift
[313/716] Compiling TSCBasic CStringArray.swift
[314/716] Compiling TSCBasic CacheableSequence.swift
[315/716] Compiling TSCBasic Closable.swift
[316/716] Emitting module TSCBasic
[321/716] Compiling TSCBasic FileSystem.swift
[322/716] Compiling TSCBasic GraphAlgorithms.swift
[322/716] Compiling asn1_gen.c
[323/716] Compiling a_sign.c
[324/716] Compiling a_digest.c
[325/716] Compiling thread_win.c
[326/716] Compiling thread.c
[326/716] Compiling trust_token.c
[328/716] Compiling thread_none.c
[329/716] Compiling voprf.c
[330/716] Compiling thread_pthread.c
[331/716] Compiling pmbtoken.c
[332/716] Compiling stack.c
[333/716] Compiling siphash.c
[334/716] Compiling rc4.c
[335/716] Compiling rsa_print.c
[336/716] Compiling rsa_asn1.c
[337/716] Compiling refcount.c
[338/716] Compiling windows.c
[339/716] Compiling rand_extra.c
[340/716] Compiling ios.c
[341/716] Compiling rsa_crypt.c
[342/716] Compiling trusty.c
[343/716] Compiling passive.c
[344/716] Compiling getentropy.c
[345/716] Compiling forkunsafe.c
[346/716] Compiling deterministic.c
[347/716] Compiling poly1305_arm_asm.S
[349/716] Compiling TSCBasic TerminalController.swift
[350/716] Compiling TSCBasic Thread.swift
[351/716] Compiling TSCBasic Tuple.swift
[352/716] Compiling TSCBasic WritableByteStream.swift
[353/716] Compiling TSCBasic misc.swift
[353/716] Compiling poly1305_vec.c
[354/716] Compiling poly1305_arm.c
[355/716] Compiling poly1305.c
[356/716] Compiling pool.c
[357/716] Compiling pkcs7.c
[358/716] Compiling pkcs8_x509.c
[359/716] Compiling pem_x509.c
[360/716] Compiling pkcs8.c
[361/716] Compiling p5_pbev2.c
[362/716] Compiling pem_xaux.c
[364/716] Compiling TSCBasic HashAlgorithms.swift
[365/716] Compiling TSCBasic JSON.swift
[366/716] Compiling TSCBasic JSONMapper.swift
[367/716] Compiling TSCBasic KeyedPair.swift
[368/716] Compiling TSCBasic LazyCache.swift
[369/716] Compiling TSCBasic Lock.swift
[369/716] Compiling pem_pkey.c
[370/716] Compiling pkcs7_x509.c
[371/716] Compiling pem_pk8.c
[371/716] Compiling pem_oth.c
[371/716] Compiling pem_info.c
[371/716] Compiling obj_xref.c
[371/716] Compiling obj.c
[371/716] Compiling pem_lib.c
[371/716] Compiling pem_all.c
BUILD FAILURE 6.2 android