The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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: v0.4.3
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
 * tag               v0.4.3     -> FETCH_HEAD
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 v0.4.3
========================================
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-1":/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.24s)
Fetching https://github.com/lynnswap/MachOSwiftSection.git
[1/9275] Fetching machoswiftsection
Fetched https://github.com/lynnswap/MachOSwiftSection.git from cache (0.55s)
Fetching https://github.com/lynnswap/SourceKitD.git
Fetching https://github.com/lynnswap/swift-apinotes.git
Fetching https://github.com/MxIris-DeveloperTool-Forks/swift-clang
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/lynnswap/DyldPrivate.git
[1/164] Fetching sourcekitd
[129/1606] Fetching sourcekitd, rainbow
[382/1842] Fetching sourcekitd, rainbow, swift-apinotes
[406/2007] Fetching sourcekitd, rainbow, swift-apinotes, swift-clang
Fetching https://github.com/pointfreeco/swift-dependencies
Fetched https://github.com/lynnswap/SourceKitD.git from cache (0.62s)
Fetching https://github.com/p-x9/AssociatedObject
Fetched https://github.com/lynnswap/swift-apinotes.git from cache (0.64s)
Fetching https://github.com/p-x9/swift-fileio.git
[1/22] Fetching dyldprivate
Fetched https://github.com/MxIris-DeveloperTool-Forks/swift-clang from cache (0.84s)
Fetching https://github.com/lynnswap/FrameworkToolbox.git
Fetched https://github.com/onevcat/Rainbow from cache (0.85s)
Fetched https://github.com/lynnswap/DyldPrivate.git from cache (0.85s)
Fetching https://github.com/MxIris-Library-Forks/swift-memberwise-init-macro
Fetching https://github.com/christophhagen/BinaryCodable
[1/707] Fetching associatedobject
[72/953] Fetching associatedobject, swift-fileio
[152/7722] Fetching associatedobject, swift-fileio, swift-dependencies
Fetched https://github.com/p-x9/AssociatedObject from cache (0.48s)
Fetched https://github.com/p-x9/swift-fileio.git from cache (0.46s)
[3182/6769] Fetching swift-dependencies
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-argument-parser
[5349/7402] Fetching swift-dependencies, frameworktoolbox
[6877/10343] Fetching swift-dependencies, frameworktoolbox, binarycodable
[8433/11010] Fetching swift-dependencies, frameworktoolbox, binarycodable, swift-memberwise-init-macro
Fetched https://github.com/lynnswap/FrameworkToolbox.git from cache (0.51s)
[8241/10377] Fetching swift-dependencies, binarycodable, swift-memberwise-init-macro
Fetching https://github.com/apple/swift-async-algorithms
[10378/27906] Fetching swift-dependencies, binarycodable, swift-memberwise-init-macro, swift-argument-parser
[11080/51475] Fetching swift-dependencies, binarycodable, swift-memberwise-init-macro, swift-argument-parser, swift-collections
Fetched https://github.com/MxIris-Library-Forks/swift-memberwise-init-macro from cache (0.88s)
[11234/50808] Fetching swift-dependencies, binarycodable, swift-argument-parser, swift-collections
Fetched https://github.com/christophhagen/BinaryCodable from cache (0.89s)
[9230/47867] Fetching swift-dependencies, swift-argument-parser, swift-collections
Fetching https://github.com/lynnswap/MachOKit.git
Fetched https://github.com/pointfreeco/swift-dependencies from cache (1.17s)
Fetching https://github.com/swiftlang/swift-syntax.git
[3634/41098] Fetching swift-argument-parser, swift-collections
Fetching https://github.com/p-x9/swift-objc-dump.git
[5157/47345] Fetching swift-argument-parser, swift-collections, swift-async-algorithms
[12358/53951] Fetching swift-argument-parser, swift-collections, swift-async-algorithms, machokit
[17838/54380] Fetching swift-argument-parser, swift-collections, swift-async-algorithms, machokit, swift-objc-dump
Fetched https://github.com/p-x9/swift-objc-dump.git from cache (0.60s)
[26073/53951] Fetching swift-argument-parser, swift-collections, swift-async-algorithms, machokit
Fetched https://github.com/apple/swift-async-algorithms from cache (1.04s)
[21639/47704] Fetching swift-argument-parser, swift-collections, machokit
[26264/122687] Fetching swift-argument-parser, swift-collections, machokit, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (2.11s)
[32939/105158] Fetching swift-collections, machokit, swift-syntax
Fetched https://github.com/apple/swift-collections from cache (3.60s)
[53096/81589] Fetching machokit, swift-syntax
Fetched https://github.com/lynnswap/MachOKit.git from cache (10.65s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (10.72s)
Computing version for https://github.com/lynnswap/DyldPrivate.git
Computed https://github.com/lynnswap/DyldPrivate.git at 0.1.0 (12.95s)
Computing version for https://github.com/lynnswap/swift-apinotes.git
Computed https://github.com/lynnswap/swift-apinotes.git at 0.1.0 (0.40s)
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/SwiftyLab/MetaCodable
[1/11551] Fetching yams
[810/169801] Fetching yams, metacodable
Fetched https://github.com/jpsim/Yams from cache (2.13s)
[37980/158250] Fetching metacodable
Fetched https://github.com/SwiftyLab/MetaCodable from cache (14.34s)
Computing version for https://github.com/lynnswap/SourceKitD.git
Computed https://github.com/lynnswap/SourceKitD.git at 0.1.0 (15.63s)
Computing version for https://github.com/lynnswap/FrameworkToolbox.git
Computed https://github.com/lynnswap/FrameworkToolbox.git at 0.3.3 (0.41s)
Fetching https://github.com/apple/swift-log.git
[1/6635] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.52s)
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 (2.18s)
Fetching https://github.com/p-x9/swift-fileio-extra.git
Fetching https://github.com/p-x9/ObjectArchiveKit.git
Fetching https://github.com/p-x9/swift-binary-parse-support.git
Fetching https://github.com/apple/swift-crypto.git
[1/259] Fetching objectarchivekit
[260/307] Fetching objectarchivekit, swift-fileio-extra
[308/549] Fetching objectarchivekit, swift-fileio-extra, swift-binary-parse-support
Fetched https://github.com/p-x9/swift-fileio-extra.git from cache (0.35s)
Fetched https://github.com/p-x9/ObjectArchiveKit.git from cache (0.35s)
[227/17658] Fetching swift-binary-parse-support, swift-crypto
Fetched https://github.com/p-x9/swift-binary-parse-support.git from cache (2.70s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.73s)
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.13s)
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.40s)
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.41s)
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.45s)
Computing version for https://github.com/MxIris-DeveloperTool-Forks/swift-clang
Computed https://github.com/MxIris-DeveloperTool-Forks/swift-clang at 0.2.0 (0.39s)
Computing version for https://github.com/p-x9/AssociatedObject
Computed https://github.com/p-x9/AssociatedObject at 0.14.0 (1.28s)
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.27s)
Fetched https://github.com/p-x9/swift-object-association.git from cache (0.27s)
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.64s)
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.41s)
Computing version for https://github.com/SwiftyLab/MetaCodable
Computed https://github.com/SwiftyLab/MetaCodable at 1.6.0 (0.72s)
Computing version for https://github.com/christophhagen/BinaryCodable
Computed https://github.com/christophhagen/BinaryCodable at 3.2.0 (0.37s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.1 (0.36s)
Computing version for https://github.com/p-x9/ObjectArchiveKit.git
Computed https://github.com/p-x9/ObjectArchiveKit.git at 0.5.0 (0.48s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.1 (2.23s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.12.0 (0.45s)
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-clocks
[1/956] Fetching swift-concurrency-extras
[2/3562] Fetching swift-concurrency-extras, combine-schedulers
[2262/4879] Fetching swift-concurrency-extras, combine-schedulers, swift-clocks
[4880/10602] Fetching swift-concurrency-extras, combine-schedulers, swift-clocks, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.46s)
[5737/9285] Fetching swift-concurrency-extras, combine-schedulers, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/combine-schedulers from cache (1.03s)
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (1.03s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.04s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (1.55s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.2.0 (0.49s)
Fetching https://github.com/OpenCombine/OpenCombine.git
[1/8284] Fetching opencombine
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (0.70s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (3.26s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.4.1 (0.61s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.1.3 (0.57s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.48s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.2 (0.48s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (0.76s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (0.45s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.56s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (0.69s)
Fetching https://github.com/apple/swift-asn1.git
[1/1803] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.32s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (1.70s)
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.64s)
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/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-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.1.3
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/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/christophhagen/BinaryCodable
Working copy of https://github.com/christophhagen/BinaryCodable resolved at 3.2.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.7.0
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.git
Working copy of https://github.com/p-x9/swift-fileio.git resolved at 0.13.0
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/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.1
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/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
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/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/lynnswap/SourceKitD.git
Working copy of https://github.com/lynnswap/SourceKitD.git resolved at 0.1.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/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/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/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/AssociatedObject
Working copy of https://github.com/p-x9/AssociatedObject resolved at 0.14.0
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/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/lynnswap/MachOSwiftSection.git
Working copy of https://github.com/lynnswap/MachOSwiftSection.git resolved at 2fbb1a78e316a2beaf2911488ecda6455e205f84
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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
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/lynnswap/DyldPrivate.git
Working copy of https://github.com/lynnswap/DyldPrivate.git resolved at 0.1.0
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/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/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.9.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
[9/542] Compiling _SwiftSyntaxCShims dummy.c
[9/542] Write sources
[49/542] Compiling UtilitiesC PtrAuthWrapper.c
[50/542] Write sources
[58/542] Compiling MachOSwiftSectionC ValueWitnessTable.c
[59/542] Write sources
[62/542] Compiling MachOSwiftSectionC Functions.c
[63/542] Write sources
[64/542] Compiling MachOSwiftSectionC CallAccessor.c
[67/542] Write sources
[76/542] Write swift-version-24593BA9C3E375BF.txt
[77/542] Compiling MachOObjCSectionC dummy.c
[78/542] Compiling DyldPrivate dummy.c
[79/542] Compiling MachOKitC mach-o-linux.c
[80/542] Compiling fiat_p256_adx_sqr.S
[81/542] Compiling fiat_p256_adx_mul.S
[82/542] Compiling fiat_curve25519_adx_mul.S
[83/543] Compiling fiat_curve25519_adx_square.S
[85/548] Emitting module SwiftSyntax601
[85/594] Compiling CCryptoBoringSSLShims shims.c
[87/600] Emitting module Semantic
[88/602] Compiling SwiftSyntax601 Empty.swift
[89/603] Emitting module SwiftSyntax600
[90/603] Compiling SwiftSyntax600 Empty.swift
[93/604] Emitting module SwiftSyntax509
[94/604] Compiling SwiftSyntax509 Empty.swift
[95/604] Compiling Semantic SemanticStringComponent.swift
[96/604] Compiling Semantic SemanticType.swift
[97/605] 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 |
[98/606] Emitting module SwiftSyntax510
[99/606] Compiling Semantic FunctionDeclaration.swift
[100/606] Compiling Semantic FunctionName.swift
[101/606] Compiling Semantic Group.swift
[102/606] Compiling SwiftSyntax510 Empty.swift
[103/607] Compiling Semantic Joined.swift
[104/607] Compiling Semantic Keyword.swift
[105/607] Compiling Semantic MemberDeclaration.swift
[107/609] Compiling Semantic AnyComponent.swift
[108/609] Compiling Semantic Argument.swift
[109/609] Compiling Semantic Block.swift
[110/609] Compiling Semantic Comment.swift
[111/609] Compiling Semantic Conditional.swift
[112/609] Compiling Semantic Error.swift
[113/609] Compiling Semantic Variable.swift
[114/609] Compiling Semantic SemanticString.swift
[115/609] Compiling Semantic SemanticStringBuilder.swift
[116/609] Compiling Logging LogHandler.swift
[118/609] Compiling Logging LogEvent.swift
[119/609] Compiling Semantic MemberName.swift
[120/609] Compiling Semantic Numeric.swift
[121/609] Compiling Semantic Other.swift
[122/609] Compiling Semantic Standard.swift
[123/609] Compiling Semantic TypeDeclaration.swift
[124/609] Compiling Semantic TypeName.swift
[125/628] Compiling IssueReportingPackageSupport _Test.swift
[126/628] Emitting module IssueReportingPackageSupport
[129/647] Emitting module ConcurrencyExtras
[130/648] Compiling ConcurrencyExtras MainSerialExecutor.swift
[131/732] Compiling ConcurrencyExtras UncheckedSendable.swift
[132/732] Compiling SwiftSyntax MissingNodeInitializers.swift
[133/732] Compiling SwiftSyntax RawSyntax.swift
[134/732] Compiling SwiftSyntax EditorPlaceholder.swift
[135/732] Compiling SwiftSyntax Identifier.swift
[136/732] Compiling SwiftSyntax MemoryLayout.swift
[137/734] Emitting module Logging
[138/734] Compiling Logging Locks.swift
[139/734] 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 |
[140/734] Compiling ObjCTypeDecodeKit ObjCMethodTypeDecoder.swift
[141/735] Compiling InternalCollectionsUtilities _SortedCollection.swift
[142/735] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[143/735] Compiling SwiftSyntax RawSyntaxTokenView.swift
[144/735] Compiling SwiftSyntax SourceEdit.swift
[145/735] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[146/735] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[147/735] Compiling FileIO system.swift
[148/735] Compiling ObjCTypeDecodeKit ObjCTypeCodable.swift
[149/735] Compiling SwiftSyntax AbsolutePosition.swift
[150/735] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[151/735] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[152/735] Compiling SwiftSyntax Assert.swift
[153/735] Compiling SwiftSyntax BumpPtrAllocator.swift
[154/735] Compiling SwiftSyntax CommonAncestor.swift
[159/737] Compiling FileIO FileIO.swift
[160/737] Compiling SwiftSyntax Convenience.swift
[161/737] Compiling SwiftSyntax CustomTraits.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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[170/737] 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/737] Compiling FileIO ConcatenatedMemoryMappedFile.swift
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:68:23: error: cannot find 'mmap' in scope
 66 |         let fullSize = fdAndSizes.reduce(0, { $0 + $1.size })
 67 |
 68 |         let basePtr = mmap(
    |                       `- error: cannot find 'mmap' in scope
 69 |             nil,
 70 |             numericCast(fullSize),
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:71:13: error: cannot find 'PROT_NONE' in scope
 69 |             nil,
 70 |             numericCast(fullSize),
 71 |             PROT_NONE,
    |             `- error: cannot find 'PROT_NONE' in scope
 72 |             MAP_PRIVATE | MAP_ANONYMOUS,
 73 |             -1,
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:72:13: error: cannot find 'MAP_PRIVATE' in scope
 70 |             numericCast(fullSize),
 71 |             PROT_NONE,
 72 |             MAP_PRIVATE | MAP_ANONYMOUS,
    |             `- error: cannot find 'MAP_PRIVATE' in scope
 73 |             -1,
 74 |             0
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:72:27: error: cannot find 'MAP_ANONYMOUS' in scope
 70 |             numericCast(fullSize),
 71 |             PROT_NONE,
 72 |             MAP_PRIVATE | MAP_ANONYMOUS,
    |                           `- error: cannot find 'MAP_ANONYMOUS' in scope
 73 |             -1,
 74 |             0
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:69:13: error: 'nil' requires a contextual type
 67 |
 68 |         let basePtr = mmap(
 69 |             nil,
    |             `- error: 'nil' requires a contextual type
 70 |             numericCast(fullSize),
 71 |             PROT_NONE,
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:70:13: error: generic parameter 'U' could not be inferred
 68 |         let basePtr = mmap(
 69 |             nil,
 70 |             numericCast(fullSize),
    |             `- error: generic parameter 'U' could not be inferred
 71 |             PROT_NONE,
 72 |             MAP_PRIVATE | MAP_ANONYMOUS,
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:82:27: error: cannot find 'PROT_READ' in scope
 80 |         }
 81 |
 82 |         var prot: Int32 = PROT_READ
    |                           `- error: cannot find 'PROT_READ' in scope
 83 |         if isWritable { prot |= PROT_WRITE }
 84 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:83:33: error: cannot find 'PROT_WRITE' in scope
 81 |
 82 |         var prot: Int32 = PROT_READ
 83 |         if isWritable { prot |= PROT_WRITE }
    |                                 `- error: cannot find 'PROT_WRITE' in scope
 84 |
 85 |         var offset = 0
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:90:29: error: cannot find 'mmap' in scope
 88 |             let size: Int = numericCast(size)
 89 |             let ptr = basePtr.advanced(by: offset)
 90 |             let mappedPtr = mmap(ptr, size, prot, MAP_FIXED | MAP_PRIVATE, fd, 0)
    |                             `- error: cannot find 'mmap' in scope
 91 |             guard ptr == mappedPtr,
 92 |                   _fastPath(ptr != MAP_FAILED) else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:90:51: error: cannot find 'MAP_FIXED' in scope
 88 |             let size: Int = numericCast(size)
 89 |             let ptr = basePtr.advanced(by: offset)
 90 |             let mappedPtr = mmap(ptr, size, prot, MAP_FIXED | MAP_PRIVATE, fd, 0)
    |                                                   `- error: cannot find 'MAP_FIXED' in scope
 91 |             guard ptr == mappedPtr,
 92 |                   _fastPath(ptr != MAP_FAILED) else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:90:63: error: cannot find 'MAP_PRIVATE' in scope
 88 |             let size: Int = numericCast(size)
 89 |             let ptr = basePtr.advanced(by: offset)
 90 |             let mappedPtr = mmap(ptr, size, prot, MAP_FIXED | MAP_PRIVATE, fd, 0)
    |                                                               `- error: cannot find 'MAP_PRIVATE' in scope
 91 |             guard ptr == mappedPtr,
 92 |                   _fastPath(ptr != MAP_FAILED) else {
/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 | }
[172/737] Compiling FileIO ConcatenatedStreamedFile.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 |
[177/737] Compiling ConcurrencyExtras LockIsolated.swift
[182/737] 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 |
[183/737] 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 |
[184/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 |
[185/737] 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 | }
[186/737] Compiling FileIO StreamedFile.swift
[191/737] Emitting module ObjCTypeDecodeKit
error: emit-module command failed with exit code 1 (use -v to see invocation)
[192/737] 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 |
[193/737] 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 |
[194/737] Compiling ConcurrencyExtras Result.swift
[195/737] Compiling ConcurrencyExtras Task.swift
[196/737] Compiling ObjCTypeDecodeKit ObjCPropertyTypeDecoder.swift
[199/737] Compiling Logging MetadataProvider.swift
error: cancelled
BUILD FAILURE 6.3 wasm