Build Information
Failed to build llbuild2, reference 1.0.0-beta1.5 (00335e
), with Swift 6.2 (beta) for Android on 18 Jun 2025 18:33:18 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-llbuild2.git
Reference: 1.0.0-beta1.5
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/apple/swift-llbuild2
* tag 1.0.0-beta1.5 -> FETCH_HEAD
HEAD is now at 00335ec Merge pull request #222 from apple/eq
Cloned https://github.com/apple/swift-llbuild2.git
Revision (git rev-parse @):
00335ec3782c167219bb65d1ad024095fc678977
SUCCESS checkout https://github.com/apple/swift-llbuild2.git at 1.0.0-beta1.5
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/apple/swift-llbuild2.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-distributed-tracing
Fetching https://github.com/apple/swift-tools-support-async.git
Fetching https://github.com/apple/swift-log.git
[1/4993] Fetching swift-distributed-tracing
[251/11848] Fetching swift-distributed-tracing, swift-tools-support-core
[1443/15684] Fetching swift-distributed-tracing, swift-tools-support-core, swift-log
[11462/66954] Fetching swift-distributed-tracing, swift-tools-support-core, swift-log, grpc-swift
[19787/67729] Fetching swift-distributed-tracing, swift-tools-support-core, swift-log, grpc-swift, swift-tools-support-async
Fetched https://github.com/apple/swift-distributed-tracing from cache (0.57s)
[19670/62736] Fetching swift-tools-support-core, swift-log, grpc-swift, swift-tools-support-async
Fetching https://github.com/apple/swift-crypto.git
[27874/78006] Fetching swift-tools-support-core, swift-log, grpc-swift, swift-tools-support-async, swift-crypto
[68845/117461] Fetching swift-tools-support-core, swift-log, grpc-swift, swift-tools-support-async, swift-crypto, swift-protobuf
Fetched https://github.com/apple/swift-tools-support-core.git from cache (3.57s)
[88512/110606] Fetching swift-log, grpc-swift, swift-tools-support-async, swift-crypto, swift-protobuf
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/apple/swift-crypto.git from cache (3.48s)
[81527/95336] Fetching swift-log, grpc-swift, swift-tools-support-async, swift-protobuf
[84290/110716] Fetching swift-log, grpc-swift, swift-tools-support-async, swift-protobuf, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.41s)
[95336/95336] Fetching swift-log, grpc-swift, swift-tools-support-async, swift-protobuf
Fetched https://github.com/apple/swift-tools-support-async.git from cache (7.81s)
Fetched https://github.com/apple/swift-log.git from cache (7.81s)
Fetched https://github.com/grpc/grpc-swift.git from cache (7.84s)
Fetched https://github.com/apple/swift-protobuf.git from cache (7.88s)
Computing version for https://github.com/apple/swift-distributed-tracing
Computed https://github.com/apple/swift-distributed-tracing at 1.2.1 (8.34s)
Fetching https://github.com/apple/swift-service-context.git
[1/1081] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.22s)
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.63s)
Computing version for https://github.com/apple/swift-tools-support-async.git
Computed https://github.com/apple/swift-tools-support-async.git at 0.14.1 (0.50s)
Fetching https://github.com/apple/swift-nio.git
[1/76327] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.75s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.30.0 (5.09s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.7.3 (0.48s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.41s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.37s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.86s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1797] Fetching swift-atomics
[1798/6225] Fetching swift-atomics, swift-system
[3791/22865] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.11s)
Fetched https://github.com/apple/swift-system.git from cache (1.11s)
Fetched https://github.com/apple/swift-collections.git from cache (1.13s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.48s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.33s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.64s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.26.1 (0.87s)
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/2667] Fetching swift-nio-transport-services
[2668/14199] Fetching swift-nio-transport-services, swift-nio-http2
[2669/20141] Fetching swift-nio-transport-services, swift-nio-http2, swift-nio-extras
[11148/35031] Fetching swift-nio-transport-services, swift-nio-http2, swift-nio-extras, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.20s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.21s)
[22998/26422] Fetching swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.96s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.97s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (2.49s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.48s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.28.0 (0.52s)
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/1590] Fetching swift-asn1
[1591/2731] Fetching swift-asn1, swift-http-structured-headers
[2025/7716] Fetching swift-asn1, swift-http-structured-headers, swift-async-algorithms
[4926/10142] Fetching swift-asn1, swift-http-structured-headers, swift-async-algorithms, swift-service-lifecycle
[7498/16326] Fetching swift-asn1, swift-http-structured-headers, swift-async-algorithms, swift-service-lifecycle, swift-certificates
[8070/22285] Fetching swift-asn1, swift-http-structured-headers, swift-async-algorithms, swift-service-lifecycle, swift-certificates, swift-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.33s)
[13587/21144] Fetching swift-asn1, swift-async-algorithms, swift-service-lifecycle, swift-certificates, swift-algorithms
Fetched https://github.com/apple/swift-asn1.git from cache (0.34s)
[12664/19554] Fetching swift-async-algorithms, swift-service-lifecycle, swift-certificates, swift-algorithms
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.41s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.50s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.51s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.51s)
[1/904] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.43s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (1.21s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.49s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (0.49s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (1.02s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.70s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.38s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.37s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.74s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.32.0 (0.63s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (0.52s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.44s)
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.3.0
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.0.4
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.24.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.8.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.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.5.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.4.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-tools-support-async.git
Working copy of https://github.com/apple/swift-tools-support-async.git resolved at 0.14.1
Creating working copy for https://github.com/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 1.26.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.28.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.32.0
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git 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.83.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.30.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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.10.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-distributed-tracing
Working copy of https://github.com/apple/swift-distributed-tracing resolved at 1.2.1
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/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.36.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
[1/1] Compiling plugin GRPCSwiftPlugin
[2/2] Compiling plugin SwiftProtobufPlugin
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/869] Write sources
[24/869] Write swift-version-8C5A4AE7A8CE2BA.txt
[25/869] Write sources
[26/874] Compiling CBLAKE3 blake3.c
[27/878] Compiling f_string.cc
[28/878] Compiling posix_time.cc
[29/878] Write sources
[30/879] Compiling _AtomicsShims.c
[31/880] Compiling asn_pack.cc
[32/882] Compiling f_int.cc
[32/882] Write sources
[35/894] Compiling asn1_par.cc
[36/894] Compiling asn1_lib.cc
[37/900] Compiling TSCclibc libc.c
[38/900] Write sources
[39/900] Copying PrivacyInfo.xcprivacy
[40/900] Compiling TSCclibc strerror.c
[41/900] Copying PrivacyInfo.xcprivacy
[42/900] Write sources
[44/900] Compiling TSCclibc process.c
[46/988] Emitting module _NIOBase64
[47/988] Emitting module Logging
[48/988] Compiling ServiceContextModule ServiceContextKey.swift
[49/988] Compiling SwiftProtobuf Enum.swift
[50/988] Compiling SwiftProtobuf ExtensibleMessage.swift
[51/990] Emitting module ServiceContextModule
[52/990] Compiling ServiceContextModule ServiceContext.swift
[53/991] Compiling SwiftProtobuf BinaryEncodingVisitor.swift
[54/991] Compiling SwiftProtobuf CustomJSONCodable.swift
[55/991] Compiling SwiftProtobuf Decoder.swift
[56/991] Compiling SwiftProtobuf DoubleParser.swift
[57/991] Compiling SwiftProtobuf BinaryEncodingError.swift
[58/991] Compiling SwiftProtobuf BinaryEncodingOptions.swift
[59/991] Compiling SwiftProtobuf BinaryEncodingSizeVisitor.swift
[60/991] Compiling SwiftProtobuf BinaryDelimited.swift
[61/991] Compiling SwiftProtobuf BinaryEncoder.swift
[62/991] Compiling _NIOBase64 Base64.swift
[64/992] Compiling SwiftProtobuf AnyMessageStorage.swift
[65/992] Compiling SwiftProtobuf AnyUnpackError.swift
[66/992] Compiling SwiftProtobuf AsyncMessageSequence.swift
[67/992] Compiling SwiftProtobuf BinaryDecoder.swift
[68/992] Compiling SwiftProtobuf BinaryDecodingError.swift
[69/992] Compiling SwiftProtobuf BinaryDecodingOptions.swift
[70/992] Emitting module Atomics
[71/992] Write sources
[86/992] Compiling CNIOWindows shim.c
[88/992] Compiling _NIODataStructures PriorityQueue.swift
[89/992] Compiling _NIODataStructures _TinyArray.swift
[90/1006] Emitting module _NIODataStructures
[91/1006] Compiling _NIODataStructures Heap.swift
[92/1012] Compiling ArgumentParserToolInfo ToolInfo.swift
[93/1012] Emitting module ArgumentParserToolInfo
[95/1014] Compiling Instrumentation NoOpInstrument.swift
[96/1014] Compiling Atomics IntegerOperations.swift
[97/1014] Compiling Atomics Unmanaged extensions.swift
[99/1015] Compiling Instrumentation Instrument.swift
[100/1015] Wrapping AST for _NIODataStructures for debugging
[101/1015] Wrapping AST for _NIOBase64 for debugging
[103/1015] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[104/1015] Emitting module Instrumentation
[104/1016] Compiling CNIOWindows WSAStartup.c
[105/1016] Compiling CNIOWASI CNIOWASI.c
[106/1016] Compiling CNIOLinux liburing_shims.c
[108/1048] Compiling Instrumentation MultiplexInstrument.swift
[108/1054] Compiling CNIOLinux shim.c
[110/1054] Compiling ArgumentParser Errors.swift
[111/1054] Compiling ArgumentParser Flag.swift
[112/1054] Compiling ArgumentParser Argument.swift
[113/1054] Compiling ArgumentParser ArgumentHelp.swift
[113/1054] Compiling CNIOLLHTTP c_nio_http.c
[115/1054] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[115/1054] Compiling CNIOLLHTTP c_nio_api.c
[116/1054] Compiling CNIODarwin shim.c
[117/1054] Compiling CNIOLLHTTP c_nio_llhttp.c
[118/1054] Compiling fiat_p256_adx_sqr.S
[120/1054] Compiling ArgumentParser NameSpecification.swift
[121/1054] Compiling ArgumentParser Option.swift
[122/1054] Emitting module InternalCollectionsUtilities
[123/1054] Compiling ArgumentParser BashCompletionsGenerator.swift
[124/1054] Compiling ArgumentParser CompletionsGenerator.swift
[124/1054] Compiling fiat_p256_adx_mul.S
[125/1054] Compiling fiat_curve25519_adx_square.S
[126/1054] Compiling fiat_curve25519_adx_mul.S
[128/1054] Compiling ArgumentParser ArgumentVisibility.swift
[129/1054] Compiling ArgumentParser CompletionKind.swift
[130/1054] Compiling ArgumentParser FishCompletionsGenerator.swift
[131/1054] Compiling ArgumentParser ZshCompletionsGenerator.swift
[132/1055] Compiling CNIOBoringSSLShims shims.c
[134/1055] Compiling ArgumentParser Name.swift
[135/1055] Compiling ArgumentParser Parsed.swift
[136/1055] Compiling ArgumentParser ParsedValues.swift
[137/1055] Compiling ArgumentParser ParserError.swift
[138/1055] Compiling ArgumentParser SplitArguments.swift
[139/1060] Emitting module TSCLibc
[140/1060] Compiling TSCLibc libc.swift
[141/1061] Compiling Logging MetadataProvider.swift
[142/1061] Compiling Instrumentation Locks.swift
[143/1061] Compiling Instrumentation InstrumentationSystem.swift
[145/1062] Compiling Logging Locks.swift
[147/1062] Emitting module SwiftProtobuf
[148/1073] Emitting module ArgumentParser
[161/1073] Compiling ArgumentParser ExpressibleByArgument.swift
[162/1073] Compiling ArgumentParser ParsableArguments.swift
[163/1073] Compiling ArgumentParser ParsableArgumentsValidation.swift
[164/1073] Compiling ArgumentParser ParsableCommand.swift
[165/1073] Compiling ArgumentParser ArgumentDecoder.swift
[165/1073] Compiling tls_record.cc
[167/1073] Compiling Logging LogHandler.swift
[168/1073] Compiling Logging Logging.swift
[169/1074] Compiling SwiftProtobuf Message+JSONAdditions.swift
[170/1074] Compiling SwiftProtobuf Message+JSONAdditions_Data.swift
[171/1074] Compiling SwiftProtobuf Message+JSONArrayAdditions.swift
[172/1074] Compiling SwiftProtobuf Message+JSONArrayAdditions_Data.swift
[173/1074] Compiling SwiftProtobuf Message+TextFormatAdditions.swift
[174/1074] Compiling SwiftProtobuf Message.swift
[175/1074] Compiling SwiftProtobuf MessageExtension.swift
[176/1074] Compiling SwiftProtobuf NameMap.swift
[177/1074] Compiling SwiftProtobuf PathDecoder.swift
[178/1074] Compiling SwiftProtobuf PathVisitor.swift
[179/1074] Compiling SwiftProtobuf ProtoNameProviding.swift
[180/1074] Compiling SwiftProtobuf ProtobufAPIVersionCheck.swift
[181/1074] Compiling ArgumentParser DumpHelpGenerator.swift
[182/1074] Compiling ArgumentParser HelpCommand.swift
[183/1074] Compiling ArgumentParser HelpGenerator.swift
[184/1074] Compiling ArgumentParser MessageInfo.swift
[185/1074] Compiling ArgumentParser UsageGenerator.swift
[186/1074] Compiling tls_method.cc
[188/1074] Compiling ArgumentParser ArgumentDefinition.swift
[189/1074] Compiling ArgumentParser ArgumentSet.swift
[190/1074] Compiling ArgumentParser CommandParser.swift
[191/1074] Compiling ArgumentParser InputKey.swift
[192/1074] Compiling ArgumentParser InputOrigin.swift
[193/1074] Compiling ArgumentParser OptionGroup.swift
[194/1074] Compiling ArgumentParser AsyncParsableCommand.swift
[195/1074] Compiling ArgumentParser CommandConfiguration.swift
[196/1074] Compiling ArgumentParser CommandGroup.swift
[197/1074] Compiling ArgumentParser EnumerableFlag.swift
[198/1074] Compiling ArgumentParser CollectionExtensions.swift
[199/1074] Compiling ArgumentParser Platform.swift
[200/1074] Compiling ArgumentParser SequenceExtensions.swift
[201/1074] Compiling ArgumentParser StringExtensions.swift
[202/1074] Compiling ArgumentParser Tree.swift
[203/1075] Wrapping AST for InternalCollectionsUtilities for debugging
[205/1090] Compiling DequeModule _DequeBuffer.swift
[206/1090] Compiling DequeModule _DequeBufferHeader.swift
[223/1090] Compiling SwiftProtobuf Google_Protobuf_Value+Extensions.swift
[224/1090] Compiling SwiftProtobuf Google_Protobuf_Wrappers+Extensions.swift
[225/1090] Compiling SwiftProtobuf HashVisitor.swift
[226/1090] Compiling SwiftProtobuf Internal.swift
[227/1090] Compiling SwiftProtobuf JSONDecoder.swift
[228/1090] Compiling SwiftProtobuf JSONDecodingError.swift
[241/1098] Compiling DequeModule Deque+Equatable.swift
[242/1098] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[245/1100] Emitting module Tracing
[246/1100] Compiling Tracing InstrumentationSystem+Tracing.swift
[247/1139] Compiling TSCBasic CacheableSequence.swift
[248/1139] Compiling TSCBasic Closable.swift
[249/1140] Compiling Tracing TracingTime.swift
[250/1140] Compiling Tracing TracerProtocol.swift
[251/1140] Compiling TSCBasic CodableResult.swift
[252/1140] Compiling TSCBasic CollectionAlgorithms.swift
[252/1140] Compiling tls13_server.cc
[254/1140] Compiling Tracing Tracer.swift
[255/1140] Compiling Tracing TracerProtocol+Legacy.swift
[255/1140] Wrapping AST for TSCLibc for debugging
[257/1140] Compiling TSCBasic EditDistance.swift
[258/1140] Compiling TSCBasic FileInfo.swift
[258/1140] Wrapping AST for Logging for debugging
[260/1140] Compiling TSCBasic CollectionExtensions.swift
[261/1140] Compiling TSCBasic Condition.swift
[262/1140] Compiling TSCBasic DeltaAlgorithm.swift
[263/1140] Compiling TSCBasic DiagnosticsEngine.swift
[263/1140] Compiling tls13_enc.cc
[265/1140] Compiling Tracing NoOpTracer.swift
[266/1140] Compiling Tracing SpanProtocol.swift
[268/1141] Compiling TSCBasic Await.swift
[269/1141] Compiling TSCBasic Base64URL.swift
[269/1141] Compiling tls13_client.cc
[271/1141] Emitting module DequeModule
[272/1142] Wrapping AST for DequeModule for debugging
[274/1142] Compiling SwiftProtobuf ProtobufMap.swift
[275/1142] Compiling SwiftProtobuf SelectiveVisitor.swift
[276/1142] Compiling SwiftProtobuf SimpleExtensionMap.swift
[277/1142] Compiling SwiftProtobuf StringUtils.swift
[278/1142] Compiling SwiftProtobuf SwiftProtobufContiguousBytes.swift
[279/1142] Compiling SwiftProtobuf SwiftProtobufError.swift
[280/1142] Compiling SwiftProtobuf TextFormatDecoder.swift
[281/1142] Compiling SwiftProtobuf TextFormatDecodingError.swift
[282/1142] Compiling SwiftProtobuf TextFormatDecodingOptions.swift
[283/1142] Compiling SwiftProtobuf TextFormatEncoder.swift
[284/1142] Compiling SwiftProtobuf TextFormatEncodingOptions.swift
[285/1142] Compiling SwiftProtobuf TextFormatEncodingVisitor.swift
[286/1142] Compiling SwiftProtobuf TextFormatScanner.swift
[287/1142] Compiling SwiftProtobuf TimeUtils.swift
[288/1142] Compiling SwiftProtobuf UnknownStorage.swift
[289/1142] Compiling SwiftProtobuf UnsafeRawPointer+Shims.swift
[290/1142] Compiling SwiftProtobuf Varint.swift
[291/1142] Compiling SwiftProtobuf Version.swift
[292/1142] Compiling SwiftProtobuf Visitor.swift
[293/1142] Compiling SwiftProtobuf WireFormat.swift
[294/1142] Compiling SwiftProtobuf ZigZag.swift
[295/1142] Compiling SwiftProtobuf any.pb.swift
[295/1142] Compiling tls13_both.cc
[296/1142] Compiling ssl_x509.cc
[298/1142] Emitting module TSCBasic
[301/1142] Compiling TSCBasic ByteString.swift
[302/1142] Compiling TSCBasic CStringArray.swift
[305/1147] Compiling TSCBasic PathShims.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:634:41: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
632 | #endif
633 | posix_spawnattr_init(&attributes)
634 | defer { posix_spawnattr_destroy(&attributes) }
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
635 |
636 | // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:639:36: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
637 | var noSignals = sigset_t()
638 | sigemptyset(&noSignals)
639 | posix_spawnattr_setsigmask(&attributes, &noSignals)
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
657 | sigaddset(&mostSignals, i)
658 | }
659 | posix_spawnattr_setsigdefault(&attributes, &mostSignals)
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
660 | #endif
661 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:667:39: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
665 | // Establish a separate process group.
666 | flags |= POSIX_SPAWN_SETPGROUP
667 | posix_spawnattr_setpgroup(&attributes, 0)
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
668 | }
669 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:670:34: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
668 | }
669 |
670 | posix_spawnattr_setflags(&attributes, Int16(flags))
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
671 |
672 | // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:678:39: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
676 | var fileActions = posix_spawn_file_actions_t()
677 | #endif
678 | posix_spawn_file_actions_init(&fileActions)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
677 | #endif
678 | posix_spawn_file_actions_init(&fileActions)
679 | defer { posix_spawn_file_actions_destroy(&fileActions) }
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
709 |
710 | // Dupe the read portion of the remote to 0.
711 | posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
712 |
713 | // Close the other side's pipe since it was dupped to 0.
714 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
713 | // 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
716 |
717 | var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:724:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
722 |
723 | // Open the write end of the pipe.
724 | posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
725 |
726 | // Close the other ends of the pipe since they were dupped to 1.
727 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
726 | // Close the other ends of the pipe since they were dupped to 1.
727 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
728 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
729 |
730 | if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
730 | if outputRedirection.redirectStderr {
731 | // If merged was requested, send stderr to stdout.
732 | posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
741 | }
742 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:743:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
741 | }
742 | } else {
743 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
742 | } else {
743 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
744 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
745 | }
746 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:753:92: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type '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: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
754 |
755 | guard rv == 0 else {
[306/1147] Compiling TSCBasic Process.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:634:41: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
632 | #endif
633 | posix_spawnattr_init(&attributes)
634 | defer { posix_spawnattr_destroy(&attributes) }
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
635 |
636 | // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:639:36: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
637 | var noSignals = sigset_t()
638 | sigemptyset(&noSignals)
639 | posix_spawnattr_setsigmask(&attributes, &noSignals)
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
657 | sigaddset(&mostSignals, i)
658 | }
659 | posix_spawnattr_setsigdefault(&attributes, &mostSignals)
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
660 | #endif
661 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:667:39: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
665 | // Establish a separate process group.
666 | flags |= POSIX_SPAWN_SETPGROUP
667 | posix_spawnattr_setpgroup(&attributes, 0)
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
668 | }
669 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:670:34: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
668 | }
669 |
670 | posix_spawnattr_setflags(&attributes, Int16(flags))
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
671 |
672 | // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:678:39: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
676 | var fileActions = posix_spawn_file_actions_t()
677 | #endif
678 | posix_spawn_file_actions_init(&fileActions)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
677 | #endif
678 | posix_spawn_file_actions_init(&fileActions)
679 | defer { posix_spawn_file_actions_destroy(&fileActions) }
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
709 |
710 | // Dupe the read portion of the remote to 0.
711 | posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
712 |
713 | // Close the other side's pipe since it was dupped to 0.
714 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
713 | // 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
716 |
717 | var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:724:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
722 |
723 | // Open the write end of the pipe.
724 | posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
725 |
726 | // Close the other ends of the pipe since they were dupped to 1.
727 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
726 | // Close the other ends of the pipe since they were dupped to 1.
727 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
728 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
729 |
730 | if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
730 | if outputRedirection.redirectStderr {
731 | // If merged was requested, send stderr to stdout.
732 | posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
741 | }
742 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:743:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
741 | }
742 | } else {
743 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
742 | } else {
743 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
744 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
745 | }
746 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:753:92: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type '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: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
754 |
755 | guard rv == 0 else {
[307/1147] Compiling TSCBasic ProcessEnv.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:634:41: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
632 | #endif
633 | posix_spawnattr_init(&attributes)
634 | defer { posix_spawnattr_destroy(&attributes) }
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
635 |
636 | // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:639:36: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
637 | var noSignals = sigset_t()
638 | sigemptyset(&noSignals)
639 | posix_spawnattr_setsigmask(&attributes, &noSignals)
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
657 | sigaddset(&mostSignals, i)
658 | }
659 | posix_spawnattr_setsigdefault(&attributes, &mostSignals)
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
660 | #endif
661 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:667:39: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
665 | // Establish a separate process group.
666 | flags |= POSIX_SPAWN_SETPGROUP
667 | posix_spawnattr_setpgroup(&attributes, 0)
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
668 | }
669 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:670:34: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
668 | }
669 |
670 | posix_spawnattr_setflags(&attributes, Int16(flags))
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
671 |
672 | // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:678:39: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
676 | var fileActions = posix_spawn_file_actions_t()
677 | #endif
678 | posix_spawn_file_actions_init(&fileActions)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
677 | #endif
678 | posix_spawn_file_actions_init(&fileActions)
679 | defer { posix_spawn_file_actions_destroy(&fileActions) }
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
709 |
710 | // Dupe the read portion of the remote to 0.
711 | posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
712 |
713 | // Close the other side's pipe since it was dupped to 0.
714 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
713 | // 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
716 |
717 | var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:724:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
722 |
723 | // Open the write end of the pipe.
724 | posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
725 |
726 | // Close the other ends of the pipe since they were dupped to 1.
727 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
726 | // Close the other ends of the pipe since they were dupped to 1.
727 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
728 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
729 |
730 | if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
730 | if outputRedirection.redirectStderr {
731 | // If merged was requested, send stderr to stdout.
732 | posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
741 | }
742 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:743:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
741 | }
742 | } else {
743 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
742 | } else {
743 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
744 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
745 | }
746 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:753:92: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type '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: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
754 |
755 | guard rv == 0 else {
[308/1147] Compiling TSCBasic ProcessSet.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:634:41: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
632 | #endif
633 | posix_spawnattr_init(&attributes)
634 | defer { posix_spawnattr_destroy(&attributes) }
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
635 |
636 | // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:639:36: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
637 | var noSignals = sigset_t()
638 | sigemptyset(&noSignals)
639 | posix_spawnattr_setsigmask(&attributes, &noSignals)
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
657 | sigaddset(&mostSignals, i)
658 | }
659 | posix_spawnattr_setsigdefault(&attributes, &mostSignals)
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
660 | #endif
661 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:667:39: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
665 | // Establish a separate process group.
666 | flags |= POSIX_SPAWN_SETPGROUP
667 | posix_spawnattr_setpgroup(&attributes, 0)
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
668 | }
669 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:670:34: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
668 | }
669 |
670 | posix_spawnattr_setflags(&attributes, Int16(flags))
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
671 |
672 | // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:678:39: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
676 | var fileActions = posix_spawn_file_actions_t()
677 | #endif
678 | posix_spawn_file_actions_init(&fileActions)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
677 | #endif
678 | posix_spawn_file_actions_init(&fileActions)
679 | defer { posix_spawn_file_actions_destroy(&fileActions) }
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
709 |
710 | // Dupe the read portion of the remote to 0.
711 | posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
712 |
713 | // Close the other side's pipe since it was dupped to 0.
714 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
713 | // 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
716 |
717 | var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:724:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
722 |
723 | // Open the write end of the pipe.
724 | posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
725 |
726 | // Close the other ends of the pipe since they were dupped to 1.
727 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
726 | // Close the other ends of the pipe since they were dupped to 1.
727 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
728 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
729 |
730 | if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
730 | if outputRedirection.redirectStderr {
731 | // If merged was requested, send stderr to stdout.
732 | posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
741 | }
742 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:743:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
741 | }
742 | } else {
743 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
742 | } else {
743 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
744 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
745 | }
746 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:753:92: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type '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: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
754 |
755 | guard rv == 0 else {
[309/1147] Compiling TSCBasic RegEx.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:634:41: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
632 | #endif
633 | posix_spawnattr_init(&attributes)
634 | defer { posix_spawnattr_destroy(&attributes) }
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
635 |
636 | // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:639:36: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
637 | var noSignals = sigset_t()
638 | sigemptyset(&noSignals)
639 | posix_spawnattr_setsigmask(&attributes, &noSignals)
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
657 | sigaddset(&mostSignals, i)
658 | }
659 | posix_spawnattr_setsigdefault(&attributes, &mostSignals)
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
660 | #endif
661 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:667:39: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
665 | // Establish a separate process group.
666 | flags |= POSIX_SPAWN_SETPGROUP
667 | posix_spawnattr_setpgroup(&attributes, 0)
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
668 | }
669 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:670:34: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
668 | }
669 |
670 | posix_spawnattr_setflags(&attributes, Int16(flags))
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
671 |
672 | // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:678:39: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
676 | var fileActions = posix_spawn_file_actions_t()
677 | #endif
678 | posix_spawn_file_actions_init(&fileActions)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
677 | #endif
678 | posix_spawn_file_actions_init(&fileActions)
679 | defer { posix_spawn_file_actions_destroy(&fileActions) }
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
709 |
710 | // Dupe the read portion of the remote to 0.
711 | posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
712 |
713 | // Close the other side's pipe since it was dupped to 0.
714 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
713 | // 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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
716 |
717 | var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:724:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
722 |
723 | // Open the write end of the pipe.
724 | posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
725 |
726 | // Close the other ends of the pipe since they were dupped to 1.
727 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
726 | // Close the other ends of the pipe since they were dupped to 1.
727 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
728 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
729 |
730 | if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
730 | if outputRedirection.redirectStderr {
731 | // If merged was requested, send stderr to stdout.
732 | posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
741 | }
742 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:743:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
741 | }
742 | } else {
743 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
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: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
742 | } else {
743 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
744 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
745 | }
746 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:753:92: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type '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: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
754 |
755 | guard rv == 0 else {
[310/1147] Compiling TSCBasic Result.swift
[311/1147] Compiling TSCBasic SortedArray.swift
[312/1147] Compiling TSCBasic StringConversions.swift
[313/1147] Compiling TSCBasic SynchronizedQueue.swift
[314/1147] Compiling TSCBasic TemporaryFile.swift
[315/1147] Compiling TSCBasic OSLog.swift
[316/1147] Compiling TSCBasic ObjectIdentifierProtocol.swift
[317/1147] Compiling TSCBasic OrderedDictionary.swift
[318/1147] Compiling TSCBasic OrderedSet.swift
[319/1147] Compiling TSCBasic Path.swift
[319/1147] Compiling t1_enc.cc
[320/1147] Compiling ssl_transcript.cc
[321/1147] Compiling ssl_stat.cc
[322/1147] Compiling ssl_versions.cc
[336/1147] Compiling TSCBasic HashAlgorithms.swift
[337/1147] Compiling TSCBasic JSON.swift
[338/1147] Compiling TSCBasic JSONMapper.swift
[339/1147] Compiling TSCBasic KeyedPair.swift
[340/1147] Compiling TSCBasic LazyCache.swift
[341/1147] Compiling TSCBasic Lock.swift
[342/1147] Compiling TSCBasic DictionaryExtensions.swift
[343/1147] Compiling TSCBasic DictionaryLiteralExtensions.swift
[346/1147] Compiling TSCBasic FileSystem.swift
[347/1147] Compiling TSCBasic GraphAlgorithms.swift
[353/1147] Compiling ssl_session.cc
[354/1147] Compiling ssl_privkey.cc
[356/1147] Compiling TSCBasic TerminalController.swift
[357/1147] Compiling TSCBasic Thread.swift
[358/1147] Compiling TSCBasic Tuple.swift
[359/1147] Compiling TSCBasic WritableByteStream.swift
[360/1147] Compiling TSCBasic misc.swift
[360/1147] Compiling ssl_file.cc
[361/1147] Compiling ssl_cert.cc
[361/1147] Compiling ssl_lib.cc
[361/1147] Compiling ssl_buffer.cc
[361/1147] Compiling ssl_cipher.cc
[361/1147] Compiling ssl_key_share.cc
[361/1147] Compiling ssl_credential.cc
BUILD FAILURE 6.2 android