Build Information
Failed to build package-swift-lsp, reference 1.6.1 (324a4c), with Swift 6.3 for Android on 29 Apr 2026 20:01:03 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kattouf/package-swift-lsp.git
Reference: 1.6.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/kattouf/package-swift-lsp
* tag 1.6.1 -> FETCH_HEAD
HEAD is now at 324a4cb chore(release): Bump version to 1.6.1
Cloned https://github.com/kattouf/package-swift-lsp.git
Revision (git rev-parse @):
324a4cb02ee23642b49108bcf8a8133ed14893d7
SUCCESS checkout https://github.com/kattouf/package-swift-lsp.git at 1.6.1
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/kattouf/package-swift-lsp.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/ChimeHQ/LanguageServer
[1/78] Fetching languageserver
Fetched https://github.com/ChimeHQ/LanguageServer from cache (0.32s)
Fetching https://github.com/swiftlang/swift-package-manager
[1/178811] Fetching swift-package-manager
Fetched https://github.com/swiftlang/swift-package-manager from cache (16.59s)
Fetching https://github.com/swiftlang/swift-llbuild.git
[1/29510] Fetching swift-llbuild
Fetched https://github.com/swiftlang/swift-llbuild.git from cache (2.41s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/75040] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.06s)
Fetching https://github.com/swiftlang/swift-tools-support-core.git
[1/7219] Fetching swift-tools-support-core
Fetched https://github.com/swiftlang/swift-tools-support-core.git from cache (0.55s)
Fetching https://github.com/swiftlang/swift-driver.git
[1/37932] Fetching swift-driver
Fetched https://github.com/swiftlang/swift-driver.git from cache (3.42s)
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-system.git
[1/285] Fetching swift-toolchain-sqlite
[10/24095] Fetching swift-toolchain-sqlite, swift-collections
[11/41581] Fetching swift-toolchain-sqlite, swift-collections, swift-argument-parser
[662/47182] Fetching swift-toolchain-sqlite, swift-collections, swift-argument-parser, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.92s)
[14955/41581] Fetching swift-toolchain-sqlite, swift-collections, swift-argument-parser
Fetching https://github.com/ChimeHQ/LanguageServerProtocol
[26820/43435] Fetching swift-toolchain-sqlite, swift-collections, swift-argument-parser, languageserverprotocol
Fetched https://github.com/ChimeHQ/LanguageServerProtocol from cache (0.87s)
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.85s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-certificates.git
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (1.91s)
Fetching https://github.com/pointfreeco/swift-concurrency-extras.git
[15239/23810] Fetching swift-collections
[19764/24766] Fetching swift-collections, swift-concurrency-extras
[20966/32032] Fetching swift-collections, swift-concurrency-extras, swift-certificates
[22584/38834] Fetching swift-collections, swift-concurrency-extras, swift-certificates, swift-log
[23658/56291] Fetching swift-collections, swift-concurrency-extras, swift-certificates, swift-log, swift-crypto
Fetched https://github.com/pointfreeco/swift-concurrency-extras.git from cache (0.61s)
[35597/55335] Fetching swift-collections, swift-certificates, swift-log, swift-crypto
Fetching https://github.com/swiftlang/swift-subprocess.git
Fetched https://github.com/apple/swift-log.git from cache (2.80s)
Fetched https://github.com/apple/swift-certificates.git from cache (3.16s)
Fetched https://github.com/apple/swift-collections.git from cache (5.50s)
[1/3008] Fetching swift-subprocess
Fetched https://github.com/apple/swift-crypto.git from cache (4.60s)
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (3.32s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.0.0 (10.00s)
Computing version for https://github.com/ChimeHQ/LanguageServerProtocol
Computed https://github.com/ChimeHQ/LanguageServerProtocol at 0.14.1 (0.43s)
Fetching https://github.com/ChimeHQ/JSONRPC
[1/634] Fetching jsonrpc
Fetched https://github.com/ChimeHQ/JSONRPC from cache (0.64s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras.git
Computed https://github.com/pointfreeco/swift-concurrency-extras.git at 1.3.2 (1.16s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.4.0 (0.54s)
Computing version for https://github.com/ChimeHQ/JSONRPC
Computed https://github.com/ChimeHQ/JSONRPC at 0.9.2 (0.43s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.5.0 (0.95s)
Fetching https://github.com/apple/swift-asn1.git
[1/1803] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.37s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.89s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (0.49s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.9 (0.49s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (0.51s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.83s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.6 (0.78s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.6
Creating working copy for https://github.com/swiftlang/swift-llbuild.git
Working copy of https://github.com/swiftlang/swift-llbuild.git resolved at release/6.2 (073dff5)
Creating working copy for https://github.com/swiftlang/swift-tools-support-core.git
Working copy of https://github.com/swiftlang/swift-tools-support-core.git resolved at release/6.2 (5a993c8)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at release/6.2 (5a87516)
Creating working copy for https://github.com/swiftlang/swift-driver.git
Working copy of https://github.com/swiftlang/swift-driver.git resolved at release/6.2 (aedacc6)
Creating working copy for https://github.com/ChimeHQ/LanguageServer
Working copy of https://github.com/ChimeHQ/LanguageServer resolved at main (2bbf950)
Creating working copy for https://github.com/swiftlang/swift-package-manager
Working copy of https://github.com/swiftlang/swift-package-manager resolved at 3cf1cb66ebde00dab737dcebad96218e2017530d
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/ChimeHQ/LanguageServerProtocol
Working copy of https://github.com/ChimeHQ/LanguageServerProtocol resolved at 0.14.1
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.7.1
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at 0.4.0
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras.git
Working copy of https://github.com/pointfreeco/swift-concurrency-extras.git resolved at 1.3.2
Creating working copy for https://github.com/ChimeHQ/JSONRPC
Working copy of https://github.com/ChimeHQ/JSONRPC resolved at 0.9.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-toolchain-sqlite
Working copy of https://github.com/swiftlang/swift-toolchain-sqlite resolved at 1.0.9
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/528] Write sources
[26/528] Compiling TSCclibc libc.c
[27/528] Compiling TSCclibc strerror.c
[28/528] Compiling TSCclibc process.c
[29/528] Write sources
[54/528] Compiling _SwiftSyntaxCShims PlatformMutex.c
[55/528] Compiling _SubprocessCShims process_shims.c
[56/528] Write swift-version--4F562202D5529B1.txt
[57/528] Compiling fiat_curve25519_adx_square.S
[58/528] Compiling fiat_curve25519_adx_mul.S
[59/530] Compiling CSystem shims.c
[60/533] Compiling CCryptoBoringSSLShims shims.c
[61/533] Compiling v3_utl.c
[62/533] Compiling v3_skey.c
[63/537] Compiling v3_purp.c
[65/541] Emitting module SwiftSyntax602
[66/571] Emitting module TSCLibc
[67/571] Emitting module SystemPackage
[68/575] Emitting module SwiftSyntax600
[69/575] Compiling SwiftSyntax600 Empty.swift
[70/576] Emitting module SwiftSyntax510
[71/576] Compiling SwiftSyntax510 Empty.swift
[72/576] Compiling SystemPackage FilePathWindows.swift
[73/576] Compiling SystemPackage FilePermissions.swift
[74/576] Compiling SystemPackage IOCompletion.swift
[75/576] Compiling SystemPackage IORequest.swift
[77/577] Compiling SwiftSyntax602 Empty.swift
[79/578] Compiling SystemPackage FilePath.swift
[80/578] Compiling SystemPackage FilePathComponentView.swift
[81/578] Compiling SystemPackage FilePathComponents.swift
[82/578] Compiling SystemPackage FilePathParsing.swift
[83/578] Compiling SystemPackage FilePathString.swift
[85/578] Compiling SystemPackage Errno.swift
[86/578] Compiling SystemPackage ErrnoWindows.swift
[87/578] Compiling SystemPackage FileDescriptor.swift
[88/578] Compiling SystemPackage FileHelpers.swift
[89/578] Compiling SystemPackage FileOperations.swift
[90/580] Compiling SystemPackage SystemString.swift
[91/580] Compiling SystemPackage Util+StringArray.swift
[92/580] Compiling SystemPackage Util.swift
[93/580] Compiling SystemPackage UtilConsumers.swift
[94/580] Compiling SystemPackage FilePathSyntax.swift
[95/580] Compiling SystemPackage FilePathTemp.swift
[96/580] Compiling SystemPackage FilePathTempPosix.swift
[97/580] Compiling SystemPackage FilePathTempWindows.swift
[98/581] Compiling SwiftSyntax601 Empty.swift
[99/581] Emitting module SwiftSyntax601
[100/601] Compiling SwiftSyntax509 Empty.swift
[101/601] Emitting module SwiftSyntax509
[103/602] Compiling SwiftASN1 ASN1BitString.swift
[104/602] Compiling SwiftASN1 ASN1Boolean.swift
[105/602] Compiling SwiftASN1 ASN1Identifier.swift
[106/602] Compiling SwiftASN1 ArraySliceBigint.swift
[108/608] Emitting module _CertificateInternals
[109/608] Compiling _CertificateInternals _TinyArray.swift
[110/684] Compiling SwiftToolchainCSQLite sqlite3.c
[112/701] Compiling InternalCollectionsUtilities _SortedCollection.swift
[113/701] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[114/703] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[115/703] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[116/703] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[117/703] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[118/703] Compiling InternalCollectionsUtilities Specialize.swift
[119/703] Compiling InternalCollectionsUtilities Debugging.swift
[120/703] Compiling InternalCollectionsUtilities Descriptions.swift
[121/703] Compiling InternalCollectionsUtilities UInt+reversed.swift
[122/703] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[123/703] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[124/703] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[125/703] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[126/703] Compiling InternalCollectionsUtilities Integer rank.swift
[127/703] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[128/703] Emitting module InternalCollectionsUtilities
[129/703] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[130/703] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[141/767] Compiling TSCLibc libc.swift
[143/768] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[144/768] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[145/768] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[146/768] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[147/768] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[148/768] Compiling OrderedCollections OrderedSet+Descriptions.swift
[149/768] Compiling OrderedCollections OrderedSet+Diffing.swift
[150/768] Compiling OrderedCollections OrderedSet+Equatable.swift
[152/769] Compiling Logging MetadataProvider.swift
[153/809] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[154/809] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[155/809] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[156/809] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[157/809] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[158/809] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[159/809] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[160/809] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[161/809] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[162/809] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[163/809] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[164/809] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[165/809] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[166/809] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[167/809] Emitting module Logging
[168/816] Compiling TSCBasic Condition.swift
[169/816] Compiling TSCBasic DeltaAlgorithm.swift
[170/816] Compiling TSCBasic DiagnosticsEngine.swift
[171/816] Compiling TSCBasic DictionaryExtensions.swift
[172/816] Compiling TSCBasic DictionaryLiteralExtensions.swift
[173/816] Compiling TSCBasic EditDistance.swift
[174/816] Compiling TSCBasic FileInfo.swift
[175/816] Compiling TSCBasic FileSystem.swift
[176/816] Compiling TSCBasic GraphAlgorithms.swift
[177/821] Compiling TSCBasic ProcessSet.swift
[178/821] Compiling TSCBasic RegEx.swift
[179/821] Compiling TSCBasic Result.swift
[180/821] Compiling TSCBasic SortedArray.swift
[181/821] Compiling TSCBasic StringConversions.swift
[182/821] Compiling TSCBasic SynchronizedQueue.swift
[183/821] Compiling TSCBasic TemporaryFile.swift
[184/821] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[185/831] Compiling DequeModule Deque+Testing.swift
[186/831] Compiling DequeModule Deque._Storage.swift
[187/831] Compiling DequeModule _DequeBuffer.swift
[188/831] Compiling DequeModule _DequeBufferHeader.swift
[189/831] Compiling DequeModule Deque._UnsafeHandle.swift
[190/831] Compiling DequeModule Deque.swift
[193/831] Compiling DequeModule Deque+CustomReflectable.swift
[194/831] Compiling DequeModule Deque+Descriptions.swift
[197/835] Compiling PackageCollectionsModel PackageCollectionModel.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
3 | import Glibc
4 | #else
5 | import Darwin.C
| `- error: no such module 'Darwin.C'
6 | #endif
7 |
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
3 | import Glibc
4 | #else
5 | import Darwin.C
| `- error: no such module 'Darwin.C'
6 | #endif
7 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[202/836] Emitting module JSONRPC
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
3 | import Glibc
4 | #else
5 | import Darwin.C
| `- error: no such module 'Darwin.C'
6 | #endif
7 |
[203/836] Compiling DequeModule Deque+Codable.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
3 | import Glibc
4 | #else
5 | import Darwin.C
| `- error: no such module 'Darwin.C'
6 | #endif
7 |
[204/836] Compiling DequeModule Deque+Collection.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
3 | import Glibc
4 | #else
5 | import Darwin.C
| `- error: no such module 'Darwin.C'
6 | #endif
7 |
[205/836] Compiling SwiftASN1 DER.swift
[206/836] Compiling SwiftASN1 Errors.swift
[207/836] Compiling TSCBasic HashAlgorithms.swift
[208/836] Compiling TSCBasic JSON.swift
[209/836] Compiling TSCBasic JSONMapper.swift
[210/836] Compiling TSCBasic KeyedPair.swift
[211/836] Compiling TSCBasic LazyCache.swift
[212/836] Compiling TSCBasic Lock.swift
[213/836] Compiling TSCBasic OSLog.swift
[214/836] Compiling TSCBasic ObjectIdentifierProtocol.swift
[215/836] Compiling TSCBasic OrderedDictionary.swift
[216/836] Compiling TSCBasic OrderedSet.swift
[217/836] Compiling TSCBasic Path.swift
[218/836] Compiling TSCBasic PathShims.swift
[219/836] Compiling TSCBasic Process.swift
[220/836] Compiling TSCBasic ProcessEnv.swift
[221/836] Compiling DequeModule Deque+Extras.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
3 | import Glibc
4 | #else
5 | import Darwin.C
| `- error: no such module 'Darwin.C'
6 | #endif
7 |
[222/836] Compiling DequeModule Deque+Hashable.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
3 | import Glibc
4 | #else
5 | import Darwin.C
| `- error: no such module 'Darwin.C'
6 | #endif
7 |
[223/836] Compiling JSONRPC JSONValue.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
3 | import Glibc
4 | #else
5 | import Darwin.C
| `- error: no such module 'Darwin.C'
6 | #endif
7 |
[224/836] Compiling JSONRPC JSONValueDecoder.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
3 | import Glibc
4 | #else
5 | import Darwin.C
| `- error: no such module 'Darwin.C'
6 | #endif
7 |
[225/836] Compiling JSONRPC JSONRPCSession.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
3 | import Glibc
4 | #else
5 | import Darwin.C
| `- error: no such module 'Darwin.C'
6 | #endif
7 |
[226/836] Compiling DequeModule Deque+Equatable.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
3 | import Glibc
4 | #else
5 | import Darwin.C
| `- error: no such module 'Darwin.C'
6 | #endif
7 |
[227/836] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
3 | import Glibc
4 | #else
5 | import Darwin.C
| `- error: no such module 'Darwin.C'
6 | #endif
7 |
[232/836] Compiling Logging Locks.swift
[233/836] Compiling Logging LogHandler.swift
[234/836] Compiling Logging LogEvent.swift
[235/836] Compiling Logging Logging.swift
[237/837] Compiling DequeModule _DequeSlot.swift
[238/837] Compiling DequeModule _UnsafeWrappedBuffer.swift
[239/837] Compiling JSONRPC Protocol.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
3 | import Glibc
4 | #else
5 | import Darwin.C
| `- error: no such module 'Darwin.C'
6 | #endif
7 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:635:41: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
633 | #endif
634 | posix_spawnattr_init(&attributes)
635 | defer { posix_spawnattr_destroy(&attributes) }
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
636 |
637 | // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:640:36: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
638 | var noSignals = sigset_t()
639 | sigemptyset(&noSignals)
640 | posix_spawnattr_setsigmask(&attributes, &noSignals)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
641 |
642 | // Reset all signals to default behavior.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:660:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
658 | sigaddset(&mostSignals, i)
659 | }
660 | posix_spawnattr_setsigdefault(&attributes, &mostSignals)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
661 | #endif
662 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:668:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
666 | // Establish a separate process group.
667 | flags |= POSIX_SPAWN_SETPGROUP
668 | posix_spawnattr_setpgroup(&attributes, 0)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
669 | }
670 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:671:34: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
669 | }
670 |
671 | posix_spawnattr_setflags(&attributes, Int16(flags))
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
672 |
673 | // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:680:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
678 | #endif
679 | posix_spawn_file_actions_init(&fileActions)
680 | defer { posix_spawn_file_actions_destroy(&fileActions) }
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
681 |
682 | if let workingDirectory = workingDirectory?.pathString {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:699:42: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
697 |
698 | // Dupe the read portion of the remote to 0.
699 | posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
700 |
701 | // Close the other side's pipe since it was dupped to 0.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:702:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
700 |
701 | // Close the other side's pipe since it was dupped to 0.
702 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
703 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
704 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:703:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
701 | // Close the other side's pipe since it was dupped to 0.
702 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
703 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
704 |
705 | var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:712:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
710 |
711 | // Open the write end of the pipe.
712 | posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
713 |
714 | // Close the other ends of the pipe since they were dupped to 1.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:715:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
713 |
714 | // Close the other ends of the pipe since they were dupped to 1.
715 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
716 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
717 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:716:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
714 | // Close the other ends of the pipe since they were dupped to 1.
715 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
716 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
717 |
718 | if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:720:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
718 | if outputRedirection.redirectStderr {
719 | // If merged was requested, send stderr to stdout.
720 | posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
721 | } else {
722 | // If no redirect was requested, open the pipe for stderr.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:724:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
722 | // If no redirect was requested, open the pipe for stderr.
723 | try open(pipe: &stderrPipe)
724 | posix_spawn_file_actions_adddup2(&fileActions, stderrPipe[1], 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
725 |
726 | // Close the other ends of the pipe since they were dupped to 2.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:727:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
725 |
726 | // Close the other ends of the pipe since they were dupped to 2.
727 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
728 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
729 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:728:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
726 | // Close the other ends of the pipe since they were dupped to 2.
727 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
728 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
729 | }
730 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:731:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
729 | }
730 | } else {
731 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
732 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
733 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
730 | } else {
731 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
732 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
733 | }
734 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:741:92: error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
739 | let argv = CStringArray(resolvedArgs)
740 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
741 | let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
| |- error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
| `- note: arguments to generic parameter 'Pointee' ('UnsafeMutablePointer<Int8>?' and 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')) are expected to be equal
742 |
743 | guard rv == 0 else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:635:41: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
633 | #endif
634 | posix_spawnattr_init(&attributes)
635 | defer { posix_spawnattr_destroy(&attributes) }
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
636 |
637 | // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:640:36: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
638 | var noSignals = sigset_t()
639 | sigemptyset(&noSignals)
640 | posix_spawnattr_setsigmask(&attributes, &noSignals)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
641 |
642 | // Reset all signals to default behavior.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:660:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
658 | sigaddset(&mostSignals, i)
659 | }
660 | posix_spawnattr_setsigdefault(&attributes, &mostSignals)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
661 | #endif
662 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:668:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
666 | // Establish a separate process group.
667 | flags |= POSIX_SPAWN_SETPGROUP
668 | posix_spawnattr_setpgroup(&attributes, 0)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
669 | }
670 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:671:34: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
669 | }
670 |
671 | posix_spawnattr_setflags(&attributes, Int16(flags))
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
672 |
673 | // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:680:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
678 | #endif
679 | posix_spawn_file_actions_init(&fileActions)
680 | defer { posix_spawn_file_actions_destroy(&fileActions) }
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
681 |
682 | if let workingDirectory = workingDirectory?.pathString {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:699:42: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
697 |
698 | // Dupe the read portion of the remote to 0.
699 | posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
700 |
701 | // Close the other side's pipe since it was dupped to 0.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:702:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
700 |
701 | // Close the other side's pipe since it was dupped to 0.
702 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
703 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
704 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:703:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
701 | // Close the other side's pipe since it was dupped to 0.
702 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
703 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
704 |
705 | var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:712:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
710 |
711 | // Open the write end of the pipe.
712 | posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
713 |
714 | // Close the other ends of the pipe since they were dupped to 1.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:715:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
713 |
714 | // Close the other ends of the pipe since they were dupped to 1.
715 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
716 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
717 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:716:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
714 | // Close the other ends of the pipe since they were dupped to 1.
715 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
716 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
717 |
718 | if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:720:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
718 | if outputRedirection.redirectStderr {
719 | // If merged was requested, send stderr to stdout.
720 | posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
721 | } else {
722 | // If no redirect was requested, open the pipe for stderr.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:724:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
722 | // If no redirect was requested, open the pipe for stderr.
723 | try open(pipe: &stderrPipe)
724 | posix_spawn_file_actions_adddup2(&fileActions, stderrPipe[1], 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
725 |
726 | // Close the other ends of the pipe since they were dupped to 2.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:727:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
725 |
726 | // Close the other ends of the pipe since they were dupped to 2.
727 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
728 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
729 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:728:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
726 | // Close the other ends of the pipe since they were dupped to 2.
727 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
728 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
729 | }
730 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:731:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
729 | }
730 | } else {
731 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
732 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
733 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
730 | } else {
731 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
732 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
733 | }
734 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:741:92: error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
739 | let argv = CStringArray(resolvedArgs)
740 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
741 | let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
| |- error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
| `- note: arguments to generic parameter 'Pointee' ('UnsafeMutablePointer<Int8>?' and 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')) are expected to be equal
742 |
743 | guard rv == 0 else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:635:41: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
633 | #endif
634 | posix_spawnattr_init(&attributes)
635 | defer { posix_spawnattr_destroy(&attributes) }
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
636 |
637 | // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:640:36: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
638 | var noSignals = sigset_t()
639 | sigemptyset(&noSignals)
640 | posix_spawnattr_setsigmask(&attributes, &noSignals)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
641 |
642 | // Reset all signals to default behavior.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:660:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
658 | sigaddset(&mostSignals, i)
659 | }
660 | posix_spawnattr_setsigdefault(&attributes, &mostSignals)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
661 | #endif
662 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:668:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
666 | // Establish a separate process group.
667 | flags |= POSIX_SPAWN_SETPGROUP
668 | posix_spawnattr_setpgroup(&attributes, 0)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
669 | }
670 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:671:34: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
669 | }
670 |
671 | posix_spawnattr_setflags(&attributes, Int16(flags))
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
672 |
673 | // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:680:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
678 | #endif
679 | posix_spawn_file_actions_init(&fileActions)
680 | defer { posix_spawn_file_actions_destroy(&fileActions) }
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
681 |
682 | if let workingDirectory = workingDirectory?.pathString {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:699:42: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
697 |
698 | // Dupe the read portion of the remote to 0.
699 | posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
700 |
701 | // Close the other side's pipe since it was dupped to 0.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:702:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
700 |
701 | // Close the other side's pipe since it was dupped to 0.
702 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
703 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
704 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:703:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
701 | // Close the other side's pipe since it was dupped to 0.
702 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
703 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
704 |
705 | var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:712:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
710 |
711 | // Open the write end of the pipe.
712 | posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
713 |
714 | // Close the other ends of the pipe since they were dupped to 1.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:715:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
713 |
714 | // Close the other ends of the pipe since they were dupped to 1.
715 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
716 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
717 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:716:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
714 | // Close the other ends of the pipe since they were dupped to 1.
715 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
716 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
717 |
718 | if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:720:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
718 | if outputRedirection.redirectStderr {
719 | // If merged was requested, send stderr to stdout.
720 | posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
721 | } else {
722 | // If no redirect was requested, open the pipe for stderr.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:724:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
722 | // If no redirect was requested, open the pipe for stderr.
723 | try open(pipe: &stderrPipe)
724 | posix_spawn_file_actions_adddup2(&fileActions, stderrPipe[1], 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
725 |
726 | // Close the other ends of the pipe since they were dupped to 2.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:727:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
725 |
726 | // Close the other ends of the pipe since they were dupped to 2.
727 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
728 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
729 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:728:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
726 | // Close the other ends of the pipe since they were dupped to 2.
727 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
728 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
729 | }
730 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:731:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
729 | }
730 | } else {
731 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
732 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
733 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
730 | } else {
731 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
732 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
733 | }
734 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:741:92: error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
739 | let argv = CStringArray(resolvedArgs)
740 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
741 | let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
| |- error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
| `- note: arguments to generic parameter 'Pointee' ('UnsafeMutablePointer<Int8>?' and 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')) are expected to be equal
742 |
743 | guard rv == 0 else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:635:41: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
633 | #endif
634 | posix_spawnattr_init(&attributes)
635 | defer { posix_spawnattr_destroy(&attributes) }
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
636 |
637 | // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:640:36: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
638 | var noSignals = sigset_t()
639 | sigemptyset(&noSignals)
640 | posix_spawnattr_setsigmask(&attributes, &noSignals)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
641 |
642 | // Reset all signals to default behavior.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:660:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
658 | sigaddset(&mostSignals, i)
659 | }
660 | posix_spawnattr_setsigdefault(&attributes, &mostSignals)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
661 | #endif
662 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:668:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
666 | // Establish a separate process group.
667 | flags |= POSIX_SPAWN_SETPGROUP
668 | posix_spawnattr_setpgroup(&attributes, 0)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
669 | }
670 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:671:34: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
669 | }
670 |
671 | posix_spawnattr_setflags(&attributes, Int16(flags))
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
672 |
673 | // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:680:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
678 | #endif
679 | posix_spawn_file_actions_init(&fileActions)
680 | defer { posix_spawn_file_actions_destroy(&fileActions) }
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
681 |
682 | if let workingDirectory = workingDirectory?.pathString {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:699:42: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
697 |
698 | // Dupe the read portion of the remote to 0.
699 | posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
700 |
701 | // Close the other side's pipe since it was dupped to 0.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:702:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
700 |
701 | // Close the other side's pipe since it was dupped to 0.
702 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
703 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
704 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:703:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
701 | // Close the other side's pipe since it was dupped to 0.
702 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
703 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
704 |
705 | var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:712:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
710 |
711 | // Open the write end of the pipe.
712 | posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
713 |
714 | // Close the other ends of the pipe since they were dupped to 1.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:715:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
713 |
714 | // Close the other ends of the pipe since they were dupped to 1.
715 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
716 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
717 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:716:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
714 | // Close the other ends of the pipe since they were dupped to 1.
715 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
716 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
717 |
718 | if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:720:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
718 | if outputRedirection.redirectStderr {
719 | // If merged was requested, send stderr to stdout.
720 | posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
721 | } else {
722 | // If no redirect was requested, open the pipe for stderr.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:724:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
722 | // If no redirect was requested, open the pipe for stderr.
723 | try open(pipe: &stderrPipe)
724 | posix_spawn_file_actions_adddup2(&fileActions, stderrPipe[1], 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
725 |
726 | // Close the other ends of the pipe since they were dupped to 2.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:727:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
725 |
726 | // Close the other ends of the pipe since they were dupped to 2.
727 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
728 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
729 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:728:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
726 | // Close the other ends of the pipe since they were dupped to 2.
727 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
728 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
729 | }
730 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:731:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
729 | }
730 | } else {
731 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
732 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
733 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
730 | } else {
731 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
732 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
733 | }
734 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:741:92: error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
739 | let argv = CStringArray(resolvedArgs)
740 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
741 | let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
| |- error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
| `- note: arguments to generic parameter 'Pointee' ('UnsafeMutablePointer<Int8>?' and 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')) are expected to be equal
742 |
743 | guard rv == 0 else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:635:41: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
633 | #endif
634 | posix_spawnattr_init(&attributes)
635 | defer { posix_spawnattr_destroy(&attributes) }
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
636 |
637 | // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:640:36: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
638 | var noSignals = sigset_t()
639 | sigemptyset(&noSignals)
640 | posix_spawnattr_setsigmask(&attributes, &noSignals)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
641 |
642 | // Reset all signals to default behavior.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:660:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
658 | sigaddset(&mostSignals, i)
659 | }
660 | posix_spawnattr_setsigdefault(&attributes, &mostSignals)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
661 | #endif
662 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:668:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
666 | // Establish a separate process group.
667 | flags |= POSIX_SPAWN_SETPGROUP
668 | posix_spawnattr_setpgroup(&attributes, 0)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
669 | }
670 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:671:34: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
669 | }
670 |
671 | posix_spawnattr_setflags(&attributes, Int16(flags))
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
672 |
673 | // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:680:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
678 | #endif
679 | posix_spawn_file_actions_init(&fileActions)
680 | defer { posix_spawn_file_actions_destroy(&fileActions) }
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
681 |
682 | if let workingDirectory = workingDirectory?.pathString {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:699:42: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
697 |
698 | // Dupe the read portion of the remote to 0.
699 | posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
700 |
701 | // Close the other side's pipe since it was dupped to 0.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:702:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
700 |
701 | // Close the other side's pipe since it was dupped to 0.
702 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
703 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
704 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:703:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
701 | // Close the other side's pipe since it was dupped to 0.
702 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
703 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
704 |
705 | var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:712:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
710 |
711 | // Open the write end of the pipe.
712 | posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
713 |
714 | // Close the other ends of the pipe since they were dupped to 1.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:715:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
713 |
714 | // Close the other ends of the pipe since they were dupped to 1.
715 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
716 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
717 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:716:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
714 | // Close the other ends of the pipe since they were dupped to 1.
715 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
716 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
717 |
718 | if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:720:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
718 | if outputRedirection.redirectStderr {
719 | // If merged was requested, send stderr to stdout.
720 | posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
721 | } else {
722 | // If no redirect was requested, open the pipe for stderr.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:724:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
722 | // If no redirect was requested, open the pipe for stderr.
723 | try open(pipe: &stderrPipe)
724 | posix_spawn_file_actions_adddup2(&fileActions, stderrPipe[1], 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
725 |
726 | // Close the other ends of the pipe since they were dupped to 2.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:727:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
725 |
726 | // Close the other ends of the pipe since they were dupped to 2.
727 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
728 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
729 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:728:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
726 | // Close the other ends of the pipe since they were dupped to 2.
727 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
728 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
729 | }
730 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:731:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
729 | }
730 | } else {
731 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
732 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
733 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
730 | } else {
731 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
732 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
733 | }
734 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:741:92: error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
739 | let argv = CStringArray(resolvedArgs)
740 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
741 | let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
| |- error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
| `- note: arguments to generic parameter 'Pointee' ('UnsafeMutablePointer<Int8>?' and 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')) are expected to be equal
742 |
743 | guard rv == 0 else {
[270/837] Compiling OrderedCollections OrderedSet+Sendable.swift
[271/837] Compiling OrderedCollections OrderedSet+SubSequence.swift
[272/837] Compiling OrderedCollections OrderedSet+Testing.swift
[273/837] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[274/837] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[275/837] Compiling OrderedCollections OrderedSet.swift
[276/837] Compiling OrderedCollections _UnsafeBitset.swift
[283/837] Emitting module TSCBasic
[284/837] Emitting module PackageCollectionsModel
[285/837] Compiling PackageCollectionsModel PackageCollectionModel+v1.swift
BUILD FAILURE 6.3 android