Build Information
Failed to build spmgraph, reference main (47ad8a), with Swift 6.2 for Android on 4 Nov 2025 09:56:46 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/getyourguide/spmgraph.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/getyourguide/spmgraph
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 47ad8ac Merge pull request #45 from getyourguide/readme-tweaks
Cloned https://github.com/getyourguide/spmgraph.git
Revision (git rev-parse @):
47ad8ac436a4f342145f3a3a612736d91e4882cd
SUCCESS checkout https://github.com/getyourguide/spmgraph.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/getyourguide/spmgraph.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:d70d83f328e9f1ae04a4e17e63e2d335ae10639f90ee796a5fe3bfb139eab948
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-package-manager
[1/166101] Fetching swift-package-manager
Fetched https://github.com/apple/swift-package-manager from cache (14.08s)
Fetching https://github.com/aus-der-Technik/FileMonitor
[1/358] Fetching filemonitor
Fetched https://github.com/aus-der-Technik/FileMonitor from cache (0.99s)
Fetching https://github.com/swiftlang/swift-llbuild.git
[1/29325] Fetching swift-llbuild
Fetched https://github.com/swiftlang/swift-llbuild.git from cache (2.29s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/72712] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.25s)
Fetching https://github.com/swiftlang/swift-tools-support-core.git
[1/7005] Fetching swift-tools-support-core
Fetched https://github.com/swiftlang/swift-tools-support-core.git from cache (0.80s)
Fetching https://github.com/swiftlang/swift-driver.git
[1/35954] Fetching swift-driver
Fetched https://github.com/swiftlang/swift-driver.git from cache (5.89s)
Fetching https://github.com/tuist/GraphViz.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-system.git
[1/572] Fetching graphviz
[356/7243] Fetching graphviz, swift-certificates
[1040/23929] Fetching graphviz, swift-certificates, swift-argument-parser
[2108/29092] Fetching graphviz, swift-certificates, swift-argument-parser, swift-system
[6209/46520] Fetching graphviz, swift-certificates, swift-argument-parser, swift-system, swift-crypto
Fetched https://github.com/apple/swift-system.git from cache (1.36s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.36s)
Fetching https://github.com/apple/swift-collections.git
[18955/34686] Fetching graphviz, swift-argument-parser, swift-crypto
[19351/52972] Fetching graphviz, swift-argument-parser, swift-crypto, swift-collections
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
[33297/53169] Fetching graphviz, swift-argument-parser, swift-crypto, swift-collections, swift-toolchain-sqlite
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (2.07s)
Fetched https://github.com/tuist/GraphViz.git from cache (4.24s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (4.26s)
Fetched https://github.com/apple/swift-crypto.git from cache (4.31s)
Fetched https://github.com/apple/swift-collections.git from cache (2.96s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.2 (5.18s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.0.0 (0.76s)
Computing version for https://github.com/tuist/GraphViz.git
Computed https://github.com/tuist/GraphViz.git at 0.4.2 (0.71s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.5.0 (0.79s)
Fetching https://github.com/apple/swift-asn1.git
[1/1653] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.48s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.0 (1.23s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.7 (0.61s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.6 (1.03s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (0.74s)
Creating working copy for https://github.com/tuist/GraphViz.git
Working copy of https://github.com/tuist/GraphViz.git resolved at 0.4.2
Creating working copy for https://github.com/swiftlang/swift-driver.git
Working copy of https://github.com/swiftlang/swift-driver.git resolved at release/6.2 (4f9ac60)
Creating working copy for https://github.com/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/swiftlang/swift-llbuild.git
Working copy of https://github.com/swiftlang/swift-llbuild.git resolved at release/6.2 (d80e185)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.6
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at release/6.2 (5a87516)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.3
Creating working copy for https://github.com/swiftlang/swift-toolchain-sqlite
Working copy of https://github.com/swiftlang/swift-toolchain-sqlite resolved at 1.0.7
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.5.0
Creating working copy for https://github.com/aus-der-Technik/FileMonitor
Working copy of https://github.com/aus-der-Technik/FileMonitor resolved at 1.2.0 (ef22f14)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.2
Creating working copy for https://github.com/apple/swift-package-manager
Working copy of https://github.com/apple/swift-package-manager resolved at swift-6.2-RELEASE (3cf1cb6)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.0.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/542] Write sources
[14/542] Compiling vpaes-x86-linux.linux.x86.S
[15/542] Copying Resources
[17/542] Compiling sha256-586-linux.linux.x86.S
[18/542] Write sources
[23/542] Compiling sha512-armv8-linux.linux.aarch64.S
[24/542] Compiling TSCclibc strerror.c
[25/542] Compiling _SwiftSyntaxCShims PlatformMutex.c
[25/542] Write sources
[30/542] Compiling hmac.c
[30/542] Write swift-version--11D90AFD9DD3AB2.txt
[31/542] Write sources
[41/542] Compiling md4.c
[42/542] Compiling TSCclibc libc.c
[43/542] Compiling TSCclibc process.c
[44/552] Compiling x_x509a.c
[44/552] Compiling by_dir.c
[47/556] Emitting module _CertificateInternals
[48/556] Emitting module SwiftSyntax510
[49/556] Compiling SwiftSyntax510 Empty.swift
[51/557] Emitting module SwiftSyntax509
[52/557] Compiling SwiftSyntax509 Empty.swift
[53/558] Emitting module SwiftSyntax600
[54/558] Compiling SwiftSyntax600 Empty.swift
[56/559] Wrapping AST for SwiftSyntax510 for debugging
[57/559] Wrapping AST for SwiftSyntax509 for debugging
[57/559] Write sources
[81/572] Wrapping AST for SwiftSyntax600 for debugging
[82/574] Compiling CSystem shims.c
[84/574] Emitting module SwiftSyntax602
[85/574] Compiling SwiftSyntax602 Empty.swift
[86/592] Compiling SwiftSyntax601 Empty.swift
[87/592] Emitting module SwiftSyntax601
[90/627] Compiling _CertificateInternals _TinyArray.swift
[92/645] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[93/645] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[94/645] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[95/647] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[96/647] Compiling InternalCollectionsUtilities Specialize.swift
[97/647] Compiling InternalCollectionsUtilities _SortedCollection.swift
[98/647] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[99/647] Compiling InternalCollectionsUtilities Debugging.swift
[100/647] Compiling InternalCollectionsUtilities Descriptions.swift
[101/710] Compiling SwiftSyntax Trivia.swift
[102/710] Compiling SwiftSyntax Utils.swift
[103/710] Compiling SwiftSyntax SyntaxProtocol.swift
[104/710] Compiling SwiftSyntax SyntaxText.swift
[105/710] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[106/710] Compiling SwiftSyntax TokenDiagnostic.swift
[107/714] Compiling SwiftSyntax TokenSequence.swift
[108/714] Compiling SwiftSyntax TokenSyntax.swift
[110/714] Compiling SwiftToolchainCSQLite sqlite3.c
[112/714] Emitting module InternalCollectionsUtilities
[115/720] Emitting module SystemPackage
[116/720] Compiling SwiftSyntax AbsolutePosition.swift
[117/720] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[118/720] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[119/720] Compiling SwiftSyntax Assert.swift
[120/720] Compiling SwiftSyntax BumpPtrAllocator.swift
[123/720] Compiling SwiftSyntax CommonAncestor.swift
[124/720] Compiling SwiftSyntax Convenience.swift
[125/720] Compiling SwiftSyntax CustomTraits.swift
[126/720] Compiling SwiftSyntax EditorPlaceholder.swift
[127/720] Compiling SwiftSyntax SyntaxNodeStructure.swift
[133/721] Wrapping AST for _CertificateInternals for debugging
[135/721] Compiling GraphViz Rectangle.swift
[136/721] Compiling GraphViz Size.swift
[137/776] Emitting module TSCLibc
[138/776] Compiling TSCLibc libc.swift
[139/777] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[140/777] Compiling OrderedCollections OrderedSet+Descriptions.swift
[141/777] Compiling OrderedCollections OrderedSet+Diffing.swift
[142/777] Compiling OrderedCollections OrderedSet+Equatable.swift
[143/777] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[144/777] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[145/777] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[146/777] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[147/777] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[148/777] Compiling OrderedCollections OrderedDictionary+Values.swift
[149/777] Compiling OrderedCollections OrderedDictionary.swift
[150/777] Compiling OrderedCollections OrderedSet+Codable.swift
[151/777] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[152/777] Compiling OrderedCollections OrderedSet+Hashable.swift
[153/777] Compiling OrderedCollections OrderedSet+Initializers.swift
[154/777] Compiling OrderedCollections OrderedSet+Insertions.swift
[157/833] Compiling TSCBasic Await.swift
[158/833] Compiling TSCBasic Base64URL.swift
[159/835] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[160/835] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[161/835] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[162/835] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[163/835] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[164/835] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[165/835] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[166/835] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[167/835] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[168/835] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[169/835] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[170/835] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[171/835] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[172/835] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[173/842] Compiling FileMonitorShared URL+isDirectory.swift
[174/842] Compiling TSCBasic DeltaAlgorithm.swift
[175/842] Compiling TSCBasic DiagnosticsEngine.swift
[176/842] Compiling TSCBasic LazyCache.swift
[177/842] Compiling TSCBasic Lock.swift
[178/842] Compiling TSCBasic JSONMapper.swift
[179/842] Compiling TSCBasic KeyedPair.swift
[180/842] Compiling FileMonitorShared Watcher.swift
[181/842] Compiling TSCBasic CacheableSequence.swift
[182/842] Compiling TSCBasic Closable.swift
[183/842] Compiling TSCBasic DictionaryExtensions.swift
[184/842] Compiling TSCBasic DictionaryLiteralExtensions.swift
[185/842] Compiling TSCBasic EditDistance.swift
[186/842] Compiling TSCBasic FileInfo.swift
[187/842] Compiling TSCBasic FileSystem.swift
[188/842] Compiling TSCBasic GraphAlgorithms.swift
[189/842] Compiling TSCBasic CollectionExtensions.swift
[190/842] Compiling TSCBasic Condition.swift
[191/842] Compiling TSCBasic PathShims.swift
[192/842] Compiling TSCBasic Process.swift
[193/842] Compiling TSCBasic ProcessEnv.swift
[194/842] Compiling TSCBasic ProcessSet.swift
[195/842] Compiling TSCBasic RegEx.swift
[196/842] Compiling TSCBasic Result.swift
[197/842] Compiling TSCBasic SortedArray.swift
[198/842] Compiling TSCBasic StringConversions.swift
[199/842] Compiling TSCBasic SynchronizedQueue.swift
[200/842] Compiling TSCBasic TemporaryFile.swift
[201/842] Compiling TSCBasic OSLog.swift
[202/842] Compiling TSCBasic ObjectIdentifierProtocol.swift
[203/842] Compiling TSCBasic OrderedDictionary.swift
[204/842] Compiling TSCBasic OrderedSet.swift
[205/842] Compiling TSCBasic Path.swift
[206/842] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[207/842] Compiling TSCBasic CodableResult.swift
[208/842] Compiling TSCBasic CollectionAlgorithms.swift
[211/842] Emitting module FileMonitorShared
[212/842] Compiling FileMonitorShared FileChangeEvent.swift
[219/843] Compiling DequeModule _DequeSlot.swift
[220/843] Compiling DequeModule _UnsafeWrappedBuffer.swift
[221/843] Compiling PackageCollectionsModel PackageCollectionModel.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:635:41: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
633 | #endif
634 | posix_spawnattr_init(&attributes)
635 | defer { posix_spawnattr_destroy(&attributes) }
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
636 |
637 | // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:640:36: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
638 | var noSignals = sigset_t()
639 | sigemptyset(&noSignals)
640 | posix_spawnattr_setsigmask(&attributes, &noSignals)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
641 |
642 | // Reset all signals to default behavior.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:660:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
658 | sigaddset(&mostSignals, i)
659 | }
660 | posix_spawnattr_setsigdefault(&attributes, &mostSignals)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
661 | #endif
662 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:668:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
666 | // Establish a separate process group.
667 | flags |= POSIX_SPAWN_SETPGROUP
668 | posix_spawnattr_setpgroup(&attributes, 0)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
669 | }
670 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:671:34: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
669 | }
670 |
671 | posix_spawnattr_setflags(&attributes, Int16(flags))
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
672 |
673 | // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:679:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
677 | var fileActions = posix_spawn_file_actions_t()
678 | #endif
679 | posix_spawn_file_actions_init(&fileActions)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
680 | defer { posix_spawn_file_actions_destroy(&fileActions) }
681 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:680:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
678 | #endif
679 | posix_spawn_file_actions_init(&fileActions)
680 | defer { posix_spawn_file_actions_destroy(&fileActions) }
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
681 |
682 | if let workingDirectory = workingDirectory?.pathString {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:699:42: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
697 |
698 | // Dupe the read portion of the remote to 0.
699 | posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
700 |
701 | // Close the other side's pipe since it was dupped to 0.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:702:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
700 |
701 | // Close the other side's pipe since it was dupped to 0.
702 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
703 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
704 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:703:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
701 | // Close the other side's pipe since it was dupped to 0.
702 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
703 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
704 |
705 | var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:712:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
710 |
711 | // Open the write end of the pipe.
712 | posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
713 |
714 | // Close the other ends of the pipe since they were dupped to 1.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:715:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
713 |
714 | // Close the other ends of the pipe since they were dupped to 1.
715 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
716 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
717 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:716:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
714 | // Close the other ends of the pipe since they were dupped to 1.
715 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
716 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
717 |
718 | if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:720:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
718 | if outputRedirection.redirectStderr {
719 | // If merged was requested, send stderr to stdout.
720 | posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
721 | } else {
722 | // If no redirect was requested, open the pipe for stderr.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:724:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
722 | // If no redirect was requested, open the pipe for stderr.
723 | try open(pipe: &stderrPipe)
724 | posix_spawn_file_actions_adddup2(&fileActions, stderrPipe[1], 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
725 |
726 | // Close the other ends of the pipe since they were dupped to 2.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:727:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
725 |
726 | // Close the other ends of the pipe since they were dupped to 2.
727 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
728 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
729 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:728:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
726 | // Close the other ends of the pipe since they were dupped to 2.
727 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
728 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
729 | }
730 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:731:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
729 | }
730 | } else {
731 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
732 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
733 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
730 | } else {
731 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
732 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
733 | }
734 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:741:92: error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
739 | let argv = CStringArray(resolvedArgs)
740 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
741 | let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
| |- error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
| `- note: arguments to generic parameter 'Pointee' ('UnsafeMutablePointer<Int8>?' and 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')) are expected to be equal
742 |
743 | guard rv == 0 else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:635:41: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
633 | #endif
634 | posix_spawnattr_init(&attributes)
635 | defer { posix_spawnattr_destroy(&attributes) }
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
636 |
637 | // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:640:36: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
638 | var noSignals = sigset_t()
639 | sigemptyset(&noSignals)
640 | posix_spawnattr_setsigmask(&attributes, &noSignals)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
641 |
642 | // Reset all signals to default behavior.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:660:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
658 | sigaddset(&mostSignals, i)
659 | }
660 | posix_spawnattr_setsigdefault(&attributes, &mostSignals)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
661 | #endif
662 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:668:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
666 | // Establish a separate process group.
667 | flags |= POSIX_SPAWN_SETPGROUP
668 | posix_spawnattr_setpgroup(&attributes, 0)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
669 | }
670 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:671:34: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
669 | }
670 |
671 | posix_spawnattr_setflags(&attributes, Int16(flags))
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
672 |
673 | // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:679:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
677 | var fileActions = posix_spawn_file_actions_t()
678 | #endif
679 | posix_spawn_file_actions_init(&fileActions)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
680 | defer { posix_spawn_file_actions_destroy(&fileActions) }
681 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:680:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
678 | #endif
679 | posix_spawn_file_actions_init(&fileActions)
680 | defer { posix_spawn_file_actions_destroy(&fileActions) }
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
681 |
682 | if let workingDirectory = workingDirectory?.pathString {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:699:42: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
697 |
698 | // Dupe the read portion of the remote to 0.
699 | posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
700 |
701 | // Close the other side's pipe since it was dupped to 0.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:702:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
700 |
701 | // Close the other side's pipe since it was dupped to 0.
702 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
703 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
704 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:703:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
701 | // Close the other side's pipe since it was dupped to 0.
702 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
703 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
704 |
705 | var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:712:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
710 |
711 | // Open the write end of the pipe.
712 | posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
713 |
714 | // Close the other ends of the pipe since they were dupped to 1.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:715:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
713 |
714 | // Close the other ends of the pipe since they were dupped to 1.
715 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
716 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
717 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:716:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
714 | // Close the other ends of the pipe since they were dupped to 1.
715 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
716 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
717 |
718 | if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:720:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
718 | if outputRedirection.redirectStderr {
719 | // If merged was requested, send stderr to stdout.
720 | posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
721 | } else {
722 | // If no redirect was requested, open the pipe for stderr.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:724:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
722 | // If no redirect was requested, open the pipe for stderr.
723 | try open(pipe: &stderrPipe)
724 | posix_spawn_file_actions_adddup2(&fileActions, stderrPipe[1], 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
725 |
726 | // Close the other ends of the pipe since they were dupped to 2.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:727:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
725 |
726 | // Close the other ends of the pipe since they were dupped to 2.
727 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
728 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
729 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:728:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
726 | // Close the other ends of the pipe since they were dupped to 2.
727 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
728 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
729 | }
730 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:731:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
729 | }
730 | } else {
731 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
732 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
733 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
730 | } else {
731 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
732 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
733 | }
734 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:741:92: error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
739 | let argv = CStringArray(resolvedArgs)
740 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
741 | let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
| |- error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
| `- note: arguments to generic parameter 'Pointee' ('UnsafeMutablePointer<Int8>?' and 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')) are expected to be equal
742 |
743 | guard rv == 0 else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:635:41: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
633 | #endif
634 | posix_spawnattr_init(&attributes)
635 | defer { posix_spawnattr_destroy(&attributes) }
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
636 |
637 | // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:640:36: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
638 | var noSignals = sigset_t()
639 | sigemptyset(&noSignals)
640 | posix_spawnattr_setsigmask(&attributes, &noSignals)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
641 |
642 | // Reset all signals to default behavior.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:660:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
658 | sigaddset(&mostSignals, i)
659 | }
660 | posix_spawnattr_setsigdefault(&attributes, &mostSignals)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
661 | #endif
662 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:668:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
666 | // Establish a separate process group.
667 | flags |= POSIX_SPAWN_SETPGROUP
668 | posix_spawnattr_setpgroup(&attributes, 0)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
669 | }
670 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:671:34: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
669 | }
670 |
671 | posix_spawnattr_setflags(&attributes, Int16(flags))
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
672 |
673 | // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:679:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
677 | var fileActions = posix_spawn_file_actions_t()
678 | #endif
679 | posix_spawn_file_actions_init(&fileActions)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
680 | defer { posix_spawn_file_actions_destroy(&fileActions) }
681 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:680:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
678 | #endif
679 | posix_spawn_file_actions_init(&fileActions)
680 | defer { posix_spawn_file_actions_destroy(&fileActions) }
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
681 |
682 | if let workingDirectory = workingDirectory?.pathString {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:699:42: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
697 |
698 | // Dupe the read portion of the remote to 0.
699 | posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
700 |
701 | // Close the other side's pipe since it was dupped to 0.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:702:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
700 |
701 | // Close the other side's pipe since it was dupped to 0.
702 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
703 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
704 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:703:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
701 | // Close the other side's pipe since it was dupped to 0.
702 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
703 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
704 |
705 | var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:712:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
710 |
711 | // Open the write end of the pipe.
712 | posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
713 |
714 | // Close the other ends of the pipe since they were dupped to 1.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:715:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
713 |
714 | // Close the other ends of the pipe since they were dupped to 1.
715 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
716 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
717 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:716:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
714 | // Close the other ends of the pipe since they were dupped to 1.
715 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
716 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
717 |
718 | if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:720:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
718 | if outputRedirection.redirectStderr {
719 | // If merged was requested, send stderr to stdout.
720 | posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
721 | } else {
722 | // If no redirect was requested, open the pipe for stderr.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:724:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
722 | // If no redirect was requested, open the pipe for stderr.
723 | try open(pipe: &stderrPipe)
724 | posix_spawn_file_actions_adddup2(&fileActions, stderrPipe[1], 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
725 |
726 | // Close the other ends of the pipe since they were dupped to 2.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:727:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
725 |
726 | // Close the other ends of the pipe since they were dupped to 2.
727 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
728 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
729 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:728:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
726 | // Close the other ends of the pipe since they were dupped to 2.
727 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
728 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
729 | }
730 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:731:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
729 | }
730 | } else {
731 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
732 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
733 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
730 | } else {
731 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
732 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
733 | }
734 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:741:92: error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
739 | let argv = CStringArray(resolvedArgs)
740 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
741 | let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
| |- error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
| `- note: arguments to generic parameter 'Pointee' ('UnsafeMutablePointer<Int8>?' and 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')) are expected to be equal
742 |
743 | guard rv == 0 else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:635:41: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
633 | #endif
634 | posix_spawnattr_init(&attributes)
635 | defer { posix_spawnattr_destroy(&attributes) }
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
636 |
637 | // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:640:36: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
638 | var noSignals = sigset_t()
639 | sigemptyset(&noSignals)
640 | posix_spawnattr_setsigmask(&attributes, &noSignals)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
641 |
642 | // Reset all signals to default behavior.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:660:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
658 | sigaddset(&mostSignals, i)
659 | }
660 | posix_spawnattr_setsigdefault(&attributes, &mostSignals)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
661 | #endif
662 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:668:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
666 | // Establish a separate process group.
667 | flags |= POSIX_SPAWN_SETPGROUP
668 | posix_spawnattr_setpgroup(&attributes, 0)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
669 | }
670 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:671:34: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
669 | }
670 |
671 | posix_spawnattr_setflags(&attributes, Int16(flags))
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
672 |
673 | // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:679:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
677 | var fileActions = posix_spawn_file_actions_t()
678 | #endif
679 | posix_spawn_file_actions_init(&fileActions)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
680 | defer { posix_spawn_file_actions_destroy(&fileActions) }
681 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:680:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
678 | #endif
679 | posix_spawn_file_actions_init(&fileActions)
680 | defer { posix_spawn_file_actions_destroy(&fileActions) }
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
681 |
682 | if let workingDirectory = workingDirectory?.pathString {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:699:42: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
697 |
698 | // Dupe the read portion of the remote to 0.
699 | posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
700 |
701 | // Close the other side's pipe since it was dupped to 0.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:702:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
700 |
701 | // Close the other side's pipe since it was dupped to 0.
702 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
703 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
704 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:703:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
701 | // Close the other side's pipe since it was dupped to 0.
702 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
703 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
704 |
705 | var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:712:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
710 |
711 | // Open the write end of the pipe.
712 | posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
713 |
714 | // Close the other ends of the pipe since they were dupped to 1.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:715:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
713 |
714 | // Close the other ends of the pipe since they were dupped to 1.
715 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
716 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
717 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:716:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
714 | // Close the other ends of the pipe since they were dupped to 1.
715 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
716 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
717 |
718 | if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:720:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
718 | if outputRedirection.redirectStderr {
719 | // If merged was requested, send stderr to stdout.
720 | posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
721 | } else {
722 | // If no redirect was requested, open the pipe for stderr.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:724:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
722 | // If no redirect was requested, open the pipe for stderr.
723 | try open(pipe: &stderrPipe)
724 | posix_spawn_file_actions_adddup2(&fileActions, stderrPipe[1], 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
725 |
726 | // Close the other ends of the pipe since they were dupped to 2.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:727:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
725 |
726 | // Close the other ends of the pipe since they were dupped to 2.
727 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
728 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
729 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:728:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
726 | // Close the other ends of the pipe since they were dupped to 2.
727 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
728 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
729 | }
730 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:731:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
729 | }
730 | } else {
731 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
732 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
733 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
730 | } else {
731 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
732 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
733 | }
734 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:741:92: error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
739 | let argv = CStringArray(resolvedArgs)
740 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
741 | let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
| |- error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
| `- note: arguments to generic parameter 'Pointee' ('UnsafeMutablePointer<Int8>?' and 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')) are expected to be equal
742 |
743 | guard rv == 0 else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:635:41: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
633 | #endif
634 | posix_spawnattr_init(&attributes)
635 | defer { posix_spawnattr_destroy(&attributes) }
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
636 |
637 | // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:640:36: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
638 | var noSignals = sigset_t()
639 | sigemptyset(&noSignals)
640 | posix_spawnattr_setsigmask(&attributes, &noSignals)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
641 |
642 | // Reset all signals to default behavior.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:660:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
658 | sigaddset(&mostSignals, i)
659 | }
660 | posix_spawnattr_setsigdefault(&attributes, &mostSignals)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
661 | #endif
662 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:668:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
666 | // Establish a separate process group.
667 | flags |= POSIX_SPAWN_SETPGROUP
668 | posix_spawnattr_setpgroup(&attributes, 0)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
669 | }
670 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:671:34: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
669 | }
670 |
671 | posix_spawnattr_setflags(&attributes, Int16(flags))
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
672 |
673 | // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:679:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
677 | var fileActions = posix_spawn_file_actions_t()
678 | #endif
679 | posix_spawn_file_actions_init(&fileActions)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
680 | defer { posix_spawn_file_actions_destroy(&fileActions) }
681 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:680:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
678 | #endif
679 | posix_spawn_file_actions_init(&fileActions)
680 | defer { posix_spawn_file_actions_destroy(&fileActions) }
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
681 |
682 | if let workingDirectory = workingDirectory?.pathString {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:699:42: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
697 |
698 | // Dupe the read portion of the remote to 0.
699 | posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
700 |
701 | // Close the other side's pipe since it was dupped to 0.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:702:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
700 |
701 | // Close the other side's pipe since it was dupped to 0.
702 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
703 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
704 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:703:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
701 | // Close the other side's pipe since it was dupped to 0.
702 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
703 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
704 |
705 | var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:712:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
710 |
711 | // Open the write end of the pipe.
712 | posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
713 |
714 | // Close the other ends of the pipe since they were dupped to 1.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:715:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
713 |
714 | // Close the other ends of the pipe since they were dupped to 1.
715 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
716 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
717 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:716:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
714 | // Close the other ends of the pipe since they were dupped to 1.
715 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
716 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
717 |
718 | if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:720:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
718 | if outputRedirection.redirectStderr {
719 | // If merged was requested, send stderr to stdout.
720 | posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
721 | } else {
722 | // If no redirect was requested, open the pipe for stderr.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:724:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
722 | // If no redirect was requested, open the pipe for stderr.
723 | try open(pipe: &stderrPipe)
724 | posix_spawn_file_actions_adddup2(&fileActions, stderrPipe[1], 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
725 |
726 | // Close the other ends of the pipe since they were dupped to 2.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:727:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
725 |
726 | // Close the other ends of the pipe since they were dupped to 2.
727 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
728 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
729 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:728:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
726 | // Close the other ends of the pipe since they were dupped to 2.
727 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
728 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
729 | }
730 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:731:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
729 | }
730 | } else {
731 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
732 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
733 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
730 | } else {
731 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
732 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
733 | }
734 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:741:92: error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
739 | let argv = CStringArray(resolvedArgs)
740 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
741 | let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
| |- error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
| `- note: arguments to generic parameter 'Pointee' ('UnsafeMutablePointer<Int8>?' and 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')) are expected to be equal
742 |
743 | guard rv == 0 else {
[230/856] Emitting module GraphViz
[235/856] Compiling _AsyncFileSystem ConcurrencySupport.swift
[236/857] Emitting module _AsyncFileSystem
[237/857] Compiling _AsyncFileSystem AsyncFileSystem.swift
[238/857] Compiling _AsyncFileSystem OpenReadableFile.swift
[239/857] Compiling _AsyncFileSystem WritableStream.swift
[242/857] Compiling _AsyncFileSystem MockFileSystem.swift
[243/857] Compiling _AsyncFileSystem OSFileSystem.swift
[244/857] Compiling TSCBasic HashAlgorithms.swift
[245/857] Compiling TSCBasic JSON.swift
[246/857] Compiling _AsyncFileSystem OpenWritableFile.swift
[247/857] Compiling _AsyncFileSystem ReadableFileStream.swift
[258/866] Emitting module DequeModule
[260/870] Emitting module PackageCollectionsModel
[261/870] Compiling PackageCollectionsModel PackageCollectionModel+v1.swift
[262/871] Wrapping AST for _AsyncFileSystem for debugging
[272/871] Compiling FileMonitor FileMonitor.swift
/host/spi-builder-workspace/.build/checkouts/FileMonitor/Sources/FileMonitor/FileMonitor.swift:53:37: error: enum case 'unsupported_os' has no associated values
51 | watcher = try MacosWatcher(directory: url)
52 | #else
53 | throw FileMonitorErrors.unsupported_os()
| `- error: enum case 'unsupported_os' has no associated values
54 | #endif
55 |
[273/871] Compiling FileMonitor FileDidChangedDelegate.swift
[274/871] Emitting module FileMonitor
[274/871] Wrapping AST for SystemPackage for debugging
[275/871] Wrapping AST for TSCLibc for debugging
[276/871] Wrapping AST for SwiftSyntax601 for debugging
[278/871] Wrapping AST for SwiftSyntax602 for debugging
BUILD FAILURE 6.2 android