The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PrivateHeaderKit, reference main (0281f9), with Swift 6.3 for Wasm on 19 Apr 2026 07:41:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lynnswap/PrivateHeaderKit.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/lynnswap/PrivateHeaderKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0281f9f Merge pull request #20 from lynnswap:codex/fix-dump-fd-handling
Cloned https://github.com/lynnswap/PrivateHeaderKit.git
Revision (git rev-parse @):
0281f9f36d713f3eb5d0f967cfb55c785c988d8b
SUCCESS checkout https://github.com/lynnswap/PrivateHeaderKit.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/lynnswap/PrivateHeaderKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/lynnswap/MachOObjCSection.git
[1/2318] Fetching machoobjcsection
Fetched https://github.com/lynnswap/MachOObjCSection.git from cache (0.25s)
Fetching https://github.com/lynnswap/MachOSwiftSection.git
[1/9275] Fetching machoswiftsection
Fetched https://github.com/lynnswap/MachOSwiftSection.git from cache (0.52s)
Fetching https://github.com/lynnswap/SourceKitD.git
Fetching https://github.com/christophhagen/BinaryCodable
Fetching https://github.com/lynnswap/DyldPrivate.git
Fetching https://github.com/MxIris-DeveloperTool-Forks/swift-clang
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/lynnswap/swift-apinotes.git
[1/2941] Fetching binarycodable
[560/3105] Fetching binarycodable, sourcekitd
[1120/3270] Fetching binarycodable, sourcekitd, swift-clang
[2624/3506] Fetching binarycodable, sourcekitd, swift-clang, swift-apinotes
[3201/4948] Fetching binarycodable, sourcekitd, swift-clang, swift-apinotes, rainbow
Fetched https://github.com/onevcat/Rainbow from cache (0.32s)
Fetched https://github.com/lynnswap/swift-apinotes.git from cache (0.32s)
Fetched https://github.com/MxIris-DeveloperTool-Forks/swift-clang from cache (0.32s)
Fetching https://github.com/MxIris-Library-Forks/swift-memberwise-init-macro
Fetching https://github.com/pointfreeco/swift-dependencies
Fetched https://github.com/christophhagen/BinaryCodable from cache (0.34s)
Fetching https://github.com/p-x9/AssociatedObject
[1/22] Fetching dyldprivate
[15/729] Fetching dyldprivate, associatedobject
[730/1396] Fetching dyldprivate, associatedobject, swift-memberwise-init-macro
[737/8165] Fetching dyldprivate, associatedobject, swift-memberwise-init-macro, swift-dependencies
Fetched https://github.com/p-x9/AssociatedObject from cache (0.25s)
[3465/7458] Fetching dyldprivate, swift-memberwise-init-macro, swift-dependencies
Fetched https://github.com/lynnswap/DyldPrivate.git from cache (0.60s)
Fetched https://github.com/lynnswap/SourceKitD.git from cache (0.60s)
Fetching https://github.com/apple/swift-argument-parser
[3646/7436] Fetching swift-memberwise-init-macro, swift-dependencies
Fetching https://github.com/p-x9/swift-fileio.git
[7437/7682] Fetching swift-memberwise-init-macro, swift-dependencies, swift-fileio
Fetching https://github.com/apple/swift-collections
Fetched https://github.com/MxIris-Library-Forks/swift-memberwise-init-macro from cache (0.51s)
Fetching https://github.com/lynnswap/FrameworkToolbox.git
Fetched https://github.com/pointfreeco/swift-dependencies from cache (0.52s)
Fetched https://github.com/p-x9/swift-fileio.git from cache (0.23s)
Fetching https://github.com/lynnswap/MachOKit.git
Fetching https://github.com/p-x9/swift-objc-dump.git
[1/17529] Fetching swift-argument-parser
[5611/18162] Fetching swift-argument-parser, frameworktoolbox
[6882/18591] Fetching swift-argument-parser, frameworktoolbox, swift-objc-dump
[8075/25197] Fetching swift-argument-parser, frameworktoolbox, swift-objc-dump, machokit
[18129/48766] Fetching swift-argument-parser, frameworktoolbox, swift-objc-dump, machokit, swift-collections
Fetched https://github.com/p-x9/swift-objc-dump.git from cache (0.30s)
[21621/48337] Fetching swift-argument-parser, frameworktoolbox, machokit, swift-collections
Fetched https://github.com/lynnswap/FrameworkToolbox.git from cache (0.31s)
[21816/47704] Fetching swift-argument-parser, machokit, swift-collections
Fetching https://github.com/apple/swift-async-algorithms
Fetched https://github.com/lynnswap/MachOKit.git from cache (0.47s)
[19415/41098] Fetching swift-argument-parser, swift-collections
[20359/47345] Fetching swift-argument-parser, swift-collections, swift-async-algorithms
Fetching https://github.com/swiftlang/swift-syntax.git
Fetched https://github.com/apple/swift-argument-parser from cache (1.16s)
Fetched https://github.com/apple/swift-async-algorithms from cache (0.65s)
[15320/23569] Fetching swift-collections
[20742/98552] Fetching swift-collections, swift-syntax
Fetched https://github.com/apple/swift-collections from cache (2.48s)
[14997/74983] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (9.71s)
Computing version for https://github.com/lynnswap/DyldPrivate.git
Computed https://github.com/lynnswap/DyldPrivate.git at 0.1.0 (12.16s)
Computing version for https://github.com/lynnswap/swift-apinotes.git
Computed https://github.com/lynnswap/swift-apinotes.git at 0.1.0 (0.65s)
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/SwiftyLab/MetaCodable
[1/11551] Fetching yams
[1272/169801] Fetching yams, metacodable
Fetched https://github.com/jpsim/Yams from cache (11.02s)
Fetched https://github.com/SwiftyLab/MetaCodable from cache (11.25s)
Computing version for https://github.com/lynnswap/SourceKitD.git
Computed https://github.com/lynnswap/SourceKitD.git at 0.1.0 (11.93s)
Computing version for https://github.com/lynnswap/FrameworkToolbox.git
Computed https://github.com/lynnswap/FrameworkToolbox.git at 0.3.3 (0.71s)
Fetching https://github.com/apple/swift-log.git
[1/6635] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.74s)
Computing version for https://github.com/lynnswap/MachOKit.git
warning: 'machokit': /Package.swift:135:1: warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
133 | }
134 |
135 | extension SwiftSetting: CaseIterable {
    | |- warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
136 |     public static var allCases: [Self] {
137 |         [
Computed https://github.com/lynnswap/MachOKit.git at 0.47.0 (1.53s)
Fetching https://github.com/p-x9/ObjectArchiveKit.git
Fetching https://github.com/p-x9/swift-fileio-extra.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/p-x9/swift-binary-parse-support.git
[1/48] Fetching swift-fileio-extra
[49/290] Fetching swift-fileio-extra, swift-binary-parse-support
[120/549] Fetching swift-fileio-extra, swift-binary-parse-support, objectarchivekit
[550/17965] Fetching swift-fileio-extra, swift-binary-parse-support, objectarchivekit, swift-crypto
Fetched https://github.com/p-x9/swift-binary-parse-support.git from cache (3.03s)
Fetched https://github.com/p-x9/swift-fileio-extra.git from cache (3.05s)
Fetched https://github.com/p-x9/ObjectArchiveKit.git from cache (3.05s)
Fetched https://github.com/apple/swift-crypto.git from cache (3.10s)
Computing version for https://github.com/p-x9/swift-fileio.git
Computed https://github.com/p-x9/swift-fileio.git at 0.13.0 (3.48s)
Computing version for https://github.com/p-x9/swift-objc-dump.git
Computed https://github.com/p-x9/swift-objc-dump.git at 0.8.0 (0.37s)
Computing version for https://github.com/p-x9/swift-binary-parse-support.git
Computed https://github.com/p-x9/swift-binary-parse-support.git at 0.2.1 (0.36s)
Computing version for https://github.com/p-x9/swift-fileio-extra.git
Computed https://github.com/p-x9/swift-fileio-extra.git at 0.2.2 (0.48s)
Computing version for https://github.com/MxIris-DeveloperTool-Forks/swift-clang
Computed https://github.com/MxIris-DeveloperTool-Forks/swift-clang at 0.2.0 (1.34s)
Computing version for https://github.com/p-x9/AssociatedObject
Computed https://github.com/p-x9/AssociatedObject at 0.14.0 (0.51s)
Fetching https://github.com/p-x9/swift-literal-type-inference.git
Fetching https://github.com/p-x9/swift-object-association.git
[1/207] Fetching swift-object-association
[208/318] Fetching swift-object-association, swift-literal-type-inference
Fetched https://github.com/p-x9/swift-literal-type-inference.git from cache (0.21s)
Fetched https://github.com/p-x9/swift-object-association.git from cache (0.21s)
Computing version for https://github.com/p-x9/swift-object-association.git
Computed https://github.com/p-x9/swift-object-association.git at 0.5.0 (0.62s)
Computing version for https://github.com/p-x9/swift-literal-type-inference.git
Computed https://github.com/p-x9/swift-literal-type-inference.git at 0.5.0 (0.44s)
Computing version for https://github.com/SwiftyLab/MetaCodable
Computed https://github.com/SwiftyLab/MetaCodable at 1.6.0 (1.23s)
Computing version for https://github.com/christophhagen/BinaryCodable
Computed https://github.com/christophhagen/BinaryCodable at 3.2.0 (0.39s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.1 (0.38s)
Computing version for https://github.com/p-x9/ObjectArchiveKit.git
Computed https://github.com/p-x9/ObjectArchiveKit.git at 0.5.0 (0.44s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.1 (2.50s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.12.0 (0.42s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/combine-schedulers
[1/2606] Fetching combine-schedulers
[679/3562] Fetching combine-schedulers, swift-concurrency-extras
[3563/4879] Fetching combine-schedulers, swift-concurrency-extras, swift-clocks
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.27s)
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.28s)
[1/5723] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.32s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.73s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (1.11s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.2.0 (0.44s)
Fetching https://github.com/OpenCombine/OpenCombine.git
[1/8284] Fetching opencombine
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (0.59s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (2.86s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.4.1 (0.74s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.1.3 (0.70s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.54s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.2 (0.47s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (0.78s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (0.39s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.41s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (0.57s)
Fetching https://github.com/apple/swift-asn1.git
[1/1803] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (1.09s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (1.58s)
Computing version for https://github.com/MxIris-Library-Forks/swift-memberwise-init-macro
Computed https://github.com/MxIris-Library-Forks/swift-memberwise-init-macro at 0.5.3-fork.1 (0.71s)
Creating working copy for https://github.com/lynnswap/MachOSwiftSection.git
Working copy of https://github.com/lynnswap/MachOSwiftSection.git resolved at 2fbb1a78e316a2beaf2911488ecda6455e205f84
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.0
Creating working copy for https://github.com/p-x9/ObjectArchiveKit.git
Working copy of https://github.com/p-x9/ObjectArchiveKit.git resolved at 0.5.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
Creating working copy for https://github.com/lynnswap/MachOObjCSection.git
Working copy of https://github.com/lynnswap/MachOObjCSection.git resolved at 3dbf6a856cbdc856d4d7c1fe6bbf81161e0fbe9c
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.1
Creating working copy for https://github.com/p-x9/AssociatedObject
Working copy of https://github.com/p-x9/AssociatedObject resolved at 0.14.0
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.12.0
Creating working copy for https://github.com/p-x9/swift-object-association.git
Working copy of https://github.com/p-x9/swift-object-association.git resolved at 0.5.0
Creating working copy for https://github.com/MxIris-Library-Forks/swift-memberwise-init-macro
Working copy of https://github.com/MxIris-Library-Forks/swift-memberwise-init-macro resolved at 0.5.3-fork.1
Creating working copy for https://github.com/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.14.0
Creating working copy for https://github.com/p-x9/swift-fileio-extra.git
Working copy of https://github.com/p-x9/swift-fileio-extra.git resolved at 0.2.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.4.1
Creating working copy for https://github.com/SwiftyLab/MetaCodable
Working copy of https://github.com/SwiftyLab/MetaCodable resolved at 1.6.0
Creating working copy for https://github.com/p-x9/swift-fileio.git
Working copy of https://github.com/p-x9/swift-fileio.git resolved at 0.13.0
Creating working copy for https://github.com/lynnswap/swift-apinotes.git
Working copy of https://github.com/lynnswap/swift-apinotes.git resolved at 0.1.0
Creating working copy for https://github.com/christophhagen/BinaryCodable
Working copy of https://github.com/christophhagen/BinaryCodable resolved at 3.2.0
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
Creating working copy for https://github.com/lynnswap/MachOKit.git
Working copy of https://github.com/lynnswap/MachOKit.git resolved at 0.47.0
Creating working copy for https://github.com/lynnswap/DyldPrivate.git
Working copy of https://github.com/lynnswap/DyldPrivate.git resolved at 0.1.0
Creating working copy for https://github.com/p-x9/swift-literal-type-inference.git
Working copy of https://github.com/p-x9/swift-literal-type-inference.git resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.1.3
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.2.0
Creating working copy for https://github.com/lynnswap/FrameworkToolbox.git
Working copy of https://github.com/lynnswap/FrameworkToolbox.git resolved at 0.3.3
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.2.1
Creating working copy for https://github.com/p-x9/swift-objc-dump.git
Working copy of https://github.com/p-x9/swift-objc-dump.git resolved at 0.8.0
Creating working copy for https://github.com/lynnswap/SourceKitD.git
Working copy of https://github.com/lynnswap/SourceKitD.git resolved at 0.1.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.9.0
Creating working copy for https://github.com/MxIris-DeveloperTool-Forks/swift-clang
Working copy of https://github.com/MxIris-DeveloperTool-Forks/swift-clang resolved at 0.2.0
Creating working copy for https://github.com/p-x9/swift-binary-parse-support.git
Working copy of https://github.com/p-x9/swift-binary-parse-support.git resolved at 0.2.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
warning: 'machokit': /host/spi-builder-workspace/.build/checkouts/MachOKit/Package.swift:135:1: warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
133 | }
134 |
135 | extension SwiftSetting: CaseIterable {
    | |- warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
136 |     public static var allCases: [Self] {
137 |         [
[1/1] Compiling plugin MetaProtocolCodable
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/542] Write sources
[10/542] Compiling _SwiftSyntaxCShims dummy.c
[11/542] Write sources
[32/542] Write swift-version-24593BA9C3E375BF.txt
[33/542] Write sources
[42/542] Compiling UtilitiesC PtrAuthWrapper.c
[43/542] Write sources
[49/591] Compiling MachOSwiftSectionC ValueWitnessTable.c
[50/594] Compiling MachOSwiftSectionC Functions.c
[51/594] Compiling MachOSwiftSectionC CallAccessor.c
[52/594] Write sources
[56/594] Compiling MachOObjCSectionC dummy.c
[57/594] Compiling MachOKitC mach-o-linux.c
[58/594] Write sources
[64/600] Emitting module Semantic
[65/602] Emitting module Logging
[66/602] Emitting module ObjCTypeDecodeKit
[67/603] Emitting module SwiftSyntax601
[68/603] Compiling SwiftSyntax601 Empty.swift
[69/604] Emitting module SwiftSyntax600
[70/604] Compiling SwiftSyntax600 Empty.swift
[72/605] Emitting module SwiftSyntax509
[73/605] Compiling SwiftSyntax509 Empty.swift
[75/608] Wrapping AST for SwiftSyntax601 for debugging
[77/608] Emitting module SwiftSyntax510
[78/608] Compiling SwiftSyntax510 Empty.swift
[78/609] Wrapping AST for SwiftSyntax600 for debugging
[79/609] Wrapping AST for SwiftSyntax509 for debugging
[80/609] Write sources
[87/610] Wrapping AST for SwiftSyntax510 for debugging
[88/622] Write sources
[90/698] Compiling SwiftSyntax MemoryLayout.swift
[91/698] Compiling SwiftSyntax MissingNodeInitializers.swift
[92/700] Emitting module IssueReportingPackageSupport
[93/700] Compiling IssueReportingPackageSupport _Test.swift
[95/701] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[96/701] Compiling SwiftSyntax SourcePresence.swift
[97/701] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[98/701] Compiling SwiftSyntax Convenience.swift
[99/701] Compiling SwiftSyntax CustomTraits.swift
[100/701] Compiling SwiftSyntax EditorPlaceholder.swift
[101/701] Compiling InternalCollectionsUtilities _SortedCollection.swift
[102/701] Compiling DyldPrivate dummy.c
[104/701] Compiling SwiftSyntax Syntax.swift
[105/701] Compiling SwiftSyntax SyntaxArena.swift
[106/701] Compiling SwiftSyntax RawSyntax.swift
[107/701] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[108/701] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[110/701] Compiling SwiftSyntax Identifier.swift
[111/701] Compiling SwiftSyntax CommonAncestor.swift
[114/701] Compiling SwiftSyntax RawSyntaxTokenView.swift
[115/701] Compiling SwiftSyntax SourceEdit.swift
[123/701] Compiling Logging LogEvent.swift
[124/701] Compiling SwiftSyntax Assert.swift
[125/701] Compiling SwiftSyntax BumpPtrAllocator.swift
[127/701] Compiling SwiftSyntax AbsolutePosition.swift
[128/701] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[129/701] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[131/722] Compiling IssueReporting SwiftTesting.swift
[132/722] Compiling IssueReporting UncheckedSendable.swift
[132/722] Wrapping AST for IssueReportingPackageSupport for debugging
[133/722] Wrapping AST for Semantic for debugging
[134/722] Write sources
[143/733] Compiling ConcurrencyExtras MainSerialExecutor.swift
[144/734] Emitting module ConcurrencyExtras
[145/734] Compiling IssueReporting IssueSeverity.swift
[146/734] Compiling IssueReporting ReportIssue.swift
[147/734] Compiling IssueReporting TestContext.swift
[148/734] Compiling IssueReporting Unimplemented.swift
[149/736] Compiling ConcurrencyExtras UncheckedSendable.swift
[150/736] Emitting module InternalCollectionsUtilities
[151/736] Compiling Logging Locks.swift
[152/736] Compiling Logging MetadataProvider.swift
[153/736] Compiling ConcurrencyExtras ActorIsolated.swift
[154/736] Compiling ConcurrencyExtras AnyHashableSendable.swift
[155/736] Compiling ConcurrencyExtras AsyncStream.swift
[156/736] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[157/736] Compiling ConcurrencyExtras Locking.swift
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/StreamingSubprocess.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 | import Foundation
  3 |
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/StreamingSubprocess.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 | import Foundation
  3 |
[161/737] Compiling PrivateHeaderKitTooling VersionUtils.swift
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/StreamingSubprocess.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 | import Foundation
  3 |
[165/738] Compiling ConcurrencyExtras UncheckedBox.swift
[166/738] Compiling FileIO FileIO.swift
[167/738] Compiling ConcurrencyExtras LockIsolated.swift
[168/747] Compiling OrderedCollections _HashTable+Testing.swift
[169/747] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[170/757] Emitting module FileIO
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:156:13: error: cannot find 'msync' in scope
154 |         data.withUnsafeBytes { buffer in
155 |             memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
156 |             msync(ptr.advanced(by: offset), data.count, MS_SYNC)
    |             `- error: cannot find 'msync' in scope
157 |         }
158 |     }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:156:57: error: cannot find 'MS_SYNC' in scope
154 |         data.withUnsafeBytes { buffer in
155 |             memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
156 |             msync(ptr.advanced(by: offset), data.count, MS_SYNC)
    |                                                         `- error: cannot find 'MS_SYNC' in scope
157 |         }
158 |     }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:203:9: error: cannot find 'msync' in scope
201 |             .assumingMemoryBound(to: T.self)
202 |             .pointee = value
203 |         msync(ptr.advanced(by: offset), length, MS_SYNC)
    |         `- error: cannot find 'msync' in scope
204 |     }
205 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:203:49: error: cannot find 'MS_SYNC' in scope
201 |             .assumingMemoryBound(to: T.self)
202 |             .pointee = value
203 |         msync(ptr.advanced(by: offset), length, MS_SYNC)
    |                                                 `- error: cannot find 'MS_SYNC' in scope
204 |     }
205 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:99:13: error: cannot find 'msync' in scope
 97 |         data.withUnsafeBytes { buffer in
 98 |             memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
 99 |             msync(ptr.advanced(by: offset), data.count, MS_SYNC)
    |             `- error: cannot find 'msync' in scope
100 |         }
101 |     }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:99:57: error: cannot find 'MS_SYNC' in scope
 97 |         data.withUnsafeBytes { buffer in
 98 |             memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
 99 |             msync(ptr.advanced(by: offset), data.count, MS_SYNC)
    |                                                         `- error: cannot find 'MS_SYNC' in scope
100 |         }
101 |     }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:105:9: error: cannot find 'msync' in scope
103 |     @inlinable @inline(__always)
104 |     public func sync() {
105 |         msync(ptr, size, MS_SYNC)
    |         `- error: cannot find 'msync' in scope
106 |     }
107 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:105:26: error: cannot find 'MS_SYNC' in scope
103 |     @inlinable @inline(__always)
104 |     public func sync() {
105 |         msync(ptr, size, MS_SYNC)
    |                          `- error: cannot find 'MS_SYNC' in scope
106 |     }
107 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:152:13: error: cannot find 'msync' in scope
150 |         data.withUnsafeBytes { buffer in
151 |             memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
152 |             msync(ptr.advanced(by: offset), data.count + tailSize, MS_SYNC)
    |             `- error: cannot find 'msync' in scope
153 |         }
154 |     }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:152:68: error: cannot find 'MS_SYNC' in scope
150 |         data.withUnsafeBytes { buffer in
151 |             memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
152 |             msync(ptr.advanced(by: offset), data.count + tailSize, MS_SYNC)
    |                                                                    `- error: cannot find 'MS_SYNC' in scope
153 |         }
154 |     }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:207:9: error: cannot find 'msync' in scope
205 |             .assumingMemoryBound(to: T.self)
206 |             .pointee = value
207 |         msync(ptr.advanced(by: offset), length, MS_SYNC)
    |         `- error: cannot find 'msync' in scope
208 |     }
209 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:207:49: error: cannot find 'MS_SYNC' in scope
205 |             .assumingMemoryBound(to: T.self)
206 |             .pointee = value
207 |         msync(ptr.advanced(by: offset), length, MS_SYNC)
    |                                                 `- error: cannot find 'MS_SYNC' in scope
208 |     }
209 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:284:9: error: cannot find 'msync' in scope
282 |     @inlinable @inline(__always)
283 |     public func sync() {
284 |         msync(parent.ptr.advanced(by: baseOffset), size, MS_SYNC)
    |         `- error: cannot find 'msync' in scope
285 |     }
286 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:284:58: error: cannot find 'MS_SYNC' in scope
282 |     @inlinable @inline(__always)
283 |     public func sync() {
284 |         msync(parent.ptr.advanced(by: baseOffset), size, MS_SYNC)
    |                                                          `- error: cannot find 'MS_SYNC' in scope
285 |     }
286 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:348:9: error: cannot find 'msync' in scope
346 |             .assumingMemoryBound(to: T.self)
347 |             .pointee = value
348 |         msync(ptr.advanced(by: offset), length, MS_SYNC)
    |         `- error: cannot find 'msync' in scope
349 |     }
350 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:348:49: error: cannot find 'MS_SYNC' in scope
346 |             .assumingMemoryBound(to: T.self)
347 |             .pointee = value
348 |         msync(ptr.advanced(by: offset), length, MS_SYNC)
    |                                                 `- error: cannot find 'MS_SYNC' in scope
349 |     }
350 | }
[171/757] Compiling ObjCTypeDecodeKit ObjCTypeCodable.swift
[172/781] Compiling OrderedCollections _HashTable+Bucket.swift
[173/781] Compiling OrderedCollections _HashTable+BucketIterator.swift
[176/784] Compiling OrderedCollections _HashTable+Constants.swift
[177/784] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[178/790] Compiling PrivateHeaderKitTooling StreamingSubprocess.swift
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/StreamingSubprocess.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 | import Foundation
  3 |
[179/791] Compiling PrivateHeaderKitTooling ToolingError.swift
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/StreamingSubprocess.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 | import Foundation
  3 |
[180/793] Compiling PrivateHeaderKitTooling Which.swift
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/StreamingSubprocess.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 | import Foundation
  3 |
[181/793] Compiling PrivateHeaderKitTooling Simctl.swift
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/StreamingSubprocess.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 | import Foundation
  3 |
[182/793] Compiling PrivateHeaderKitTooling SignalForwarding.swift
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/StreamingSubprocess.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 | import Foundation
  3 |
[183/793] Compiling OrderedCollections _HashTable.swift
[184/793] Compiling OrderedCollections _Hashtable+Header.swift
[185/793] Compiling FileIO system.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[186/793] Emitting module PrivateHeaderKitTooling
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/StreamingSubprocess.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 | import Foundation
  3 |
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/StreamingSubprocess.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 | import Foundation
  3 |
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/StreamingSubprocess.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 | import Foundation
  3 |
[189/793] Compiling FileIO MemoryMappedFile.swift
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:61:27: error: cannot find 'PROT_READ' in scope
 59 |         }
 60 |
 61 |         var prot: Int32 = PROT_READ
    |                           `- error: cannot find 'PROT_READ' in scope
 62 |         if isWritable { prot |= PROT_WRITE }
 63 |         let ptr = mmap(nil, Int(fileSize), prot, MAP_SHARED, fd, 0)
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:62:33: error: cannot find 'PROT_WRITE' in scope
 60 |
 61 |         var prot: Int32 = PROT_READ
 62 |         if isWritable { prot |= PROT_WRITE }
    |                                 `- error: cannot find 'PROT_WRITE' in scope
 63 |         let ptr = mmap(nil, Int(fileSize), prot, MAP_SHARED, fd, 0)
 64 |         guard let ptr,
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:63:19: error: cannot find 'mmap' in scope
 61 |         var prot: Int32 = PROT_READ
 62 |         if isWritable { prot |= PROT_WRITE }
 63 |         let ptr = mmap(nil, Int(fileSize), prot, MAP_SHARED, fd, 0)
    |                   `- error: cannot find 'mmap' in scope
 64 |         guard let ptr,
 65 |               _fastPath(ptr != MAP_FAILED) else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:63:50: error: cannot find 'MAP_SHARED' in scope
 61 |         var prot: Int32 = PROT_READ
 62 |         if isWritable { prot |= PROT_WRITE }
 63 |         let ptr = mmap(nil, Int(fileSize), prot, MAP_SHARED, fd, 0)
    |                                                  `- error: cannot find 'MAP_SHARED' in scope
 64 |         guard let ptr,
 65 |               _fastPath(ptr != MAP_FAILED) else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:63:24: error: 'nil' requires a contextual type
 61 |         var prot: Int32 = PROT_READ
 62 |         if isWritable { prot |= PROT_WRITE }
 63 |         let ptr = mmap(nil, Int(fileSize), prot, MAP_SHARED, fd, 0)
    |                        `- error: 'nil' requires a contextual type
 64 |         guard let ptr,
 65 |               _fastPath(ptr != MAP_FAILED) else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:99:13: error: cannot find 'msync' in scope
 97 |         data.withUnsafeBytes { buffer in
 98 |             memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
 99 |             msync(ptr.advanced(by: offset), data.count, MS_SYNC)
    |             `- error: cannot find 'msync' in scope
100 |         }
101 |     }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:99:57: error: cannot find 'MS_SYNC' in scope
 97 |         data.withUnsafeBytes { buffer in
 98 |             memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
 99 |             msync(ptr.advanced(by: offset), data.count, MS_SYNC)
    |                                                         `- error: cannot find 'MS_SYNC' in scope
100 |         }
101 |     }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:105:9: error: cannot find 'msync' in scope
103 |     @inlinable @inline(__always)
104 |     public func sync() {
105 |         msync(ptr, size, MS_SYNC)
    |         `- error: cannot find 'msync' in scope
106 |     }
107 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:105:26: error: cannot find 'MS_SYNC' in scope
103 |     @inlinable @inline(__always)
104 |     public func sync() {
105 |         msync(ptr, size, MS_SYNC)
    |                          `- error: cannot find 'MS_SYNC' in scope
106 |     }
107 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:109:9: error: cannot find 'munmap' in scope
107 |
108 |     internal func unmap() {
109 |         munmap(ptr, size)
    |         `- error: cannot find 'munmap' in scope
110 |     }
111 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:124:27: error: cannot find 'PROT_READ' in scope
122 |         unmap()
123 |
124 |         var prot: Int32 = PROT_READ
    |                           `- error: cannot find 'PROT_READ' in scope
125 |         if isWritable { prot |= PROT_WRITE }
126 |         let ptr = mmap(nil, newSize, prot, MAP_SHARED, fileDescriptor, 0)
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:125:33: error: cannot find 'PROT_WRITE' in scope
123 |
124 |         var prot: Int32 = PROT_READ
125 |         if isWritable { prot |= PROT_WRITE }
    |                                 `- error: cannot find 'PROT_WRITE' in scope
126 |         let ptr = mmap(nil, newSize, prot, MAP_SHARED, fileDescriptor, 0)
127 |         guard let ptr,
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:126:19: error: cannot find 'mmap' in scope
124 |         var prot: Int32 = PROT_READ
125 |         if isWritable { prot |= PROT_WRITE }
126 |         let ptr = mmap(nil, newSize, prot, MAP_SHARED, fileDescriptor, 0)
    |                   `- error: cannot find 'mmap' in scope
127 |         guard let ptr,
128 |               ptr != MAP_FAILED else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:126:44: error: cannot find 'MAP_SHARED' in scope
124 |         var prot: Int32 = PROT_READ
125 |         if isWritable { prot |= PROT_WRITE }
126 |         let ptr = mmap(nil, newSize, prot, MAP_SHARED, fileDescriptor, 0)
    |                                            `- error: cannot find 'MAP_SHARED' in scope
127 |         guard let ptr,
128 |               ptr != MAP_FAILED else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:126:24: error: 'nil' requires a contextual type
124 |         var prot: Int32 = PROT_READ
125 |         if isWritable { prot |= PROT_WRITE }
126 |         let ptr = mmap(nil, newSize, prot, MAP_SHARED, fileDescriptor, 0)
    |                        `- error: 'nil' requires a contextual type
127 |         guard let ptr,
128 |               ptr != MAP_FAILED else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:152:13: error: cannot find 'msync' in scope
150 |         data.withUnsafeBytes { buffer in
151 |             memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
152 |             msync(ptr.advanced(by: offset), data.count + tailSize, MS_SYNC)
    |             `- error: cannot find 'msync' in scope
153 |         }
154 |     }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:152:68: error: cannot find 'MS_SYNC' in scope
150 |         data.withUnsafeBytes { buffer in
151 |             memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
152 |             msync(ptr.advanced(by: offset), data.count + tailSize, MS_SYNC)
    |                                                                    `- error: cannot find 'MS_SYNC' in scope
153 |         }
154 |     }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:207:9: error: cannot find 'msync' in scope
205 |             .assumingMemoryBound(to: T.self)
206 |             .pointee = value
207 |         msync(ptr.advanced(by: offset), length, MS_SYNC)
    |         `- error: cannot find 'msync' in scope
208 |     }
209 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:207:49: error: cannot find 'MS_SYNC' in scope
205 |             .assumingMemoryBound(to: T.self)
206 |             .pointee = value
207 |         msync(ptr.advanced(by: offset), length, MS_SYNC)
    |                                                 `- error: cannot find 'MS_SYNC' in scope
208 |     }
209 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:284:9: error: cannot find 'msync' in scope
282 |     @inlinable @inline(__always)
283 |     public func sync() {
284 |         msync(parent.ptr.advanced(by: baseOffset), size, MS_SYNC)
    |         `- error: cannot find 'msync' in scope
285 |     }
286 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:284:58: error: cannot find 'MS_SYNC' in scope
282 |     @inlinable @inline(__always)
283 |     public func sync() {
284 |         msync(parent.ptr.advanced(by: baseOffset), size, MS_SYNC)
    |                                                          `- error: cannot find 'MS_SYNC' in scope
285 |     }
286 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:348:9: error: cannot find 'msync' in scope
346 |             .assumingMemoryBound(to: T.self)
347 |             .pointee = value
348 |         msync(ptr.advanced(by: offset), length, MS_SYNC)
    |         `- error: cannot find 'msync' in scope
349 |     }
350 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:348:49: error: cannot find 'MS_SYNC' in scope
346 |             .assumingMemoryBound(to: T.self)
347 |             .pointee = value
348 |         msync(ptr.advanced(by: offset), length, MS_SYNC)
    |                                                 `- error: cannot find 'MS_SYNC' in scope
349 |     }
350 | }
[190/793] Compiling Logging LogHandler.swift
[191/793] Compiling ObjCTypeDecodeKit ObjCMethodTypeDecoder.swift
BUILD FAILURE 6.3 wasm