Build Information
Failed to build swift-ast-explorer, reference master (ae4369), with Swift 6.2 for Android on 17 Dec 2025 02:11:21 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/swiftfiddle/swift-ast-explorer.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/swiftfiddle/swift-ast-explorer
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at ae43699 Merge pull request #1722 from SwiftFiddle/create-pull-request/patch
Cloned https://github.com/swiftfiddle/swift-ast-explorer.git
Revision (git rev-parse @):
ae43699fc719c7208a62aa96e32931c2a52793bc
SUCCESS checkout https://github.com/swiftfiddle/swift-ast-explorer.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/swiftfiddle/swift-ast-explorer.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
63e5bc7682b8: Pulling fs layer
5b34f287d760: Pulling fs layer
5d20dfa80a84: Pulling fs layer
63e5bc7682b8: Waiting
5b34f287d760: Waiting
fc4dcc36e16f: Pulling fs layer
5d20dfa80a84: Waiting
c33aafcadb25: Pulling fs layer
fc4dcc36e16f: Waiting
d4c6baf42025: Pulling fs layer
c33aafcadb25: Waiting
16f6cae32d5f: Pulling fs layer
d4c6baf42025: Waiting
4f4fb700ef54: Pulling fs layer
16f6cae32d5f: Waiting
446baab371f2: Pulling fs layer
4f4fb700ef54: Waiting
9171fea4195e: Pulling fs layer
446baab371f2: Waiting
9171fea4195e: Waiting
c72f219b6b0e: Pulling fs layer
c72f219b6b0e: Waiting
63e5bc7682b8: Verifying Checksum
63e5bc7682b8: Download complete
63e5bc7682b8: Pull complete
5b34f287d760: Verifying Checksum
5b34f287d760: Download complete
5d20dfa80a84: Verifying Checksum
5d20dfa80a84: Download complete
fc4dcc36e16f: Download complete
d4c6baf42025: Verifying Checksum
d4c6baf42025: Download complete
16f6cae32d5f: Verifying Checksum
16f6cae32d5f: Download complete
4f4fb700ef54: Download complete
5b34f287d760: Pull complete
446baab371f2: Verifying Checksum
446baab371f2: Download complete
c72f219b6b0e: Download complete
c33aafcadb25: Verifying Checksum
c33aafcadb25: Download complete
9171fea4195e: Verifying Checksum
9171fea4195e: Download complete
5d20dfa80a84: Pull complete
fc4dcc36e16f: Pull complete
c33aafcadb25: Pull complete
d4c6baf42025: Pull complete
16f6cae32d5f: Pull complete
4f4fb700ef54: Pull complete
446baab371f2: Pull complete
9171fea4195e: Pull complete
c72f219b6b0e: Pull complete
Digest: sha256:5dcfe09194e3c36609f58c2a9689c9c974fddafea0cac7c12077a98d08c6b397
Status: Downloaded newer image for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/vapor/vapor.git
Fetching https://github.com/vapor/leaf.git
Fetching https://github.com/swiftlang/swift-tools-support-core
[1/7136] Fetching swift-tools-support-core
[1714/11116] Fetching swift-tools-support-core, leaf
[9191/87519] Fetching swift-tools-support-core, leaf, vapor
Fetched https://github.com/vapor/leaf.git from cache (0.71s)
[8665/83539] Fetching swift-tools-support-core, vapor
Fetched https://github.com/swiftlang/swift-tools-support-core from cache (1.02s)
[11461/76403] Fetching vapor
Fetched https://github.com/vapor/vapor.git from cache (4.07s)
Computing version for https://github.com/swiftlang/swift-tools-support-core
Computed https://github.com/swiftlang/swift-tools-support-core at 0.7.3 (7.93s)
Computing version for https://github.com/vapor/leaf.git
Computed https://github.com/vapor/leaf.git at 4.5.1 (0.62s)
Fetching https://github.com/vapor/leaf-kit.git
Fetching https://github.com/apple/swift-algorithms.git
[1/4993] Fetching leaf-kit
[501/11036] Fetching leaf-kit, swift-algorithms
Fetched https://github.com/vapor/leaf-kit.git from cache (0.84s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.84s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.120.0 (1.76s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/vapor/multipart-kit.git
[1/1667] Fetching swift-asn1
[468/5283] Fetching swift-asn1, multipart-kit
[2203/7103] Fetching swift-asn1, multipart-kit, swift-atomics
[2554/14173] Fetching swift-asn1, multipart-kit, swift-atomics, swift-certificates
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetched https://github.com/apple/swift-asn1.git from cache (0.57s)
[3808/12506] Fetching multipart-kit, swift-atomics, swift-certificates
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-metrics.git
[9976/18109] Fetching multipart-kit, swift-atomics, swift-certificates, swift-distributed-tracing
[11433/19271] Fetching multipart-kit, swift-atomics, swift-certificates, swift-distributed-tracing, swift-service-context
[13410/21776] Fetching multipart-kit, swift-atomics, swift-certificates, swift-distributed-tracing, swift-service-context, swift-metrics
Fetched https://github.com/apple/swift-service-context.git from cache (0.80s)
[15356/20614] Fetching multipart-kit, swift-atomics, swift-certificates, swift-distributed-tracing, swift-metrics
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-metrics.git from cache (1.03s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.36s)
Fetching https://github.com/apple/swift-nio-http2.git
[10011/18261] Fetching multipart-kit, swift-atomics, swift-certificates, swift-log
[12831/24625] Fetching multipart-kit, swift-atomics, swift-certificates, swift-log, swift-nio-extras
[22130/36343] Fetching multipart-kit, swift-atomics, swift-certificates, swift-log, swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-log.git from cache (1.28s)
[17898/30588] Fetching multipart-kit, swift-atomics, swift-certificates, swift-nio-extras, swift-nio-http2
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.29s)
Fetching https://github.com/apple/swift-nio.git
[12706/24224] Fetching multipart-kit, swift-atomics, swift-certificates, swift-nio-http2
[14347/39520] Fetching multipart-kit, swift-atomics, swift-certificates, swift-nio-http2, swift-nio-ssl
[20952/120315] Fetching multipart-kit, swift-atomics, swift-certificates, swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-certificates.git from cache (4.77s)
Fetched https://github.com/apple/swift-atomics.git from cache (4.77s)
[29466/111425] Fetching multipart-kit, swift-nio-http2, swift-nio-ssl, swift-nio
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/vapor/routing-kit.git
Fetched https://github.com/vapor/multipart-kit.git from cache (5.05s)
Fetching https://github.com/vapor/console-kit.git
[31812/107809] Fetching swift-nio-http2, swift-nio-ssl, swift-nio
[39653/129165] Fetching swift-nio-http2, swift-nio-ssl, swift-nio, routing-kit
[47495/146630] Fetching swift-nio-http2, swift-nio-ssl, swift-nio, routing-kit, swift-crypto
[49912/153131] Fetching swift-nio-http2, swift-nio-ssl, swift-nio, routing-kit, swift-crypto, console-kit
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.81s)
[40559/141413] Fetching swift-nio-ssl, swift-nio, routing-kit, swift-crypto, console-kit
Fetching https://github.com/vapor/async-kit.git
[64397/143878] Fetching swift-nio-ssl, swift-nio, routing-kit, swift-crypto, console-kit, async-kit
Fetched https://github.com/vapor/console-kit.git from cache (1.19s)
[58882/137377] Fetching swift-nio-ssl, swift-nio, routing-kit, swift-crypto, async-kit
Fetching https://github.com/swift-server/async-http-client.git
Fetched https://github.com/vapor/async-kit.git from cache (0.78s)
[64234/134912] Fetching swift-nio-ssl, swift-nio, routing-kit, swift-crypto
Fetching https://github.com/vapor/websocket-kit.git
[65229/149415] Fetching swift-nio-ssl, swift-nio, routing-kit, swift-crypto, async-http-client
[66179/152047] Fetching swift-nio-ssl, swift-nio, routing-kit, swift-crypto, async-http-client, websocket-kit
Fetched https://github.com/vapor/websocket-kit.git from cache (0.86s)
[69332/149415] Fetching swift-nio-ssl, swift-nio, routing-kit, swift-crypto, async-http-client
Fetched https://github.com/vapor/routing-kit.git from cache (4.31s)
[71647/128059] Fetching swift-nio-ssl, swift-nio, swift-crypto, async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (3.99s)
[70498/113556] Fetching swift-nio-ssl, swift-nio, swift-crypto
Fetched https://github.com/apple/swift-nio-ssl.git from cache (8.08s)
[66839/98260] Fetching swift-nio, swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (7.53s)
[62213/80795] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (15.50s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (19.24s)
Fetching https://github.com/apple/swift-numerics.git
[1/6384] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.68s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.8.0 (1.47s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.72s)
Computing version for https://github.com/vapor/leaf-kit.git
Computed https://github.com/vapor/leaf-kit.git at 1.14.0 (0.67s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (0.67s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (0.88s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.3 (0.60s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.17.0 (3.80s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (1.18s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2809] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.56s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.1 (1.33s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.85s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (0.81s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (0.87s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.21.0 (0.91s)
Fetching https://github.com/apple/swift-collections.git
[1/18378] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.49s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.3.1 (3.21s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (0.71s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.12s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.31.2 (1.10s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/951] Fetching swift-http-types
[97/3519] Fetching swift-http-types, swift-service-lifecycle
[551/4723] Fetching swift-http-types, swift-service-lifecycle, swift-http-structured-headers
[2388/10566] Fetching swift-http-types, swift-service-lifecycle, swift-http-structured-headers, swift-async-algorithms
Fetched https://github.com/apple/swift-http-types.git from cache (0.83s)
[9382/9615] Fetching swift-service-lifecycle, swift-http-structured-headers, swift-async-algorithms
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.85s)
[7047/7047] Fetching swift-http-structured-headers, swift-async-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (1.10s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.10s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.9.1 (1.96s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.1 (1.09s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (0.83s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.6.0 (0.74s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (1.98s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.39.0 (0.91s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.92.0 (1.52s)
Fetching https://github.com/apple/swift-system.git
[1/5230] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.90s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (2.57s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.30.2 (0.88s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.26.0 (0.83s)
Creating working copy for https://github.com/vapor/websocket-kit.git
Working copy of https://github.com/vapor/websocket-kit.git resolved at 2.16.1
Creating working copy for https://github.com/vapor/leaf-kit.git
Working copy of https://github.com/vapor/leaf-kit.git resolved at 1.14.0
Creating working copy for https://github.com/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.15.2
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/multipart-kit.git
Working copy of https://github.com/vapor/multipart-kit.git resolved at 4.7.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.8.0
Creating working copy for https://github.com/vapor/routing-kit.git
Working copy of https://github.com/vapor/routing-kit.git resolved at 4.9.3
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.9.1
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.1
Creating working copy for https://github.com/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.21.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.3.1
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.30.2
Creating working copy for https://github.com/swiftlang/swift-tools-support-core
Working copy of https://github.com/swiftlang/swift-tools-support-core resolved at 0.7.3
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.92.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.1
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.26.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.120.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.36.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.2.0
Creating working copy for https://github.com/vapor/leaf.git
Working copy of https://github.com/vapor/leaf.git resolved at 4.5.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.17.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.39.0
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.31.2
Building for debugging...
[0/919] Write sources
[11/919] Compiling _NumericsShims _NumericsShims.c
[12/919] Compiling _AtomicsShims.c
[13/919] Compiling TSCclibc strerror.c
[14/919] Write sources
[57/919] Compiling TSCclibc libc.c
[58/919] Compiling TSCclibc process.c
[59/919] Compiling SimpleFIPS202.c
[60/919] Compiling CXKCPShims shims.c
[61/919] Write swift-version-2B04F66FBCF4E350.txt
[62/919] Compiling CAsyncHTTPClient CAsyncHTTPClient.c
[63/919] Compiling KeccakSponge.c
[64/919] Compiling KeccakHash.c
[65/922] Compiling CVaporBcrypt blf.c
[67/929] Emitting module _CertificateInternals
[67/929] Compiling aes.cc
[68/929] Compiling KeccakP-1600-opt64.c
[69/929] Compiling a_d2i_fp.cc
[71/960] Emitting module ServiceContextModule
[72/960] Emitting module _NIODataStructures
[72/960] Compiling a_bitstr.cc
[74/965] Emitting module TSCLibc
[75/965] Emitting module Logging
[76/965] Compiling _CertificateInternals _TinyArray.swift
[78/966] Emitting module _NIOBase64
[79/966] Compiling _NIOBase64 Base64.swift
[81/967] Compiling RealModule Float80+Real.swift
[82/968] Compiling RealModule ApproximateEquality.swift
[83/968] Compiling RealModule AugmentedArithmetic.swift
[84/986] Compiling _NIODataStructures _TinyArray.swift
[85/986] Compiling _NIODataStructures PriorityQueue.swift
[86/989] Compiling RealModule RelaxedArithmetic.swift
[87/989] Compiling InternalCollectionsUtilities Debugging.swift
[88/989] Compiling InternalCollectionsUtilities Descriptions.swift
[89/991] Compiling RealModule RealFunctions.swift
[90/991] Compiling InternalCollectionsUtilities UInt+reversed.swift
[91/991] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[92/991] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[93/991] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[94/991] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[95/991] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[96/991] Emitting module InternalCollectionsUtilities
[97/991] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[98/991] Compiling InternalCollectionsUtilities Integer rank.swift
[99/991] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[100/991] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[101/991] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[102/991] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[103/991] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[104/991] Compiling InternalCollectionsUtilities _SortedCollection.swift
[105/991] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[109/992] Compiling SwiftASN1 Errors.swift
[113/992] Compiling RealModule Real.swift
[114/992] Emitting module SwiftASN1
[122/992] Emitting module RealModule
[125/992] Compiling ServiceContextModule ServiceContextKey.swift
[126/992] Compiling ServiceContextModule ServiceContext.swift
[127/993] Compiling RealModule Float16+Real.swift
[129/994] Wrapping AST for _NIOBase64 for debugging
[131/1062] Compiling CoreMetrics Metrics.swift
[132/1123] Compiling Instrumentation NoOpInstrument.swift
[133/1123] Compiling Instrumentation Instrument.swift
[134/1123] Emitting module Instrumentation
[135/1123] Compiling Instrumentation MultiplexInstrument.swift
[136/1123] Compiling OrderedCollections OrderedDictionary.swift
[137/1123] Compiling OrderedCollections OrderedSet+Codable.swift
[138/1123] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[139/1123] Compiling OrderedCollections OrderedSet+Descriptions.swift
[140/1123] Compiling OrderedCollections OrderedSet+Diffing.swift
[141/1123] Compiling OrderedCollections OrderedSet+Equatable.swift
[142/1123] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[143/1123] Compiling OrderedCollections OrderedSet+Hashable.swift
[144/1130] Compiling _NIODataStructures Heap.swift
[145/1131] Compiling TSCLibc libc.swift
[147/1132] Compiling Logging MetadataProvider.swift
[148/1132] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[149/1132] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[150/1132] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[151/1132] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[152/1132] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[153/1132] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[154/1132] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[155/1132] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[156/1132] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[157/1132] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[158/1132] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[159/1132] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[160/1132] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[161/1132] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[162/1132] Compiling Instrumentation InstrumentationSystem.swift
[163/1132] Compiling Instrumentation Locks.swift
[164/1133] Compiling OrderedCollections _Hashtable+Header.swift
[165/1133] Compiling OrderedCollections OrderedDictionary+Codable.swift
[166/1133] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[167/1133] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[168/1133] Compiling OrderedCollections OrderedDictionary+Elements.swift
[169/1133] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[170/1133] Compiling OrderedCollections _HashTable.swift
[171/1133] Compiling CoreMetrics Locks.swift
[172/1133] Emitting module CoreMetrics
[177/1200] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[178/1200] Compiling HeapModule Heap+Invariants.swift
[179/1268] Compiling HashTreeCollections _HashStack.swift
[180/1268] Compiling HashTreeCollections _HashTreeIterator.swift
[181/1268] Compiling HashTreeCollections _HashTreeStatistics.swift
[182/1268] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[183/1268] Compiling HashTreeCollections _RawHashNode.swift
[184/1268] Compiling HashTreeCollections _UnmanagedHashNode.swift
[185/1268] Compiling HashTreeCollections _UnsafePath.swift
[186/1268] Compiling HashTreeCollections TreeDictionary+Codable.swift
[187/1268] Compiling HeapModule Heap+Descriptions.swift
[188/1268] Compiling HashTreeCollections TreeDictionary+Keys.swift
[189/1268] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[190/1268] Compiling HashTreeCollections TreeDictionary+Merge.swift
[191/1268] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[192/1268] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[193/1268] Compiling HashTreeCollections TreeDictionary+Values.swift
[194/1268] Compiling HashTreeCollections TreeDictionary.swift
[195/1268] Compiling HashTreeCollections TreeSet+Codable.swift
[196/1268] Compiling HashTreeCollections TreeSet+Collection.swift
[197/1277] Compiling HashTreeCollections _HashNode+Invariants.swift
[198/1277] Compiling HashTreeCollections _HashNode+Lookups.swift
[199/1277] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[200/1277] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[201/1277] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[202/1277] Compiling HashTreeCollections _HashNode+Storage.swift
[203/1277] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[204/1277] Compiling HashTreeCollections _HashNode+Structural filter.swift
[205/1277] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[206/1277] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[207/1277] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[208/1277] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[209/1277] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[210/1277] Compiling HashTreeCollections _HashNode+Structural merge.swift
[211/1277] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[212/1277] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[213/1277] Compiling Tracing InstrumentationSystem+Tracing.swift
[214/1277] Compiling HeapModule Heap.swift
[215/1277] Compiling HeapModule _HeapNode.swift
[216/1277] Compiling Tracing TracingTime.swift
[217/1277] Compiling Tracing TracerProtocol.swift
[218/1277] Compiling HeapModule Heap+UnsafeHandle.swift
[219/1277] Compiling Logging Locks.swift
[220/1277] Compiling Logging LogHandler.swift
[221/1277] Compiling Logging Logging.swift
[222/1278] Compiling Tracing Tracer.swift
[223/1278] Compiling Tracing TracerProtocol+Legacy.swift
[224/1278] Emitting module Tracing
[225/1278] Emitting module HeapModule
[228/1300] Compiling HashTreeCollections TreeSet+Hashable.swift
[229/1300] Compiling HashTreeCollections TreeSet+Sendable.swift
[230/1300] Compiling _RopeModule Rope+Join.swift
[231/1300] Compiling _RopeModule Rope+MutatingForEach.swift
[232/1300] Compiling _RopeModule Rope+Remove.swift
[233/1300] Compiling _RopeModule Rope+RemoveSubrange.swift
[234/1300] Compiling _RopeModule Rope+Split.swift
[235/1300] Compiling _RopeModule Optional Utilities.swift
[236/1300] Compiling _RopeModule String Utilities.swift
[237/1300] Compiling _RopeModule String.Index+ABI.swift
[238/1310] Compiling DequeModule Deque+CustomReflectable.swift
[239/1310] Compiling DequeModule Deque+Descriptions.swift
[240/1312] Compiling DequeModule _DequeBuffer.swift
[241/1312] Compiling DequeModule _DequeBufferHeader.swift
[242/1312] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[243/1312] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[244/1312] Compiling HashTreeCollections TreeDictionary+Filter.swift
[245/1312] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[246/1312] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[256/1312] Compiling HashTreeCollections TreeSet+CustomReflectable.swift
[257/1312] Compiling HashTreeCollections TreeSet+Debugging.swift
[258/1312] Compiling HashTreeCollections TreeSet+Descriptions.swift
[259/1312] Compiling HashTreeCollections TreeSet+Equatable.swift
[260/1312] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[261/1312] Compiling HashTreeCollections TreeSet+Extras.swift
[262/1312] Compiling HashTreeCollections TreeSet+Filter.swift
[263/1312] Compiling DequeModule Deque+Equatable.swift
[264/1312] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[274/1312] Compiling DequeModule Deque+Codable.swift
[275/1312] Compiling DequeModule Deque+Collection.swift
[280/1312] Compiling DequeModule Deque+Extras.swift
[281/1312] Compiling DequeModule Deque+Hashable.swift
[282/1312] Compiling Tracing NoOpTracer.swift
[283/1312] Compiling Tracing SpanProtocol.swift
[293/1313] Compiling DequeModule Deque+Testing.swift
[294/1313] Compiling DequeModule Deque._Storage.swift
[301/1313] Wrapping AST for _NIODataStructures for debugging
[302/1313] Wrapping AST for _CertificateInternals for debugging
[304/1313] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[305/1313] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[306/1313] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[307/1313] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[308/1313] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[309/1313] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[310/1313] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[311/1313] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[312/1313] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[313/1313] Compiling HashTreeCollections TreeSet.swift
[314/1313] Compiling DequeModule _DequeSlot.swift
[315/1313] Compiling DequeModule _UnsafeWrappedBuffer.swift
[315/1313] Wrapping AST for Tracing for debugging
[316/1313] Wrapping AST for TSCLibc for debugging
[317/1313] Wrapping AST for SwiftASN1 for debugging
[318/1313] Wrapping AST for ServiceContextModule for debugging
[324/1313] Compiling DequeModule Deque._UnsafeHandle.swift
[325/1313] Compiling DequeModule Deque.swift
[335/1313] Wrapping AST for RealModule for debugging
[337/1313] Emitting module RoutingKit
[338/1313] Emitting module OrderedCollections
[339/1314] Emitting module _RopeModule
[339/1314] Wrapping AST for Logging for debugging
[341/1314] Wrapping AST for InternalCollectionsUtilities for debugging
[342/1314] Wrapping AST for OrderedCollections for debugging
[343/1314] Wrapping AST for Instrumentation for debugging
[346/1314] Wrapping AST for HeapModule for debugging
[347/1314] Wrapping AST for CoreMetrics for debugging
[348/1314] Compiling CVaporBcrypt bcrypt.c
[349/1314] Compiling CNIOWindows shim.c
[358/1314] Compiling HashTreeCollections TreeDictionary+Collection.swift
[359/1314] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[360/1314] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[361/1314] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[361/1314] Compiling CSystem shims.c
[362/1314] Compiling CNIOWindows WSAStartup.c
[363/1314] Compiling CNIOWASI CNIOWASI.c
[365/1314] Compiling RoutingKit PathComponent.swift
[366/1314] Compiling RoutingKit TrieRouter.swift
[367/1314] Compiling RoutingKit Router.swift
[367/1314] Compiling CNIOSHA1 c_nio_sha1.c
[368/1314] Compiling CNIOPosix event_loop_id.c
[370/1314] Emitting module DequeModule
[371/1315] Compiling CNIOOpenBSD shim.c
[372/1316] Compiling CNIOLinux liburing_shims.c
[373/1346] Wrapping AST for DequeModule for debugging
[374/1346] Compiling CNIOLinux shim.c
[375/1346] Compiling CNIOLLHTTP c_nio_http.c
[386/1346] Compiling RoutingKit Parameters.swift
[387/1346] Compiling RoutingKit AnyRouter.swift
[388/1347] Emitting module Metrics
[389/1347] Compiling Metrics Metrics.swift
[391/1348] Compiling SystemPackage FilePathComponentView.swift
[392/1348] Compiling SystemPackage FilePathComponents.swift
[393/1348] Compiling SystemPackage FilePathParsing.swift
[394/1348] Compiling SystemPackage FilePathString.swift
[395/1348] Compiling SystemPackage FilePathSyntax.swift
[396/1348] Compiling SystemPackage FilePathTemp.swift
[396/1353] Compiling CNIOLLHTTP c_nio_api.c
[398/1353] Compiling CNIOExtrasZlib empty.c
[399/1353] Compiling CNIODarwin shim.c
[400/1353] Wrapping AST for RoutingKit for debugging
[401/1353] Compiling fiat_p256_adx_sqr.S
[403/1353] Compiling SystemPackage IORing.swift
[404/1353] Compiling SystemPackage RawIORequest.swift
[405/1353] Compiling SystemPackage Backcompat.swift
[406/1353] Compiling SystemPackage CInterop.swift
[406/1353] Wrapping AST for Metrics for debugging
[408/1357] Compiling SystemPackage Errno.swift
[409/1357] Compiling SystemPackage ErrnoWindows.swift
[410/1357] Compiling SystemPackage FileDescriptor.swift
[411/1357] Compiling SystemPackage FileHelpers.swift
[412/1357] Compiling SystemPackage FileOperations.swift
[413/1357] Compiling SystemPackage FilePath.swift
[418/1357] Compiling fiat_p256_adx_mul.S
[420/1357] Compiling SystemPackage Syscalls.swift
[421/1357] Compiling SystemPackage WindowsSyscallAdapters.swift
[422/1357] Compiling SystemPackage MachPort.swift
[423/1357] Compiling SystemPackage PlatformString.swift
[423/1357] Compiling fiat_curve25519_adx_square.S
[424/1357] Compiling CNIOLLHTTP c_nio_llhttp.c
[425/1357] Compiling fiat_curve25519_adx_mul.S
[427/1357] Emitting module TSCBasic
[433/1357] Compiling CNIOBoringSSLShims shims.c
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:634:41: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
632 | #endif
633 | posix_spawnattr_init(&attributes)
634 | defer { posix_spawnattr_destroy(&attributes) }
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
635 |
636 | // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:639:36: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
637 | var noSignals = sigset_t()
638 | sigemptyset(&noSignals)
639 | posix_spawnattr_setsigmask(&attributes, &noSignals)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
640 |
641 | // Reset all signals to default behavior.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:659:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
657 | sigaddset(&mostSignals, i)
658 | }
659 | posix_spawnattr_setsigdefault(&attributes, &mostSignals)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
660 | #endif
661 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:667:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
665 | // Establish a separate process group.
666 | flags |= POSIX_SPAWN_SETPGROUP
667 | posix_spawnattr_setpgroup(&attributes, 0)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
668 | }
669 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:670:34: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
668 | }
669 |
670 | posix_spawnattr_setflags(&attributes, Int16(flags))
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
671 |
672 | // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:678: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>')
676 | var fileActions = posix_spawn_file_actions_t()
677 | #endif
678 | 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
679 | defer { posix_spawn_file_actions_destroy(&fileActions) }
680 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:679:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
677 | #endif
678 | posix_spawn_file_actions_init(&fileActions)
679 | defer { posix_spawn_file_actions_destroy(&fileActions) }
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
680 |
681 | if let workingDirectory = workingDirectory?.pathString {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:711:42: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
709 |
710 | // Dupe the read portion of the remote to 0.
711 | posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
712 |
713 | // Close the other side's pipe since it was dupped to 0.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:714:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
712 |
713 | // Close the other side's pipe since it was dupped to 0.
714 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
715 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
716 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:715:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
713 | // Close the other side's pipe since it was dupped to 0.
714 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
715 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
716 |
717 | var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:724:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
722 |
723 | // Open the write end of the pipe.
724 | posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
725 |
726 | // Close the other ends of the pipe since they were dupped to 1.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:727:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
725 |
726 | // Close the other ends of the pipe since they were dupped to 1.
727 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
728 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
729 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:728:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
726 | // Close the other ends of the pipe since they were dupped to 1.
727 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
728 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
729 |
730 | if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
730 | if outputRedirection.redirectStderr {
731 | // If merged was requested, send stderr to stdout.
732 | posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
733 | } else {
734 | // If no redirect was requested, open the pipe for stderr.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:736:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
734 | // If no redirect was requested, open the pipe for stderr.
735 | try open(pipe: &stderrPipe)
736 | posix_spawn_file_actions_adddup2(&fileActions, stderrPipe[1], 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
737 |
738 | // Close the other ends of the pipe since they were dupped to 2.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:739:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
737 |
738 | // Close the other ends of the pipe since they were dupped to 2.
739 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
740 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
741 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:740:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
738 | // Close the other ends of the pipe since they were dupped to 2.
739 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
740 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
741 | }
742 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:743:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
741 | }
742 | } else {
743 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
744 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
745 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:744:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
742 | } else {
743 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
744 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
745 | }
746 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:753:92: error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
751 | let argv = CStringArray(resolvedArgs)
752 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
753 | let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
| |- error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
| `- note: arguments to generic parameter 'Pointee' ('UnsafeMutablePointer<Int8>?' and 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')) are expected to be equal
754 |
755 | guard rv == 0 else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:634:41: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
632 | #endif
633 | posix_spawnattr_init(&attributes)
634 | defer { posix_spawnattr_destroy(&attributes) }
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
635 |
636 | // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:639:36: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
637 | var noSignals = sigset_t()
638 | sigemptyset(&noSignals)
639 | posix_spawnattr_setsigmask(&attributes, &noSignals)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
640 |
641 | // Reset all signals to default behavior.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:659:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
657 | sigaddset(&mostSignals, i)
658 | }
659 | posix_spawnattr_setsigdefault(&attributes, &mostSignals)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
660 | #endif
661 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:667:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
665 | // Establish a separate process group.
666 | flags |= POSIX_SPAWN_SETPGROUP
667 | posix_spawnattr_setpgroup(&attributes, 0)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
668 | }
669 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:670:34: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
668 | }
669 |
670 | posix_spawnattr_setflags(&attributes, Int16(flags))
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
671 |
672 | // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:678: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>')
676 | var fileActions = posix_spawn_file_actions_t()
677 | #endif
678 | 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
679 | defer { posix_spawn_file_actions_destroy(&fileActions) }
680 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:679:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
677 | #endif
678 | posix_spawn_file_actions_init(&fileActions)
679 | defer { posix_spawn_file_actions_destroy(&fileActions) }
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
680 |
681 | if let workingDirectory = workingDirectory?.pathString {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:711:42: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
709 |
710 | // Dupe the read portion of the remote to 0.
711 | posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
712 |
713 | // Close the other side's pipe since it was dupped to 0.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:714:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
712 |
713 | // Close the other side's pipe since it was dupped to 0.
714 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
715 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
716 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:715:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
713 | // Close the other side's pipe since it was dupped to 0.
714 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
715 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
716 |
717 | var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:724:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
722 |
723 | // Open the write end of the pipe.
724 | posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
725 |
726 | // Close the other ends of the pipe since they were dupped to 1.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:727:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
725 |
726 | // Close the other ends of the pipe since they were dupped to 1.
727 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
728 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
729 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:728:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
726 | // Close the other ends of the pipe since they were dupped to 1.
727 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
728 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
729 |
730 | if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
730 | if outputRedirection.redirectStderr {
731 | // If merged was requested, send stderr to stdout.
732 | posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
733 | } else {
734 | // If no redirect was requested, open the pipe for stderr.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:736:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
734 | // If no redirect was requested, open the pipe for stderr.
735 | try open(pipe: &stderrPipe)
736 | posix_spawn_file_actions_adddup2(&fileActions, stderrPipe[1], 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
737 |
738 | // Close the other ends of the pipe since they were dupped to 2.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:739:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
737 |
738 | // Close the other ends of the pipe since they were dupped to 2.
739 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
740 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
741 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:740:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
738 | // Close the other ends of the pipe since they were dupped to 2.
739 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
740 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
741 | }
742 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:743:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
741 | }
742 | } else {
743 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
744 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
745 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:744:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
742 | } else {
743 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
744 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
745 | }
746 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:753:92: error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
751 | let argv = CStringArray(resolvedArgs)
752 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
753 | let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
| |- error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
| `- note: arguments to generic parameter 'Pointee' ('UnsafeMutablePointer<Int8>?' and 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')) are expected to be equal
754 |
755 | guard rv == 0 else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:634:41: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
632 | #endif
633 | posix_spawnattr_init(&attributes)
634 | defer { posix_spawnattr_destroy(&attributes) }
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
635 |
636 | // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:639:36: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
637 | var noSignals = sigset_t()
638 | sigemptyset(&noSignals)
639 | posix_spawnattr_setsigmask(&attributes, &noSignals)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
640 |
641 | // Reset all signals to default behavior.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:659:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
657 | sigaddset(&mostSignals, i)
658 | }
659 | posix_spawnattr_setsigdefault(&attributes, &mostSignals)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
660 | #endif
661 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:667:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
665 | // Establish a separate process group.
666 | flags |= POSIX_SPAWN_SETPGROUP
667 | posix_spawnattr_setpgroup(&attributes, 0)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
668 | }
669 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:670:34: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
668 | }
669 |
670 | posix_spawnattr_setflags(&attributes, Int16(flags))
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
671 |
672 | // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:678: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>')
676 | var fileActions = posix_spawn_file_actions_t()
677 | #endif
678 | 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
679 | defer { posix_spawn_file_actions_destroy(&fileActions) }
680 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:679:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
677 | #endif
678 | posix_spawn_file_actions_init(&fileActions)
679 | defer { posix_spawn_file_actions_destroy(&fileActions) }
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
680 |
681 | if let workingDirectory = workingDirectory?.pathString {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:711:42: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
709 |
710 | // Dupe the read portion of the remote to 0.
711 | posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
712 |
713 | // Close the other side's pipe since it was dupped to 0.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:714:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
712 |
713 | // Close the other side's pipe since it was dupped to 0.
714 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
715 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
716 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:715:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
713 | // Close the other side's pipe since it was dupped to 0.
714 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
715 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
716 |
717 | var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:724:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
722 |
723 | // Open the write end of the pipe.
724 | posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
725 |
726 | // Close the other ends of the pipe since they were dupped to 1.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:727:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
725 |
726 | // Close the other ends of the pipe since they were dupped to 1.
727 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
728 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
729 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:728:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
726 | // Close the other ends of the pipe since they were dupped to 1.
727 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
728 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
729 |
730 | if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
730 | if outputRedirection.redirectStderr {
731 | // If merged was requested, send stderr to stdout.
732 | posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
733 | } else {
734 | // If no redirect was requested, open the pipe for stderr.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:736:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
734 | // If no redirect was requested, open the pipe for stderr.
735 | try open(pipe: &stderrPipe)
736 | posix_spawn_file_actions_adddup2(&fileActions, stderrPipe[1], 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
737 |
738 | // Close the other ends of the pipe since they were dupped to 2.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:739:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
737 |
738 | // Close the other ends of the pipe since they were dupped to 2.
739 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
740 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
741 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:740:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
738 | // Close the other ends of the pipe since they were dupped to 2.
739 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
740 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
741 | }
742 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:743:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
741 | }
742 | } else {
743 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
744 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
745 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:744:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
742 | } else {
743 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
744 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
745 | }
746 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:753:92: error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
751 | let argv = CStringArray(resolvedArgs)
752 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
753 | let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
| |- error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
| `- note: arguments to generic parameter 'Pointee' ('UnsafeMutablePointer<Int8>?' and 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')) are expected to be equal
754 |
755 | guard rv == 0 else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:634:41: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
632 | #endif
633 | posix_spawnattr_init(&attributes)
634 | defer { posix_spawnattr_destroy(&attributes) }
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
635 |
636 | // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:639:36: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
637 | var noSignals = sigset_t()
638 | sigemptyset(&noSignals)
639 | posix_spawnattr_setsigmask(&attributes, &noSignals)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
640 |
641 | // Reset all signals to default behavior.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:659:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
657 | sigaddset(&mostSignals, i)
658 | }
659 | posix_spawnattr_setsigdefault(&attributes, &mostSignals)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
660 | #endif
661 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:667:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
665 | // Establish a separate process group.
666 | flags |= POSIX_SPAWN_SETPGROUP
667 | posix_spawnattr_setpgroup(&attributes, 0)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
668 | }
669 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:670:34: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
668 | }
669 |
670 | posix_spawnattr_setflags(&attributes, Int16(flags))
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
671 |
672 | // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:678: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>')
676 | var fileActions = posix_spawn_file_actions_t()
677 | #endif
678 | 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
679 | defer { posix_spawn_file_actions_destroy(&fileActions) }
680 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:679:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
677 | #endif
678 | posix_spawn_file_actions_init(&fileActions)
679 | defer { posix_spawn_file_actions_destroy(&fileActions) }
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
680 |
681 | if let workingDirectory = workingDirectory?.pathString {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:711:42: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
709 |
710 | // Dupe the read portion of the remote to 0.
711 | posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
712 |
713 | // Close the other side's pipe since it was dupped to 0.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:714:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
712 |
713 | // Close the other side's pipe since it was dupped to 0.
714 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
715 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
716 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:715:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
713 | // Close the other side's pipe since it was dupped to 0.
714 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
715 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
716 |
717 | var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:724:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
722 |
723 | // Open the write end of the pipe.
724 | posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
725 |
726 | // Close the other ends of the pipe since they were dupped to 1.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:727:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
725 |
726 | // Close the other ends of the pipe since they were dupped to 1.
727 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
728 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
729 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:728:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
726 | // Close the other ends of the pipe since they were dupped to 1.
727 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
728 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
729 |
730 | if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
730 | if outputRedirection.redirectStderr {
731 | // If merged was requested, send stderr to stdout.
732 | posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
733 | } else {
734 | // If no redirect was requested, open the pipe for stderr.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:736:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
734 | // If no redirect was requested, open the pipe for stderr.
735 | try open(pipe: &stderrPipe)
736 | posix_spawn_file_actions_adddup2(&fileActions, stderrPipe[1], 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
737 |
738 | // Close the other ends of the pipe since they were dupped to 2.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:739:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
737 |
738 | // Close the other ends of the pipe since they were dupped to 2.
739 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
740 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
741 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:740:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
738 | // Close the other ends of the pipe since they were dupped to 2.
739 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
740 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
741 | }
742 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:743:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
741 | }
742 | } else {
743 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
744 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
745 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:744:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
742 | } else {
743 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
744 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
745 | }
746 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:753:92: error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
751 | let argv = CStringArray(resolvedArgs)
752 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
753 | let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
| |- error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
| `- note: arguments to generic parameter 'Pointee' ('UnsafeMutablePointer<Int8>?' and 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')) are expected to be equal
754 |
755 | guard rv == 0 else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:634:41: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
632 | #endif
633 | posix_spawnattr_init(&attributes)
634 | defer { posix_spawnattr_destroy(&attributes) }
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
635 |
636 | // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:639:36: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
637 | var noSignals = sigset_t()
638 | sigemptyset(&noSignals)
639 | posix_spawnattr_setsigmask(&attributes, &noSignals)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
640 |
641 | // Reset all signals to default behavior.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:659:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
657 | sigaddset(&mostSignals, i)
658 | }
659 | posix_spawnattr_setsigdefault(&attributes, &mostSignals)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
660 | #endif
661 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:667:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
665 | // Establish a separate process group.
666 | flags |= POSIX_SPAWN_SETPGROUP
667 | posix_spawnattr_setpgroup(&attributes, 0)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
668 | }
669 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:670:34: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
668 | }
669 |
670 | posix_spawnattr_setflags(&attributes, Int16(flags))
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawnattr_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawnattr_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawnattr_t' (aka 'OpaquePointer')) are expected to be equal
671 |
672 | // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:678: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>')
676 | var fileActions = posix_spawn_file_actions_t()
677 | #endif
678 | 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
679 | defer { posix_spawn_file_actions_destroy(&fileActions) }
680 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:679:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
677 | #endif
678 | posix_spawn_file_actions_init(&fileActions)
679 | defer { posix_spawn_file_actions_destroy(&fileActions) }
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
680 |
681 | if let workingDirectory = workingDirectory?.pathString {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:711:42: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
709 |
710 | // Dupe the read portion of the remote to 0.
711 | posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
712 |
713 | // Close the other side's pipe since it was dupped to 0.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:714:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
712 |
713 | // Close the other side's pipe since it was dupped to 0.
714 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
715 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
716 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:715:43: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
713 | // Close the other side's pipe since it was dupped to 0.
714 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
715 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
716 |
717 | var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:724:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
722 |
723 | // Open the write end of the pipe.
724 | posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
725 |
726 | // Close the other ends of the pipe since they were dupped to 1.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:727:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
725 |
726 | // Close the other ends of the pipe since they were dupped to 1.
727 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
728 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
729 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:728:47: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
726 | // Close the other ends of the pipe since they were dupped to 1.
727 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
728 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
729 |
730 | if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
730 | if outputRedirection.redirectStderr {
731 | // If merged was requested, send stderr to stdout.
732 | posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
733 | } else {
734 | // If no redirect was requested, open the pipe for stderr.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:736:50: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
734 | // If no redirect was requested, open the pipe for stderr.
735 | try open(pipe: &stderrPipe)
736 | posix_spawn_file_actions_adddup2(&fileActions, stderrPipe[1], 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
737 |
738 | // Close the other ends of the pipe since they were dupped to 2.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:739:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
737 |
738 | // Close the other ends of the pipe since they were dupped to 2.
739 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
740 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
741 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:740:51: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
738 | // Close the other ends of the pipe since they were dupped to 2.
739 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
740 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
741 | }
742 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:743:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
741 | }
742 | } else {
743 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
744 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
745 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:744:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
742 | } else {
743 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
744 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
| |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' (aka 'UnsafeMutablePointer<Optional<OpaquePointer>>') to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>' (aka 'UnsafeMutablePointer<OpaquePointer>')
| `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') and 'posix_spawn_file_actions_t' (aka 'OpaquePointer')) are expected to be equal
745 | }
746 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:753:92: error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
751 | let argv = CStringArray(resolvedArgs)
752 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
753 | let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
| |- error: cannot convert value of type 'UnsafePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafePointer<UnsafeMutablePointer<CChar>>' (aka 'UnsafePointer<UnsafeMutablePointer<Int8>>')
| `- note: arguments to generic parameter 'Pointee' ('UnsafeMutablePointer<Int8>?' and 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')) are expected to be equal
754 |
755 | guard rv == 0 else {
[441/1357] Compiling SystemPackage SystemString.swift
[442/1357] Compiling SystemPackage Util+StringArray.swift
[443/1357] Compiling SystemPackage Util.swift
[444/1357] Compiling SystemPackage UtilConsumers.swift
[445/1357] Compiling SystemPackage FilePathWindows.swift
[446/1357] Compiling SystemPackage FilePermissions.swift
[447/1357] Compiling SystemPackage IOCompletion.swift
[448/1357] Compiling SystemPackage IORequest.swift
[449/1357] Compiling SystemPackage Constants.swift
[450/1357] Compiling SystemPackage Exports.swift
[451/1357] Compiling SystemPackage Mocking.swift
[452/1357] Compiling SystemPackage RawBuffer.swift
[460/1357] Compiling SystemPackage FilePathTempPosix.swift
[461/1357] Compiling SystemPackage FilePathTempWindows.swift
[462/1357] Emitting module SystemPackage
[473/1357] Compiling TSCBasic TerminalController.swift
[474/1357] Compiling TSCBasic Thread.swift
[475/1357] Compiling TSCBasic Tuple.swift
[476/1357] Compiling TSCBasic WritableByteStream.swift
[477/1357] Compiling TSCBasic misc.swift
[518/1358] Wrapping AST for _RopeModule for debugging
[531/1358] Compiling tls_record.cc
[548/1359] Compiling tls_method.cc
[550/1359] Emitting module HashTreeCollections
[550/1360] Compiling tls13_server.cc
[552/1360] Compiling tls13_both.cc
[552/1360] Compiling ssl_x509.cc
[552/1360] Compiling t1_enc.cc
[552/1360] Compiling tls13_enc.cc
[552/1360] Compiling tls13_client.cc
BUILD FAILURE 6.2 android