Build Information
Failed to build SourceKitLSP, reference main (766f2c
), with Swift 6.2 (beta) for Android on 13 Sep 2025 11:55:54 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/sourcekit-lsp.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/swiftlang/sourcekit-lsp
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 766f2c8 Merge pull request #2291 from natecook1000/formatting-tests-take2
Cloned https://github.com/swiftlang/sourcekit-lsp.git
Revision (git rev-parse @):
766f2c87a750bc3afbf1a5b08cc804e044b6c6ad
SUCCESS checkout https://github.com/swiftlang/sourcekit-lsp.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/swiftlang/sourcekit-lsp.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/swiftlang/indexstore-db.git
[1/5330] Fetching indexstore-db
Fetched https://github.com/swiftlang/indexstore-db.git from cache (0.97s)
Fetching https://github.com/swiftlang/swift-docc.git
[1/71272] Fetching swift-docc
Fetched https://github.com/swiftlang/swift-docc.git from cache (5.12s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit.git
[1/3510] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit.git from cache (0.94s)
Fetching https://github.com/swiftlang/swift-markdown.git
[1/6883] Fetching swift-markdown
Fetched https://github.com/swiftlang/swift-markdown.git from cache (0.82s)
Fetching https://github.com/swiftlang/swift-tools-support-core.git
[1/6952] Fetching swift-tools-support-core
Fetched https://github.com/swiftlang/swift-tools-support-core.git from cache (0.63s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/71915] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (8.13s)
Fetching https://github.com/swiftlang/swift-format.git
[1/12492] Fetching swift-format
Fetched https://github.com/swiftlang/swift-format.git from cache (0.75s)
Fetching https://github.com/swiftlang/swift-package-manager.git
[1/161193] Fetching swift-package-manager
Fetched https://github.com/swiftlang/swift-package-manager.git from cache (14.61s)
Fetching https://github.com/swiftlang/swift-lmdb.git
[1/10281] Fetching swift-lmdb
Fetched https://github.com/swiftlang/swift-lmdb.git from cache (1.22s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18197] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.12s)
Fetching https://github.com/swiftlang/swift-llbuild.git
[1/29218] Fetching swift-llbuild
Fetched https://github.com/swiftlang/swift-llbuild.git from cache (3.98s)
Fetching https://github.com/swiftlang/swift-driver.git
[1/35578] Fetching swift-driver
Fetched https://github.com/swiftlang/swift-driver.git from cache (3.52s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
Fetching https://github.com/apple/swift-collections.git
[1/15958] Fetching swift-argument-parser
[480/20902] Fetching swift-argument-parser, swift-system
[888/21083] Fetching swift-argument-parser, swift-system, swift-toolchain-sqlite
[1053/27666] Fetching swift-argument-parser, swift-system, swift-toolchain-sqlite, swift-certificates
[5460/44576] Fetching swift-argument-parser, swift-system, swift-toolchain-sqlite, swift-certificates, swift-crypto
[7163/62036] Fetching swift-argument-parser, swift-system, swift-toolchain-sqlite, swift-certificates, swift-crypto, swift-collections
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (3.44s)
Fetching https://github.com/apple/swift-nio.git
[48666/61855] Fetching swift-argument-parser, swift-system, swift-certificates, swift-crypto, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (4.03s)
[37631/44395] Fetching swift-argument-parser, swift-system, swift-certificates, swift-crypto
[39323/122475] Fetching swift-argument-parser, swift-system, swift-certificates, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-system.git from cache (7.68s)
Fetched https://github.com/apple/swift-certificates.git from cache (7.71s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (7.73s)
[71566/94990] Fetching swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git from cache (7.82s)
[55437/78080] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (9.76s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.0.0 (14.18s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (0.83s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.5.0 (1.14s)
Fetching https://github.com/apple/swift-asn1.git
[1/1629] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.45s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (1.42s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.7 (0.73s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.6 (2.07s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (0.96s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (1.56s)
Fetching https://github.com/apple/swift-atomics.git
[1/1814] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.67s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.08s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at main (6673b05)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit.git
Working copy of https://github.com/swiftlang/swift-docc-symbolkit.git resolved at main (3fc0c68)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.0.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.0
Creating working copy for https://github.com/swiftlang/swift-llbuild.git
Working copy of https://github.com/swiftlang/swift-llbuild.git resolved at main (9cd0607)
Creating working copy for https://github.com/swiftlang/indexstore-db.git
Working copy of https://github.com/swiftlang/indexstore-db.git resolved at main (9be9752)
Creating working copy for https://github.com/swiftlang/swift-format.git
Working copy of https://github.com/swiftlang/swift-format.git resolved at main (f0f3a83)
Creating working copy for https://github.com/swiftlang/swift-package-manager.git
Working copy of https://github.com/swiftlang/swift-package-manager.git resolved at main (ec2a626)
Creating working copy for https://github.com/swiftlang/swift-docc.git
Working copy of https://github.com/swiftlang/swift-docc.git resolved at main (5ba1436)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.2
Creating working copy for https://github.com/swiftlang/swift-lmdb.git
Working copy of https://github.com/swiftlang/swift-lmdb.git resolved at main (1ad9a2d)
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at gfm (e02dcab)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.6
Creating working copy for https://github.com/swiftlang/swift-markdown.git
Working copy of https://github.com/swiftlang/swift-markdown.git resolved at main (c281baa)
Creating working copy for https://github.com/swiftlang/swift-toolchain-sqlite
Working copy of https://github.com/swiftlang/swift-toolchain-sqlite resolved at 1.0.7
Creating working copy for https://github.com/swiftlang/swift-tools-support-core.git
Working copy of https://github.com/swiftlang/swift-tools-support-core.git resolved at main (a00f2e3)
Creating working copy for https://github.com/swiftlang/swift-driver.git
Working copy of https://github.com/swiftlang/swift-driver.git resolved at main (bff22ba)
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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.86.0
[1/1] Compiling plugin Lint Source Code
[2/2] Compiling plugin Format Source Code
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/818] Write sources
[59/818] Compiling CCompletionScoring CCompletionScoring.c
[60/818] Compiling CSKTestSupport CSKTestSupport.c
[61/818] Compiling Csourcekitd sourcekitd.c
[62/818] Compiling llvmSupport Valgrind.cpp
[63/818] Compiling a_octet.c
[64/818] Compiling CAtomics CAtomics.c
[65/818] Write swift-version-8C5A4AE7A8CE2BA.txt
[66/818] Compiling llvmSupport UnicodeCaseFold.cpp
[67/818] Compiling a_strex.c
[68/889] Compiling llvmSupport circular_raw_ostream.cpp
[69/889] Compiling llvmSupport Unicode.cpp
[70/913] Compiling llvmSupport Twine.cpp
[71/976] Compiling llvmSupport Triple.cpp
[72/1074] Compiling llvmSupport raw_ostream.cpp
[74/1106] Emitting module SwiftExtensions
[74/1108] Compiling llvmSupport YAMLParser.cpp
[76/1108] Emitting module CompletionScoringForPlugin
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CCompletionScoring.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CCompletionScoring/include/CCompletionScoring.h:16:9: warning: '_GNU_SOURCE' macro redefined
14 | #define SOURCEKITLSP_CCOMPLETIONSCORING_H
15 |
16 | #define _GNU_SOURCE
| `- warning: '_GNU_SOURCE' macro redefined
17 | #include <string.h>
18 |
<built-in>:417:9: note: previous definition is here
415 | # 1 "<command line>" 1
416 | #define __swift__ 60200
417 | #define _GNU_SOURCE 1
| `- note: previous definition is here
418 | #define __SWIFT_ATTR_SUPPORTS_SENDING 1
419 | #define __GCC_HAVE_DWARF2_CFI_ASM 1
[77/1112] Emitting module SymbolKit
[77/1118] Compiling llvmSupport Threading.cpp
[79/1118] Compiling CompletionScoring TypeCompatibility.swift
[80/1118] Compiling CompletionScoring SemanticClassification.swift
[81/1118] Compiling CompletionScoring CandidateBatch.swift
[82/1120] Compiling CompletionScoring PopularityIndex.swift
[83/1120] Compiling CompletionScoring PopularityTable.swift
[84/1120] Compiling CompletionScoring ScopeProximity.swift
[85/1120] Compiling CompletionScoring CompletionScore.swift
[86/1120] Compiling CompletionScoring Availability.swift
[87/1120] Compiling CompletionScoring CompletionKind.swift
[88/1120] Compiling CompletionScoring Flair.swift
[89/1120] Compiling CompletionScoring ModuleProximity.swift
[90/1120] Compiling CompletionScoring Popularity.swift
[94/1120] Compiling CompletionScoring StructuralProximity.swift
[95/1120] Compiling CompletionScoring MatchCollator.Match.swift
[96/1120] Compiling CompletionScoring MatchCollator.Selection.swift
[97/1120] Compiling CompletionScoring MatchCollator.swift
[98/1120] Compiling CompletionScoring Pattern.swift
[99/1120] Compiling CompletionScoring SynchronicityCompatibility.swift
[103/1120] Compiling CompletionScoring InfluencingIdentifiers.swift
[109/1138] Compiling llvmSupport TargetParser.cpp
[111/1138] Emitting module LanguageServerProtocol
[112/1138] Compiling CompletionScoring RejectionFilter.swift
[113/1138] Compiling SwiftExtensionsForPlugin TransitiveClosure.swift
[114/1138] Compiling SwiftExtensionsForPlugin URLExtensions.swift
[115/1138] Compiling CompletionScoring SelectTopK.swift
[116/1138] Compiling CompletionScoring BinaryCodable.swift
[117/1138] Compiling CompletionScoring BinaryDecoder.swift
[118/1138] Compiling CompletionScoring BinaryEncoder.swift
[119/1138] Compiling CompletionScoring Array+BinaryCodable.swift
[120/1138] Compiling CompletionScoring Dictionary+BinaryCodable.swift
[121/1138] Compiling CompletionScoring OptionSet+BinaryCodable.swift
[122/1138] Compiling CompletionScoring Optional+BinaryCodable.swift
[123/1138] Compiling CompletionScoring Scalars+BinaryCodable.swift
[124/1138] Compiling CompletionScoringForPlugin String+BinaryCodable.swift
[125/1138] Compiling CompletionScoringForPlugin SwiftExtensions.swift
[126/1138] Compiling CompletionScoringForPlugin UnsafeArray.swift
[127/1138] Compiling CompletionScoringForPlugin UnsafeStackAllocator.swift
[128/1138] Compiling LanguageServerProtocol CompletionItemResolveRequest.swift
[129/1138] Compiling LanguageServerProtocol CompletionRequest.swift
[130/1138] Compiling LanguageServerProtocol CreateWorkDoneProgressRequest.swift
[130/1138] Compiling llvmSupport StringSaver.cpp
[132/1138] Emitting module SwiftExtensionsForPlugin
[163/1143] Compiling CompletionScoring String+BinaryCodable.swift
[164/1143] Compiling CompletionScoring SwiftExtensions.swift
[165/1143] Compiling CompletionScoring UnsafeArray.swift
[166/1143] Compiling CompletionScoring UnsafeStackAllocator.swift
[189/1143] Emitting module CompletionScoring
[196/1143] Compiling PackageCollectionsModel PackageCollectionModel.swift
[213/1143] Compiling LanguageServerProtocol DeclarationRequest.swift
[214/1143] Compiling LanguageServerProtocol DefinitionRequest.swift
[215/1143] Compiling LanguageServerProtocol DiagnosticsRefreshRequest.swift
[216/1143] Compiling LanguageServerProtocol DoccDocumentationRequest.swift
[217/1143] Compiling LanguageServerProtocol DocumentColorRequest.swift
[218/1143] Compiling LanguageServerProtocol DocumentDiagnosticsRequest.swift
[219/1143] Compiling LanguageServerProtocol DocumentHighlightRequest.swift
[220/1143] Compiling LanguageServerProtocol DocumentLinkRequest.swift
[221/1143] Compiling LanguageServerProtocol DocumentLinkResolveRequest.swift
[222/1143] Compiling LanguageServerProtocol DocumentSemanticTokensDeltaRequest.swift
[223/1143] Compiling LanguageServerProtocol DocumentSemanticTokensRangeRequest.swift
[224/1143] Compiling SymbolKit GraphCollector.swift
[225/1143] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[226/1143] Compiling SymbolKit UnifiedSymbol.swift
[227/1143] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[228/1143] Compiling SymbolKit UnifiedSymbolGraph+Overloads.swift
[229/1143] Compiling SymbolKit UnifiedSymbolGraph.swift
[230/1143] Compiling LanguageServerProtocol GetReferenceDocumentRequest.swift
[231/1143] Compiling LanguageServerProtocol HoverRequest.swift
[232/1143] Compiling LanguageServerProtocol ImplementationRequest.swift
[233/1143] Compiling LanguageServerProtocol IndexedRenameRequest.swift
[234/1143] Compiling LanguageServerProtocol InitializeRequest.swift
[235/1143] Compiling LanguageServerProtocol InlayHintRefreshRequest.swift
[236/1143] Compiling LanguageServerProtocol InlayHintRequest.swift
[237/1143] Compiling LanguageServerProtocol InlayHintResolveRequest.swift
[238/1143] Compiling LanguageServerProtocol InlineValueRefreshRequest.swift
[239/1143] Compiling LanguageServerProtocol InlineValueRequest.swift
[240/1143] Compiling LanguageServerProtocol IsIndexingRequest.swift
[241/1143] Compiling LanguageServerProtocol LinkedEditingRangeRequest.swift
[242/1143] Compiling LanguageServerProtocol MonikersRequest.swift
[243/1143] Compiling LanguageServerProtocol OutputPathsRequest.swift
[244/1143] Compiling LanguageServerProtocol PeekDocumentsRequest.swift
[245/1143] Compiling LanguageServerProtocol PrepareRenameRequest.swift
[246/1143] Compiling LanguageServerProtocol ReferencesRequest.swift
[248/1143] Compiling LanguageServerProtocol RegisterCapabilityRequest.swift
[250/1143] Compiling LanguageServerProtocol RenameRequest.swift
[328/1154] Compiling SKLoggingForPlugin Logging.swift
[329/1154] Compiling SKLoggingForPlugin Error+ForLogging.swift
[330/1155] Emitting module PackageCollectionsModel
[331/1155] Compiling PackageCollectionsModel PackageCollectionModel+v1.swift
[333/1156] Emitting module SKLoggingForPlugin
[334/1156] Compiling SKLoggingForPlugin CustomLogStringConvertible.swift
[335/1156] Compiling SKLoggingForPlugin SplitLogMessage.swift
[335/1156] Compiling llvmSupport StringRef.cpp
[337/1156] Compiling SKLoggingForPlugin LoggingScope.swift
[338/1156] Compiling SKLoggingForPlugin NonDarwinLogging.swift
[339/1156] Compiling LanguageServerProtocol StringOrMarkupContent.swift
[340/1156] Compiling LanguageServerProtocol SupportedCodeLensCommand.swift
[341/1156] Compiling LanguageServerProtocol SymbolKind.swift
[342/1156] Compiling LanguageServerProtocol TestItem.swift
[343/1156] Compiling LanguageServerProtocol TextDocumentContentChangeEvent.swift
[344/1156] Compiling LanguageServerProtocol TextDocumentEdit.swift
[345/1156] Compiling LanguageServerProtocol TextDocumentIdentifier.swift
[346/1156] Compiling LanguageServerProtocol TextDocumentItem.swift
[347/1156] Compiling LanguageServerProtocol TextDocumentSaveReason.swift
[348/1156] Compiling LanguageServerProtocol TextEdit.swift
[349/1156] Compiling LanguageServerProtocol Tracing.swift
[350/1156] Compiling LanguageServerProtocol TypeHierarchyItem.swift
[351/1156] Compiling LanguageServerProtocol VersionedNotebookDocumentIdentifier.swift
[352/1156] Compiling LanguageServerProtocol VersionedTextDocumentIdentifier.swift
[353/1156] Compiling LanguageServerProtocol WindowMessageType.swift
[354/1156] Compiling LanguageServerProtocol WorkspaceEdit.swift
[355/1156] Compiling LanguageServerProtocol WorkspaceFolder.swift
[356/1156] Compiling LanguageServerProtocol WorkspaceSettings.swift
[356/1156] Compiling llvmSupport StringMap.cpp
[357/1156] Compiling llvmSupport StringExtras.cpp
[358/1156] Compiling llvmSupport SmallVector.cpp
[365/1157] Compiling LanguageServerProtocol LSPAny.swift
[366/1157] Compiling LanguageServerProtocol Language.swift
[367/1157] Compiling LanguageServerProtocol Location.swift
[368/1157] Compiling LanguageServerProtocol LocationLink.swift
[369/1157] Compiling LanguageServerProtocol LocationsOrLocationLinksResponse.swift
[370/1157] Compiling LanguageServerProtocol MarkupContent.swift
[371/1157] Compiling LanguageServerProtocol NotebookCellTextDocumentFilter.swift
[372/1157] Compiling LanguageServerProtocol NotebookDocument.swift
[373/1157] Compiling LanguageServerProtocol NotebookDocumentChangeEvent.swift
[374/1157] Compiling LanguageServerProtocol NotebookDocumentIdentifier.swift
[375/1157] Compiling LanguageServerProtocol Position.swift
[376/1157] Compiling LanguageServerProtocol PositionEncoding.swift
[377/1157] Compiling LanguageServerProtocol ProgressToken.swift
[378/1157] Compiling LanguageServerProtocol RegistrationOptions.swift
[379/1157] Compiling LanguageServerProtocol SemanticTokenModifiers.swift
[380/1157] Compiling LanguageServerProtocol SemanticTokenTypes.swift
[381/1157] Compiling LanguageServerProtocol SemanticTokens.swift
[382/1157] Compiling LanguageServerProtocol ServerCapabilities.swift
[382/1157] Compiling llvmSupport SmallPtrSet.cpp
[384/1157] Compiling LanguageServerProtocol SelectionRangeRequest.swift
[385/1157] Compiling LanguageServerProtocol SetOptionsRequest.swift
[386/1157] Compiling LanguageServerProtocol ShowDocumentRequest.swift
[387/1157] Compiling LanguageServerProtocol ShowMessageRequest.swift
[388/1157] Compiling LanguageServerProtocol ShutdownRequest.swift
[389/1157] Compiling LanguageServerProtocol SignatureHelpRequest.swift
[390/1157] Compiling LanguageServerProtocol SourceKitOptionsRequest.swift
[391/1157] Compiling LanguageServerProtocol SymbolInfoRequest.swift
[392/1157] Compiling LanguageServerProtocol SynchronizeRequest.swift
[393/1157] Compiling LanguageServerProtocol TriggerReindexRequest.swift
[394/1157] Compiling LanguageServerProtocol TypeDefinitionRequest.swift
[395/1157] Compiling LanguageServerProtocol TypeHierarchyPrepareRequest.swift
[396/1157] Compiling LanguageServerProtocol TypeHierarchySubtypesRequest.swift
[397/1157] Compiling LanguageServerProtocol TypeHierarchySupertypesRequest.swift
[398/1157] Compiling LanguageServerProtocol UnregisterCapabilityRequest.swift
[399/1157] Compiling LanguageServerProtocol WillChangeFilesRequests.swift
[400/1157] Compiling LanguageServerProtocol WillSaveWaitUntilTextDocumentRequest.swift
[401/1157] Compiling LanguageServerProtocol WorkspaceDiagnosticsRequest.swift
[402/1157] Compiling LanguageServerProtocol WorkspaceFoldersRequest.swift
[403/1157] Compiling LanguageServerProtocol WorkspaceSemanticTokensRefreshRequest.swift
[404/1157] Compiling LanguageServerProtocol WorkspaceSymbolResolveRequest.swift
[405/1157] Compiling LanguageServerProtocol WorkspaceSymbolsRequest.swift
[406/1157] Compiling LanguageServerProtocol WorkspaceTestsRequest.swift
[407/1157] Compiling LanguageServerProtocol CallHierarchyItem.swift
[408/1157] Compiling LanguageServerProtocol ClientCapabilities.swift
[409/1157] Compiling LanguageServerProtocol CodeActionKind.swift
[410/1157] Compiling LanguageServerProtocol Command.swift
[411/1157] Compiling LanguageServerProtocol CompletionItem.swift
[412/1157] Compiling LanguageServerProtocol CompletionItemKind.swift
[413/1157] Compiling LanguageServerProtocol Diagnostic.swift
[414/1157] Compiling LanguageServerProtocol DocumentURI.swift
[415/1157] Compiling LanguageServerProtocol FileEvent.swift
[416/1157] Compiling LanguageServerProtocol FileSystemWatcher.swift
[417/1157] Compiling LanguageServerProtocol FoldingRangeKind.swift
[418/1157] Compiling LanguageServerProtocol InlayHint.swift
[419/1157] Compiling LanguageServerProtocol InsertReplaceEdit.swift
[419/1158] Compiling llvmSupport Process.cpp
[422/1158] Compiling SKLoggingForPlugin OrLog.swift
[423/1158] Compiling SKLoggingForPlugin SetGlobalLogFileHandler.swift
[424/1159] Compiling llvmSupport SourceMgr.cpp
[425/1169] Compiling llvmSupport Signals.cpp
[426/1174] Compiling llvmSupport Program.cpp
[428/1174] Compiling SourceKitDForPlugin SourceKitDRegistry.swift
[429/1174] Compiling SourceKitDForPlugin dlopen.swift
[430/1175] Compiling SourceKitDForPlugin SKDResponseDictionary.swift
[431/1175] Compiling SourceKitDForPlugin SKDResponse.swift
[432/1175] Compiling SourceKitDForPlugin SKDResponseArray.swift
[432/1175] Compiling llvmSupport Options.cpp
[434/1175] Compiling SourceKitDForPlugin sourcekitd_functions.swift
[435/1175] Emitting module SourceKitDForPlugin
[436/1175] Compiling SourceKitDForPlugin SKDRequestArray.swift
[437/1175] Compiling SourceKitDForPlugin SKDRequestDictionary.swift
[437/1175] Compiling llvmSupport Mutex.cpp
[439/1175] Compiling SKUtilitiesForPlugin LRUCache.swift
[440/1175] Compiling SKUtilitiesForPlugin Dictionary+InitWithElementsKeyedBy.swift
[441/1175] Compiling SKUtilitiesForPlugin Debouncer.swift
[442/1175] Compiling SKUtilitiesForPlugin LineTable.swift
[443/1175] Emitting module SKUtilitiesForPlugin
[444/1176] Compiling llvmSupport MathExtras.cpp
[445/1176] Compiling llvmSupport NativeFormatting.cpp
[447/1176] Compiling SourceKitDForPlugin SourceKitD.swift
[447/1176] Compiling llvmSupport ManagedStatic.cpp
[448/1176] Compiling llvmSupport Path.cpp
[449/1176] Compiling llvmSupport Memory.cpp
[450/1176] Compiling llvmSupport MD5.cpp
[451/1176] Compiling llvmSupport MemoryBuffer.cpp
[452/1176] Compiling llvmSupport Locale.cpp
[454/1176] Compiling SourceKitDForPlugin sourcekitd_uids.swift
[455/1177] Compiling llvmSupport FormatVariadic.cpp
[456/1177] Compiling llvmSupport FoldingSet.cpp
[457/1180] Compiling llvmSupport Hashing.cpp
[458/1180] Compiling llvmSupport Host.cpp
[460/1180] Compiling SwiftSourceKitPluginCommon DynamicallyLoadedSourceKitdD+forPlugin.swift
[460/1180] Compiling llvmSupport ErrorHandling.cpp
[461/1180] Compiling llvmSupport FileUtilities.cpp
[462/1180] Compiling llvmSupport Errno.cpp
[464/1180] Emitting module SwiftSourceKitPluginCommon
[465/1180] Compiling SwiftSourceKitPluginCommon CompletionResultsArray.swift
[466/1207] Compiling llvmSupport DJB.cpp
[467/1209] Compiling llvmSupport Error.cpp
[468/1209] Compiling llvmSupport ConvertUTF.cpp
[469/1209] Compiling llvmSupport Atomic.cpp
[471/1209] Emitting module SwiftSourceKitClientPlugin
[472/1209] Compiling SwiftSourceKitClientPlugin ClientPlugin.swift
[474/1210] Compiling SwiftSourceKitPlugin Completion+ItemKind.swift
[475/1210] Compiling SwiftSourceKitPlugin Completion+PriorityBucket.swift
[476/1210] Compiling SwiftSourceKitPlugin Completion+SemanticContext.swift
[477/1210] Compiling SwiftSourceKitPlugin Completion+TypeRelation.swift
[478/1213] Compiling SwiftSourceKitPlugin SKDResponse.swift
[479/1213] Compiling SwiftSourceKitPlugin SKDResponseArrayBuilder.swift
[480/1213] Compiling SwiftSourceKitPlugin SKDResponseDictionaryBuilder.swift
[481/1213] Compiling SwiftSourceKitPlugin SKDResponseValue.swift
[482/1213] Compiling SwiftSourceKitPlugin SourceKitDWrappers.swift
[483/1213] Compiling SwiftSourceKitPlugin SourceKitPluginError.swift
[483/1213] Compiling llvmSupport Debug.cpp
[485/1213] Compiling SwiftSourceKitPlugin Plugin.swift
[486/1213] Compiling SwiftSourceKitPlugin SKDRequestArrayReader.swift
[487/1213] Compiling SwiftSourceKitPlugin SKDRequestDictionaryReader.swift
[487/1213] Compiling llvmSupport ConvertUTFWrapper.cpp
[488/1213] Compiling llvmSupport Chrono.cpp
[490/1213] Compiling SwiftSourceKitPlugin Connection.swift
[491/1213] Compiling SwiftSourceKitPlugin Location.swift
[492/1213] Compiling SwiftSourceKitPlugin Position.swift
[493/1213] Compiling SwiftSourceKitPlugin TextEdit.swift
[494/1213] Compiling SwiftSourceKitPlugin CompletionContext.swift
[495/1213] Compiling SwiftSourceKitPlugin CompletionItem.swift
[496/1213] Compiling SwiftSourceKitPlugin CompletionOptions.swift
[497/1213] Compiling SwiftSourceKitPlugin CompletionSorting.swift
[498/1213] Compiling SwiftSourceKitPlugin WithArrayOfCStrings.swift
[499/1213] Compiling SwiftSourceKitPlugin CompletionProvider.swift
[500/1213] Compiling SwiftSourceKitPlugin CompletionResultsArrayBuilder.swift
[500/1213] Compiling llvmSupport APSInt.cpp
[500/1213] Write sources
[502/1213] Compiling llvmSupport Allocator.cpp
[503/1213] Compiling llvmDemangle MicrosoftDemangle.cpp
[505/1213] Emitting module SwiftSourceKitPlugin
[506/1213] Compiling SwiftSourceKitPlugin ASTCompletionItem.swift
[507/1213] Compiling SwiftSourceKitPlugin CompletionSession.swift
[508/1213] Compiling SwiftSourceKitPlugin Completion+Diagnostic.swift
[509/1213] Compiling SwiftSourceKitPlugin Completion+Identifier.swift
[510/1214] Compiling llvmSupport APInt.cpp
[511/1214] Compiling llvmSupport APFloat.cpp
[512/1214] Compiling llvmDemangle ItaniumDemangle.cpp
[513/1214] Compiling llbuildNinja Parser.cpp
[514/1214] Compiling llvmSupport CommandLine.cpp
[515/1214] Compiling llbuildNinja Lexer.cpp
[516/1214] Compiling llbuildCore DependencyInfoParser.cpp
[517/1214] Compiling llbuildCore MakefileDepsParser.cpp
[518/1214] Compiling llbuildNinja Manifest.cpp
[519/1214] Compiling llbuildNinja ManifestLoader.cpp
[520/1214] Compiling llbuildCore BuildEngineTrace.cpp
[521/1214] Compiling llbuildCore BuildDB.cpp
[522/1214] Compiling llbuildCore SQLiteBuildDB.cpp
[523/1214] Compiling llbuildBuildSystem BuildValue.cpp
[524/1214] Compiling llbuildBuildSystem ExternalCommand.cpp
[525/1214] Compiling llbuildBuildSystem ShellCommand.cpp
[526/1214] Compiling llbuildBuildSystem BuildSystemExtensionManager.cpp
[527/1214] Compiling llbuildBuildSystem BuildNode.cpp
[528/1214] Compiling llbuildBuildSystem BuildSystemFrontend.cpp
[529/1214] Compiling llbuildBuildSystem BuildKey.cpp
[530/1214] Compiling llbuildCore BuildEngine.cpp
[531/1214] Compiling llbuildBasic Version.cpp
[532/1214] Compiling llbuildBasic Tracing.cpp
[533/1214] Compiling llbuildBuildSystem BuildDescription.cpp
[534/1214] Compiling llbuildBasic ShellUtility.cpp
[535/1214] Compiling llbuildBasic Hashing.cpp
[536/1214] Compiling llbuildBasic PlatformUtility.cpp
[537/1214] Compiling llbuildBasic Subprocess.cpp
[538/1214] Compiling llbuildBuildSystem BuildFile.cpp
[539/1214] Compiling llbuildBasic SerialQueue.cpp
[540/1214] Compiling llbuildBasic FileSystem.cpp
[541/1214] Compiling llbuildBasic LaneBasedExecutionQueue.cpp
[542/1214] Compiling llbuildBasic FileInfo.cpp
[543/1214] Compiling llbuildBasic ExecutionQueue.cpp
[544/1214] Compiling libllbuild C-API.cpp
[545/1214] Compiling cmark-gfm-extensions tasklist.c
[546/1214] Compiling cmark-gfm-extensions tagfilter.c
[547/1214] Compiling libllbuild Ninja-C-API.cpp
[548/1214] Compiling cmark-gfm-extensions table.c
[549/1214] Compiling libllbuild Core-C-API.cpp
[550/1214] Compiling cmark-gfm-extensions strikethrough.c
[551/1214] Compiling cmark-gfm-extensions ext_scanners.c
[552/1214] Compiling cmark-gfm-extensions core-extensions.c
[553/1214] Compiling cmark-gfm-extensions autolink.c
[554/1214] Compiling cmark-gfm xml.c
[555/1214] Compiling cmark-gfm syntax_extension.c
[556/1214] Compiling cmark-gfm utf8.c
[557/1214] Compiling cmark-gfm render.c
[558/1214] Compiling cmark-gfm registry.c
[559/1214] Compiling cmark-gfm references.c
[560/1214] Compiling cmark-gfm plugin.c
[561/1214] Compiling cmark-gfm plaintext.c
[562/1214] Compiling cmark-gfm map.c
[563/1214] Compiling cmark-gfm node.c
[564/1214] Compiling cmark-gfm man.c
[565/1214] Compiling cmark-gfm linked_list.c
[566/1214] Compiling cmark-gfm scanners.c
[567/1214] Compiling cmark-gfm latex.c
[568/1214] Compiling cmark-gfm iterator.c
[569/1214] Compiling cmark-gfm html.c
[570/1214] Compiling cmark-gfm inlines.c
[571/1214] Compiling cmark-gfm houdini_html_e.c
[572/1214] Compiling cmark-gfm houdini_html_u.c
[573/1214] Compiling cmark-gfm houdini_href_e.c
[574/1214] Compiling cmark-gfm cmark_ctype.c
[575/1214] Compiling libllbuild BuildValue-C-API.cpp
[576/1214] Compiling cmark-gfm footnotes.c
[577/1214] Compiling cmark-gfm commonmark.c
[578/1214] Compiling cmark-gfm cmark.c
[579/1214] Compiling cmark-gfm buffer.c
[580/1214] Write sources
[582/1214] Compiling cmark-gfm arena.c
[583/1214] Write sources
[585/1216] Compiling _SwiftSyntaxCShims PlatformMutex.c
[586/1216] Compiling TSCclibc strerror.c
[587/1216] Compiling cmark-gfm blocks.c
[587/1216] Write sources
[590/1216] Compiling TSCclibc process.c
[591/1216] Compiling TSCclibc libc.c
[592/1216] Wrapping AST for SymbolKit for debugging
[593/1216] Write sources
[596/1220] Emitting module SwiftSyntax603
[597/1220] Compiling SwiftSyntax603 Empty.swift
[598/1221] Emitting module TSCLibc
[599/1221] Compiling TSCLibc libc.swift
[599/1222] Compiling libllbuild BuildKey-C-API.cpp
[602/1222] Write sources
[605/1226] Emitting module SwiftSyntax602
[606/1227] Compiling SwiftSyntax602 Empty.swift
[608/1229] Emitting module SwiftSyntax601
[609/1229] Compiling SwiftSyntax601 Empty.swift
[610/1229] Emitting module SwiftSyntax600
[611/1230] Compiling SwiftSyntax600 Empty.swift
[613/1231] Wrapping AST for TSCLibc for debugging
[614/1244] Wrapping AST for SwiftSyntax603 for debugging
[616/1271] Emitting module _CertificateInternals
[617/1271] Compiling _CertificateInternals _TinyArray.swift
[617/1272] Wrapping AST for SwiftSyntax602 for debugging
[618/1272] Compiling libllbuild BuildDB-C-API.cpp
[619/1272] Write sources
[620/1272] Wrapping AST for SwiftSyntax601 for debugging
[621/1272] Write sources
[623/1272] Wrapping AST for SwiftSyntax600 for debugging
[624/1276] Wrapping AST for SwiftSourceKitPluginCommon for debugging
[626/1276] Emitting module SwiftSyntax510
[627/1276] Emitting module SwiftSyntax509
[628/1276] Compiling SwiftSyntax510 Empty.swift
[629/1276] Compiling SwiftSyntax509 Empty.swift
[629/1278] Wrapping AST for SwiftSourceKitPlugin for debugging
[630/1278] Wrapping AST for _CertificateInternals for debugging
[631/1278] Write sources
[634/1278] Wrapping AST for SwiftSourceKitClientPlugin for debugging
[635/1278] Wrapping AST for SwiftExtensionsForPlugin for debugging
[636/1278] Wrapping AST for SwiftSyntax510 for debugging
[637/1278] Write sources
[639/1278] Wrapping AST for SwiftExtensions for debugging
[639/1278] Copying INPUTS
[642/1278] Wrapping AST for SwiftSyntax509 for debugging
[643/1278] Write sources
[644/1279] Wrapping AST for SourceKitDForPlugin for debugging
[645/1316] Wrapping AST for SKUtilitiesForPlugin for debugging
[646/1365] Wrapping AST for SKLoggingForPlugin for debugging
[646/1365] Write sources
[651/1365] Wrapping AST for PackageCollectionsModel for debugging
[652/1365] Write Objects.LinkFileList
[653/1365] Linking libSwiftSourceKitClientPlugin.so
[654/1365] Write sources
[655/1365] Wrapping AST for LanguageServerProtocol for debugging
[656/1365] Write sources
[658/1365] Compiling CompletionScoringTestSupport resource_bundle_accessor.swift
[659/1382] Compiling SwiftSyntax RawSyntaxLayoutView.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:635:41: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
633 | #endif
634 | posix_spawnattr_init(&attributes)
635 | defer { posix_spawnattr_destroy(&attributes) }
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
636 |
637 | // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:640:36: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
638 | var noSignals = sigset_t()
639 | sigemptyset(&noSignals)
640 | posix_spawnattr_setsigmask(&attributes, &noSignals)
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
641 |
642 | // Reset all signals to default behavior.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:660:39: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
658 | sigaddset(&mostSignals, i)
659 | }
660 | posix_spawnattr_setsigdefault(&attributes, &mostSignals)
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
661 | #endif
662 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:668:39: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
666 | // Establish a separate process group.
667 | flags |= POSIX_SPAWN_SETPGROUP
668 | posix_spawnattr_setpgroup(&attributes, 0)
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
669 | }
670 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:671:34: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
669 | }
670 |
671 | posix_spawnattr_setflags(&attributes, Int16(flags))
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
672 |
673 | // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:679:39: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
677 | var fileActions = posix_spawn_file_actions_t()
678 | #endif
679 | posix_spawn_file_actions_init(&fileActions)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
680 | defer { posix_spawn_file_actions_destroy(&fileActions) }
681 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:680:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
678 | #endif
679 | posix_spawn_file_actions_init(&fileActions)
680 | defer { posix_spawn_file_actions_destroy(&fileActions) }
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
681 |
682 | if let workingDirectory = workingDirectory?.pathString {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:699:42: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
697 |
698 | // Dupe the read portion of the remote to 0.
699 | posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
700 |
701 | // Close the other side's pipe since it was dupped to 0.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:702:43: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
700 |
701 | // Close the other side's pipe since it was dupped to 0.
702 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
703 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
704 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:703:43: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
701 | // Close the other side's pipe since it was dupped to 0.
702 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
703 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
704 |
705 | var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:712:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
710 |
711 | // Open the write end of the pipe.
712 | posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
713 |
714 | // Close the other ends of the pipe since they were dupped to 1.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:715:47: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
713 |
714 | // Close the other ends of the pipe since they were dupped to 1.
715 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
716 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
717 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:716:47: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
714 | // Close the other ends of the pipe since they were dupped to 1.
715 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
716 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
717 |
718 | if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:720:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
718 | if outputRedirection.redirectStderr {
719 | // If merged was requested, send stderr to stdout.
720 | posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
721 | } else {
722 | // If no redirect was requested, open the pipe for stderr.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:724:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
722 | // If no redirect was requested, open the pipe for stderr.
723 | try open(pipe: &stderrPipe)
724 | posix_spawn_file_actions_adddup2(&fileActions, stderrPipe[1], 2)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
725 |
726 | // Close the other ends of the pipe since they were dupped to 2.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:727:51: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
725 |
726 | // Close the other ends of the pipe since they were dupped to 2.
727 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
728 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
729 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:728:51: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
726 | // Close the other ends of the pipe since they were dupped to 2.
727 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
728 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
729 | }
730 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:731:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
729 | }
730 | } else {
731 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
732 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
733 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
730 | } else {
731 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
732 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
733 | }
734 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:741:92: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
739 | let argv = CStringArray(resolvedArgs)
740 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
741 | let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
742 |
743 | guard rv == 0 else {
[660/1382] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:635:41: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
633 | #endif
634 | posix_spawnattr_init(&attributes)
635 | defer { posix_spawnattr_destroy(&attributes) }
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
636 |
637 | // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:640:36: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
638 | var noSignals = sigset_t()
639 | sigemptyset(&noSignals)
640 | posix_spawnattr_setsigmask(&attributes, &noSignals)
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
641 |
642 | // Reset all signals to default behavior.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:660:39: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
658 | sigaddset(&mostSignals, i)
659 | }
660 | posix_spawnattr_setsigdefault(&attributes, &mostSignals)
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
661 | #endif
662 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:668:39: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
666 | // Establish a separate process group.
667 | flags |= POSIX_SPAWN_SETPGROUP
668 | posix_spawnattr_setpgroup(&attributes, 0)
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
669 | }
670 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:671:34: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
669 | }
670 |
671 | posix_spawnattr_setflags(&attributes, Int16(flags))
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
672 |
673 | // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:679:39: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
677 | var fileActions = posix_spawn_file_actions_t()
678 | #endif
679 | posix_spawn_file_actions_init(&fileActions)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
680 | defer { posix_spawn_file_actions_destroy(&fileActions) }
681 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:680:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
678 | #endif
679 | posix_spawn_file_actions_init(&fileActions)
680 | defer { posix_spawn_file_actions_destroy(&fileActions) }
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
681 |
682 | if let workingDirectory = workingDirectory?.pathString {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:699:42: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
697 |
698 | // Dupe the read portion of the remote to 0.
699 | posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
700 |
701 | // Close the other side's pipe since it was dupped to 0.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:702:43: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
700 |
701 | // Close the other side's pipe since it was dupped to 0.
702 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
703 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
704 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:703:43: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
701 | // Close the other side's pipe since it was dupped to 0.
702 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
703 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
704 |
705 | var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:712:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
710 |
711 | // Open the write end of the pipe.
712 | posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
713 |
714 | // Close the other ends of the pipe since they were dupped to 1.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:715:47: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
713 |
714 | // Close the other ends of the pipe since they were dupped to 1.
715 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
716 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
717 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:716:47: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
714 | // Close the other ends of the pipe since they were dupped to 1.
715 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
716 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
717 |
718 | if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:720:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
718 | if outputRedirection.redirectStderr {
719 | // If merged was requested, send stderr to stdout.
720 | posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
721 | } else {
722 | // If no redirect was requested, open the pipe for stderr.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:724:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
722 | // If no redirect was requested, open the pipe for stderr.
723 | try open(pipe: &stderrPipe)
724 | posix_spawn_file_actions_adddup2(&fileActions, stderrPipe[1], 2)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
725 |
726 | // Close the other ends of the pipe since they were dupped to 2.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:727:51: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
725 |
726 | // Close the other ends of the pipe since they were dupped to 2.
727 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
728 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
729 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:728:51: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
726 | // Close the other ends of the pipe since they were dupped to 2.
727 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
728 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
729 | }
730 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:731:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
729 | }
730 | } else {
731 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
732 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
733 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
730 | } else {
731 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
732 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
733 | }
734 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:741:92: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
739 | let argv = CStringArray(resolvedArgs)
740 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
741 | let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
742 |
743 | guard rv == 0 else {
[661/1382] Compiling SwiftSyntax RawSyntaxTokenView.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:635:41: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
633 | #endif
634 | posix_spawnattr_init(&attributes)
635 | defer { posix_spawnattr_destroy(&attributes) }
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
636 |
637 | // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:640:36: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
638 | var noSignals = sigset_t()
639 | sigemptyset(&noSignals)
640 | posix_spawnattr_setsigmask(&attributes, &noSignals)
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
641 |
642 | // Reset all signals to default behavior.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:660:39: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
658 | sigaddset(&mostSignals, i)
659 | }
660 | posix_spawnattr_setsigdefault(&attributes, &mostSignals)
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
661 | #endif
662 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:668:39: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
666 | // Establish a separate process group.
667 | flags |= POSIX_SPAWN_SETPGROUP
668 | posix_spawnattr_setpgroup(&attributes, 0)
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
669 | }
670 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:671:34: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
669 | }
670 |
671 | posix_spawnattr_setflags(&attributes, Int16(flags))
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
672 |
673 | // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:679:39: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
677 | var fileActions = posix_spawn_file_actions_t()
678 | #endif
679 | posix_spawn_file_actions_init(&fileActions)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
680 | defer { posix_spawn_file_actions_destroy(&fileActions) }
681 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:680:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
678 | #endif
679 | posix_spawn_file_actions_init(&fileActions)
680 | defer { posix_spawn_file_actions_destroy(&fileActions) }
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
681 |
682 | if let workingDirectory = workingDirectory?.pathString {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:699:42: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
697 |
698 | // Dupe the read portion of the remote to 0.
699 | posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
700 |
701 | // Close the other side's pipe since it was dupped to 0.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:702:43: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
700 |
701 | // Close the other side's pipe since it was dupped to 0.
702 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
703 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
704 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:703:43: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
701 | // Close the other side's pipe since it was dupped to 0.
702 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
703 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
704 |
705 | var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:712:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
710 |
711 | // Open the write end of the pipe.
712 | posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
713 |
714 | // Close the other ends of the pipe since they were dupped to 1.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:715:47: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
713 |
714 | // Close the other ends of the pipe since they were dupped to 1.
715 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
716 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
717 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:716:47: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
714 | // Close the other ends of the pipe since they were dupped to 1.
715 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
716 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
717 |
718 | if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:720:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
718 | if outputRedirection.redirectStderr {
719 | // If merged was requested, send stderr to stdout.
720 | posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
721 | } else {
722 | // If no redirect was requested, open the pipe for stderr.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:724:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
722 | // If no redirect was requested, open the pipe for stderr.
723 | try open(pipe: &stderrPipe)
724 | posix_spawn_file_actions_adddup2(&fileActions, stderrPipe[1], 2)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
725 |
726 | // Close the other ends of the pipe since they were dupped to 2.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:727:51: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
725 |
726 | // Close the other ends of the pipe since they were dupped to 2.
727 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
728 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
729 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:728:51: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
726 | // Close the other ends of the pipe since they were dupped to 2.
727 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
728 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
729 | }
730 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:731:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
729 | }
730 | } else {
731 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
732 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
733 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
730 | } else {
731 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
732 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
733 | }
734 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:741:92: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
739 | let argv = CStringArray(resolvedArgs)
740 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
741 | let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
742 |
743 | guard rv == 0 else {
[662/1382] Compiling SwiftSyntax SourceEdit.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:635:41: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
633 | #endif
634 | posix_spawnattr_init(&attributes)
635 | defer { posix_spawnattr_destroy(&attributes) }
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
636 |
637 | // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:640:36: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
638 | var noSignals = sigset_t()
639 | sigemptyset(&noSignals)
640 | posix_spawnattr_setsigmask(&attributes, &noSignals)
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
641 |
642 | // Reset all signals to default behavior.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:660:39: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
658 | sigaddset(&mostSignals, i)
659 | }
660 | posix_spawnattr_setsigdefault(&attributes, &mostSignals)
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
661 | #endif
662 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:668:39: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
666 | // Establish a separate process group.
667 | flags |= POSIX_SPAWN_SETPGROUP
668 | posix_spawnattr_setpgroup(&attributes, 0)
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
669 | }
670 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:671:34: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
669 | }
670 |
671 | posix_spawnattr_setflags(&attributes, Int16(flags))
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
672 |
673 | // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:679:39: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
677 | var fileActions = posix_spawn_file_actions_t()
678 | #endif
679 | posix_spawn_file_actions_init(&fileActions)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
680 | defer { posix_spawn_file_actions_destroy(&fileActions) }
681 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:680:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
678 | #endif
679 | posix_spawn_file_actions_init(&fileActions)
680 | defer { posix_spawn_file_actions_destroy(&fileActions) }
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
681 |
682 | if let workingDirectory = workingDirectory?.pathString {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:699:42: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
697 |
698 | // Dupe the read portion of the remote to 0.
699 | posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
700 |
701 | // Close the other side's pipe since it was dupped to 0.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:702:43: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
700 |
701 | // Close the other side's pipe since it was dupped to 0.
702 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
703 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
704 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:703:43: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
701 | // Close the other side's pipe since it was dupped to 0.
702 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
703 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
704 |
705 | var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:712:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
710 |
711 | // Open the write end of the pipe.
712 | posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
713 |
714 | // Close the other ends of the pipe since they were dupped to 1.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:715:47: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
713 |
714 | // Close the other ends of the pipe since they were dupped to 1.
715 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
716 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
717 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:716:47: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
714 | // Close the other ends of the pipe since they were dupped to 1.
715 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
716 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
717 |
718 | if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:720:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
718 | if outputRedirection.redirectStderr {
719 | // If merged was requested, send stderr to stdout.
720 | posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
721 | } else {
722 | // If no redirect was requested, open the pipe for stderr.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:724:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
722 | // If no redirect was requested, open the pipe for stderr.
723 | try open(pipe: &stderrPipe)
724 | posix_spawn_file_actions_adddup2(&fileActions, stderrPipe[1], 2)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
725 |
726 | // Close the other ends of the pipe since they were dupped to 2.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:727:51: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
725 |
726 | // Close the other ends of the pipe since they were dupped to 2.
727 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
728 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
729 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:728:51: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
726 | // Close the other ends of the pipe since they were dupped to 2.
727 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
728 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
729 | }
730 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:731:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
729 | }
730 | } else {
731 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
732 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
733 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
730 | } else {
731 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
732 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
733 | }
734 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:741:92: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
739 | let argv = CStringArray(resolvedArgs)
740 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
741 | let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
742 |
743 | guard rv == 0 else {
[663/1382] Compiling SwiftSyntax SyntaxNodeStructure.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:635:41: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
633 | #endif
634 | posix_spawnattr_init(&attributes)
635 | defer { posix_spawnattr_destroy(&attributes) }
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
636 |
637 | // Unmask all signals.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:640:36: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
638 | var noSignals = sigset_t()
639 | sigemptyset(&noSignals)
640 | posix_spawnattr_setsigmask(&attributes, &noSignals)
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
641 |
642 | // Reset all signals to default behavior.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:660:39: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
658 | sigaddset(&mostSignals, i)
659 | }
660 | posix_spawnattr_setsigdefault(&attributes, &mostSignals)
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
661 | #endif
662 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:668:39: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
666 | // Establish a separate process group.
667 | flags |= POSIX_SPAWN_SETPGROUP
668 | posix_spawnattr_setpgroup(&attributes, 0)
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
669 | }
670 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:671:34: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
669 | }
670 |
671 | posix_spawnattr_setflags(&attributes, Int16(flags))
| |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
672 |
673 | // Setup the file actions.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:679:39: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
677 | var fileActions = posix_spawn_file_actions_t()
678 | #endif
679 | posix_spawn_file_actions_init(&fileActions)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
680 | defer { posix_spawn_file_actions_destroy(&fileActions) }
681 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:680:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
678 | #endif
679 | posix_spawn_file_actions_init(&fileActions)
680 | defer { posix_spawn_file_actions_destroy(&fileActions) }
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
681 |
682 | if let workingDirectory = workingDirectory?.pathString {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:699:42: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
697 |
698 | // Dupe the read portion of the remote to 0.
699 | posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
700 |
701 | // Close the other side's pipe since it was dupped to 0.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:702:43: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
700 |
701 | // Close the other side's pipe since it was dupped to 0.
702 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
703 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
704 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:703:43: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
701 | // Close the other side's pipe since it was dupped to 0.
702 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
703 | posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
704 |
705 | var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:712:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
710 |
711 | // Open the write end of the pipe.
712 | posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
713 |
714 | // Close the other ends of the pipe since they were dupped to 1.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:715:47: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
713 |
714 | // Close the other ends of the pipe since they were dupped to 1.
715 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
716 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
717 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:716:47: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
714 | // Close the other ends of the pipe since they were dupped to 1.
715 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
716 | posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
717 |
718 | if outputRedirection.redirectStderr {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:720:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
718 | if outputRedirection.redirectStderr {
719 | // If merged was requested, send stderr to stdout.
720 | posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
721 | } else {
722 | // If no redirect was requested, open the pipe for stderr.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:724:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
722 | // If no redirect was requested, open the pipe for stderr.
723 | try open(pipe: &stderrPipe)
724 | posix_spawn_file_actions_adddup2(&fileActions, stderrPipe[1], 2)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
725 |
726 | // Close the other ends of the pipe since they were dupped to 2.
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:727:51: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
725 |
726 | // Close the other ends of the pipe since they were dupped to 2.
727 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
728 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
729 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:728:51: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
726 | // Close the other ends of the pipe since they were dupped to 2.
727 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
728 | posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
729 | }
730 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:731:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
729 | }
730 | } else {
731 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
732 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
733 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
730 | } else {
731 | posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
732 | posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
| |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
733 | }
734 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:741:92: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
739 | let argv = CStringArray(resolvedArgs)
740 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
741 | let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
742 |
743 | guard rv == 0 else {
[664/1387] Compiling CompletionScoringTestSupport WeightedChoices.swift
[665/1387] Compiling CompletionScoringTestSupport Timings.swift
[666/1387] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[667/1387] Compiling InternalCollectionsUtilities Specialize.swift
[668/1389] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[669/1389] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[670/1389] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[671/1389] Compiling InternalCollectionsUtilities Debugging.swift
[672/1389] Compiling InternalCollectionsUtilities Descriptions.swift
[673/1389] Compiling InternalCollectionsUtilities _SortedCollection.swift
[674/1389] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[675/1389] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[676/1389] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[676/1389] Compiling llbuildBuildSystem BuildSystem.cpp
[678/1389] Emitting module TSCBasic
[679/1389] Compiling CompletionScoringTestSupport SymbolGenerator.swift
[680/1389] Compiling CompletionScoringTestSupport TestExtensions.swift
[681/1389] Emitting module CompletionScoringTestSupport
[682/1389] Compiling CompletionScoringTestSupport RepeatableRandomNumberGenerator.swift
[683/1390] Compiling InternalCollectionsUtilities UInt+reversed.swift
[684/1390] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[686/1390] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[687/1390] Compiling InternalCollectionsUtilities Integer rank.swift
[688/1390] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[695/1390] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[696/1390] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[704/1392] Emitting module InternalCollectionsUtilities
[705/1392] Compiling SwiftSyntax Trivia.swift
[706/1392] Compiling SwiftSyntax Utils.swift
[707/1392] Compiling SwiftSyntax ChildNameForKeyPath.swift
[708/1392] Compiling SwiftSyntax Keyword.swift
[709/1392] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[710/1392] Compiling SwiftSyntax Identifier.swift
[711/1392] Compiling SwiftSyntax MemoryLayout.swift
[712/1392] Compiling SwiftSyntax MissingNodeInitializers.swift
[713/1392] Compiling SwiftSyntax RawSyntax.swift
[714/1392] Compiling SwiftSyntax RawSyntaxArena.swift
[714/1392] Compiling libllbuild BuildSystem-C-API.cpp
[720/1400] Compiling SwiftSyntax SyntaxProtocol.swift
[721/1400] Compiling SwiftSyntax SyntaxText.swift
[722/1400] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[723/1400] Compiling SwiftSyntax TokenDiagnostic.swift
[724/1400] Compiling SwiftSyntax TokenSequence.swift
[725/1400] Compiling SwiftSyntax TokenSyntax.swift
[727/1401] Compiling IndexStoreDB_Support PatternMatching.cpp
[729/1401] Compiling IndexStoreDB_Support Logging-NonMac.cpp
[734/1456] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[735/1456] Compiling OrderedCollections OrderedDictionary+Elements.swift
[736/1456] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[737/1456] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[738/1456] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[739/1456] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[740/1456] Compiling OrderedCollections _HashTable.swift
[741/1456] Compiling OrderedCollections _Hashtable+Header.swift
[742/1456] Compiling OrderedCollections OrderedDictionary+Codable.swift
[743/1456] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[744/1456] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[745/1456] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[746/1456] Compiling llbuildSwift NinjaManifest.swift
[747/1456] Compiling llbuildSwift Internals.swift
[748/1456] Compiling llbuildSwift CoreBindings.swift
[749/1456] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[750/1456] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[751/1456] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[752/1456] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[753/1456] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[754/1456] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[755/1456] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[756/1456] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[757/1456] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[758/1456] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[759/1456] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[760/1456] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[761/1456] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[762/1456] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[763/1463] Compiling llbuildSwift BuildKey.swift
[766/1463] Compiling llbuildSwift BuildValue.swift
[767/1463] Emitting module llbuildSwift
[768/1463] Compiling llbuildSwift BuildDBBindings.swift
[769/1463] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[770/1463] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[771/1463] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[772/1463] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[773/1463] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[774/1463] Compiling OrderedCollections OrderedDictionary.swift
[775/1463] Compiling OrderedCollections OrderedSet+Codable.swift
[776/1463] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[777/1463] Compiling OrderedCollections OrderedSet+Descriptions.swift
[778/1471] Emitting module SwiftASN1
[779/1471] Compiling OrderedCollections OrderedSet+Hashable.swift
[784/1472] Compiling IndexStoreDB_Support Logging.cpp
[789/1472] Compiling OrderedCollections OrderedSet+Diffing.swift
[790/1472] Compiling OrderedCollections OrderedSet+Equatable.swift
[791/1472] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[792/1472] Compiling IndexStoreDB_Support Path.cpp
[792/1472] Compiling SwiftToolchainCSQLite sqlite3.c
BUILD FAILURE 6.2 android