Build Information
Failed to build MachOSwiftSection, reference main (3d6165), with Swift 6.3 for Wasm on 19 Apr 2026 01:09:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lynnswap/MachOSwiftSection.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/MachOSwiftSection
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 3d6165d Switch dependencies to tagged versions
Cloned https://github.com/lynnswap/MachOSwiftSection.git
Revision (git rev-parse @):
3d6165d8dd4edd17937be00811a76225c0a947b6
SUCCESS checkout https://github.com/lynnswap/MachOSwiftSection.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/lynnswap/MachOSwiftSection.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/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/swift-apinotes.git
Fetching https://github.com/lynnswap/SourceKitD.git
Fetching https://github.com/christophhagen/BinaryCodable
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/MxIris-DeveloperTool-Forks/swift-clang
Fetching https://github.com/pointfreeco/swift-dependencies
[1/2941] Fetching binarycodable
[560/9710] Fetching binarycodable, swift-dependencies
[1358/9946] Fetching binarycodable, swift-dependencies, swift-apinotes
[2050/11388] Fetching binarycodable, swift-dependencies, swift-apinotes, rainbow
[2379/11552] Fetching binarycodable, swift-dependencies, swift-apinotes, rainbow, sourcekitd
[2966/11717] Fetching binarycodable, swift-dependencies, swift-apinotes, rainbow, sourcekitd, swift-clang
Fetched https://github.com/lynnswap/SourceKitD.git from cache (0.63s)
[8237/11553] Fetching binarycodable, swift-dependencies, swift-apinotes, rainbow, swift-clang
Fetched https://github.com/lynnswap/swift-apinotes.git from cache (0.64s)
Fetched https://github.com/onevcat/Rainbow from cache (0.64s)
Fetched https://github.com/christophhagen/BinaryCodable from cache (0.64s)
[3685/6934] Fetching swift-dependencies, swift-clang
Fetching https://github.com/MxIris-Library-Forks/swift-memberwise-init-macro
Fetching https://github.com/lynnswap/FrameworkToolbox.git
Fetching https://github.com/p-x9/swift-fileio.git
Fetching https://github.com/apple/swift-collections
[6935/7601] Fetching swift-dependencies, swift-clang, swift-memberwise-init-macro
Fetched https://github.com/MxIris-DeveloperTool-Forks/swift-clang from cache (0.93s)
Fetched https://github.com/pointfreeco/swift-dependencies from cache (0.93s)
Fetching https://github.com/lynnswap/DyldPrivate.git
Fetching https://github.com/p-x9/AssociatedObject
[1/246] Fetching swift-fileio
[102/23815] Fetching swift-fileio, swift-collections
[1190/24448] Fetching swift-fileio, swift-collections, frameworktoolbox
Fetched https://github.com/MxIris-Library-Forks/swift-memberwise-init-macro from cache (0.40s)
Fetching https://github.com/swiftlang/swift-syntax.git
[2530/25155] Fetching swift-fileio, swift-collections, frameworktoolbox, associatedobject
Fetched https://github.com/p-x9/AssociatedObject from cache (0.31s)
Fetching https://github.com/apple/swift-argument-parser
[2765/24448] Fetching swift-fileio, swift-collections, frameworktoolbox
[3709/24470] Fetching swift-fileio, swift-collections, frameworktoolbox, dyldprivate
Fetched https://github.com/lynnswap/DyldPrivate.git from cache (0.55s)
[6536/24448] Fetching swift-fileio, swift-collections, frameworktoolbox
Fetching https://github.com/apple/swift-async-algorithms
[7480/99431] Fetching swift-fileio, swift-collections, frameworktoolbox, swift-syntax
[7717/116960] Fetching swift-fileio, swift-collections, frameworktoolbox, swift-syntax, swift-argument-parser
[41648/123207] Fetching swift-fileio, swift-collections, frameworktoolbox, swift-syntax, swift-argument-parser, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms from cache (1.13s)
Fetching https://github.com/lynnswap/MachOObjCSection.git
Fetched https://github.com/apple/swift-argument-parser from cache (1.39s)
[38695/99431] Fetching swift-fileio, swift-collections, frameworktoolbox, swift-syntax
Fetching https://github.com/lynnswap/MachOKit.git
[43945/101749] Fetching swift-fileio, swift-collections, frameworktoolbox, swift-syntax, machoobjcsection
[47763/108355] Fetching swift-fileio, swift-collections, frameworktoolbox, swift-syntax, machoobjcsection, machokit
Fetched https://github.com/lynnswap/MachOObjCSection.git from cache (0.44s)
[53091/106037] Fetching swift-fileio, swift-collections, frameworktoolbox, swift-syntax, machokit
Fetched https://github.com/p-x9/swift-fileio.git from cache (2.69s)
Fetched https://github.com/lynnswap/FrameworkToolbox.git from cache (2.69s)
[61668/105158] Fetching swift-collections, swift-syntax, machokit
Fetched https://github.com/lynnswap/MachOKit.git from cache (0.69s)
[55812/98552] Fetching swift-collections, swift-syntax
Fetched https://github.com/apple/swift-collections from cache (2.76s)
[32993/74983] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (9.13s)
Computing version for https://github.com/lynnswap/DyldPrivate.git
Computed https://github.com/lynnswap/DyldPrivate.git at 0.1.0 (10.83s)
Computing version for https://github.com/lynnswap/swift-apinotes.git
Computed https://github.com/lynnswap/swift-apinotes.git at 0.1.0 (0.56s)
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/SwiftyLab/MetaCodable
[1/11551] Fetching yams
[579/169801] Fetching yams, metacodable
Fetched https://github.com/jpsim/Yams from cache (1.91s)
[41145/158250] Fetching metacodable
Fetched https://github.com/SwiftyLab/MetaCodable from cache (14.76s)
Computing version for https://github.com/lynnswap/SourceKitD.git
Computed https://github.com/lynnswap/SourceKitD.git at 0.1.0 (17.28s)
Computing version for https://github.com/lynnswap/FrameworkToolbox.git
Computed https://github.com/lynnswap/FrameworkToolbox.git at 0.3.3 (0.51s)
Fetching https://github.com/apple/swift-log.git
[1/6635] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.69s)
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.09s)
Computing version for https://github.com/p-x9/AssociatedObject
Computed https://github.com/p-x9/AssociatedObject at 0.14.0 (0.43s)
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-object-association.git from cache (0.26s)
Fetched https://github.com/p-x9/swift-literal-type-inference.git from cache (0.26s)
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.60s)
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.38s)
Computing version for https://github.com/SwiftyLab/MetaCodable
Computed https://github.com/SwiftyLab/MetaCodable at 1.6.0 (0.63s)
Computing version for https://github.com/christophhagen/BinaryCodable
Computed https://github.com/christophhagen/BinaryCodable at 3.2.0 (0.40s)
Computing version for https://github.com/lynnswap/MachOObjCSection.git
Computed https://github.com/lynnswap/MachOObjCSection.git at 0.6.2 (0.45s)
Fetching https://github.com/p-x9/swift-objc-dump.git
[1/429] Fetching swift-objc-dump
Fetched https://github.com/p-x9/swift-objc-dump.git from cache (0.24s)
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 (0.74s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/p-x9/swift-binary-parse-support.git
[1/242] Fetching swift-binary-parse-support
Fetched https://github.com/p-x9/swift-binary-parse-support.git from cache (0.26s)
[1/17416] Fetching swift-crypto
Fetching https://github.com/p-x9/ObjectArchiveKit.git
Fetching https://github.com/p-x9/swift-fileio-extra.git
Fetched https://github.com/apple/swift-crypto.git from cache (2.46s)
[1/48] Fetching swift-fileio-extra
[49/307] Fetching swift-fileio-extra, objectarchivekit
Fetched https://github.com/p-x9/ObjectArchiveKit.git from cache (0.28s)
Fetched https://github.com/p-x9/swift-fileio-extra.git from cache (0.28s)
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.08s)
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.43s)
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.50s)
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/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.1 (0.47s)
Computing version for https://github.com/p-x9/ObjectArchiveKit.git
Computed https://github.com/p-x9/ObjectArchiveKit.git at 0.5.0 (0.51s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.1 (3.20s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.12.0 (2.35s)
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/2606] Fetching combine-schedulers
[1565/3562] Fetching combine-schedulers, swift-concurrency-extras
[2074/4879] Fetching combine-schedulers, swift-concurrency-extras, swift-clocks
[3685/10602] Fetching combine-schedulers, swift-concurrency-extras, swift-clocks, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.78s)
[5536/7996] Fetching swift-concurrency-extras, swift-clocks, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.78s)
[4505/6679] Fetching swift-concurrency-extras, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (1.97s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.97s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (2.49s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.2.0 (2.07s)
Fetching https://github.com/OpenCombine/OpenCombine.git
[1/8284] Fetching opencombine
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (1.23s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (4.01s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.4.1 (0.62s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.1.3 (0.76s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.79s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.2 (0.58s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (0.72s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (0.38s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.44s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (0.58s)
Fetching https://github.com/apple/swift-asn1.git
[1/1803] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.31s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (0.79s)
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.88s)
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/lynnswap/FrameworkToolbox.git
Working copy of https://github.com/lynnswap/FrameworkToolbox.git resolved at 0.3.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/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/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/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/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/DyldPrivate.git
Working copy of https://github.com/lynnswap/DyldPrivate.git resolved at 0.1.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/lynnswap/SourceKitD.git
Working copy of https://github.com/lynnswap/SourceKitD.git resolved at 0.1.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/SwiftyLab/MetaCodable
Working copy of https://github.com/SwiftyLab/MetaCodable resolved at 1.6.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/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.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/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/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/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/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/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.2.1
Creating working copy for https://github.com/lynnswap/MachOObjCSection.git
Working copy of https://github.com/lynnswap/MachOObjCSection.git resolved at 0.6.2
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/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-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/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/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/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/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.14.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/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/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/AssociatedObject
Working copy of https://github.com/p-x9/AssociatedObject resolved at 0.14.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/560] Write sources
[11/560] Compiling _SwiftSyntaxCShims dummy.c
[11/560] Write sources
[21/560] Compiling MachOSwiftSectionC Functions.c
[22/560] Write sources
[42/560] Compiling MachOSwiftSectionC CallAccessor.c
[42/560] Write sources
[68/560] Compiling MachOSwiftSectionC ValueWitnessTable.c
[69/560] Write sources
[82/560] Compiling _SwiftSyntaxCShims dummy.c
[83/560] Compiling MachOKitC mach-o-linux.c
[84/560] Write sources
[92/560] Compiling UtilitiesC PtrAuthWrapper.c
[93/560] Compiling MachOObjCSectionC dummy.c
[94/560] Compiling Cclang clang.c
[95/560] Compiling DyldPrivate dummy.c
[96/560] Compiling md5-x86_64-linux.S
[97/560] Write swift-version-24593BA9C3E375BF.txt
[98/560] Compiling fiat_curve25519_adx_square.S
[99/560] Compiling md5-x86_64-apple.S
[100/560] Compiling fiat_p256_adx_sqr.S
[101/560] Compiling fiat_p256_adx_mul.S
[102/560] Compiling fiat_curve25519_adx_mul.S
[103/560] Compiling md5-586-apple.S
[104/560] Compiling md5-586-linux.S
[105/574] Compiling CCryptoBoringSSLShims shims.c
[107/576] Emitting module SwiftSyntax600
[108/576] Compiling SwiftSyntax600 Empty.swift
[109/576] Compiling SwiftSyntax601 Empty.swift
[110/576] Emitting module SwiftSyntax510
[111/576] Compiling SwiftSyntax510 Empty.swift
[112/577] Emitting module SwiftSyntax601
[116/579] Compiling SwiftSyntax509 Empty.swift
[117/579] Emitting module SwiftSyntax509
[118/580] Emitting module SwiftSyntax601
[119/580] Compiling SwiftSyntax601 Empty.swift
[121/618] Emitting module SwiftSyntax600
[122/618] Compiling SwiftSyntax600 Empty.swift
[124/619] Emitting module SwiftSyntax510
[125/619] Compiling SwiftSyntax510 Empty.swift
[128/638] Compiling SwiftSyntax509 Empty.swift
[129/638] Emitting module SwiftSyntax509
[131/639] Compiling Semantic Standard.swift
[132/639] Compiling Semantic TypeDeclaration.swift
[133/639] Compiling Semantic TypeName.swift
[134/725] Compiling IssueReportingPackageSupport _Test.swift
[135/725] Emitting module IssueReportingPackageSupport
[136/726] Compiling SwiftSyntax SourceLocation.swift
[137/726] Compiling SwiftSyntax SourcePresence.swift
[138/726] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[140/790] Compiling SwiftSyntax Tokens.swift
[141/790] Compiling SwiftSyntax TriviaPieces.swift
[142/790] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[143/808] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[144/808] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[145/808] Compiling InternalCollectionsUtilities Integer rank.swift
[146/808] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[147/808] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[148/808] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[149/808] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[150/808] Compiling InternalCollectionsUtilities UInt+reversed.swift
[151/808] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[152/808] Compiling InternalCollectionsUtilities Debugging.swift
[153/808] Compiling InternalCollectionsUtilities Descriptions.swift
[154/808] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[155/808] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[156/808] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[157/808] Compiling InternalCollectionsUtilities Span+Extras.swift
[158/810] Compiling InternalCollectionsUtilities _SortedCollection.swift
[159/810] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[163/812] Emitting module Semantic
[164/812] Compiling InternalCollectionsUtilities _SortedCollection.swift
[165/812] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[172/812] Compiling InternalCollectionsUtilities String+Padding.swift
[173/812] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[177/812] Compiling SwiftSyntax RawSyntax.swift
[178/812] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[184/829] Emitting module InternalCollectionsUtilities
[185/833] Compiling Logging Locks.swift
[186/833] Compiling Logging MetadataProvider.swift
[187/833] Compiling IssueReporting Warn.swift
[188/833] Compiling IssueReporting XCTest.swift
[189/833] Compiling IssueReporting IsTesting.swift
[190/833] Compiling IssueReporting ErrorReporting.swift
[191/833] Compiling IssueReporting AppHostWarning.swift
[192/833] Compiling IssueReporting Deprecations.swift
[193/833] Compiling IssueReporting SwiftTesting.swift
[194/833] Compiling IssueReporting UncheckedSendable.swift
[196/834] Emitting module InternalCollectionsUtilities
[197/889] Compiling OrderedCollections _HashTable+Constants.swift
[198/889] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[199/889] Compiling OrderedCollections _HashTable+Testing.swift
[200/889] Compiling OrderedCollections _HashTable+Bucket.swift
[201/889] Compiling OrderedCollections _HashTable+BucketIterator.swift
[203/945] Compiling Logging LogEvent.swift
[204/945] Emitting module Logging
[205/945] Compiling Logging Logging.swift
[206/945] Compiling Logging LogHandler.swift
[208/946] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[209/946] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[210/946] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[211/946] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[212/946] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[213/946] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[214/946] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[215/946] Compiling OrderedCollections OrderedSet+Codable.swift
[216/946] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[217/946] Compiling OrderedCollections OrderedSet+Descriptions.swift
[218/946] Compiling OrderedCollections OrderedSet+Diffing.swift
[219/946] Compiling OrderedCollections OrderedSet+Equatable.swift
[220/946] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[221/946] Compiling OrderedCollections OrderedSet+Hashable.swift
[222/960] Emitting module ObjCTypeDecodeKit
[223/961] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[224/961] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[225/961] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[226/961] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[227/961] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[228/961] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[229/961] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[230/961] Compiling OrderedCollections OrderedDictionary+Values.swift
[231/961] Compiling OrderedCollections OrderedDictionary+Codable.swift
[232/961] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[233/961] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[234/961] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[235/961] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[236/961] Compiling OrderedCollections OrderedDictionary+Elements.swift
[237/961] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[238/961] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[239/961] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[240/961] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[241/961] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[242/961] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[243/961] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[244/961] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[245/961] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[246/961] Compiling OrderedCollections OrderedSet+Initializers.swift
[247/961] Compiling OrderedCollections OrderedSet+Insertions.swift
[248/961] Compiling OrderedCollections OrderedSet+Invariants.swift
[249/961] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[250/961] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[251/961] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[252/961] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[253/961] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[254/961] Compiling OrderedCollections OrderedDictionary.swift
[314/978] Compiling ObjCTypeDecodeKit ObjCTypeCodable.swift
[315/978] Compiling OrderedCollections _HashTable.swift
[316/978] Compiling OrderedCollections _Hashtable+Header.swift
[317/978] Compiling FileIO system.swift
[318/978] Compiling OrderedCollections _HashTable+Bucket.swift
[319/978] Compiling OrderedCollections _HashTable+BucketIterator.swift
[320/978] Compiling OrderedCollections _HashTable+Constants.swift
[321/978] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[322/978] Compiling OrderedCollections _HashTable+Testing.swift
[323/978] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[324/978] 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 | }
[325/978] 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 | }
[330/978] Emitting module Rainbow
[346/978] Compiling ObjCTypeDecodeKit ObjCPropertyTypeDecoder.swift
[347/978] Compiling ObjCTypeDecodeKit ObjCTypeDecoder.swift
[348/978] Compiling ObjCTypeDecodeKit ObjCMethodTypeDecoder.swift
[362/990] Compiling FileIO ConcatenatedStreamedFile.swift
[363/990] Compiling FileIO FileIO.swift
[376/990] Compiling FileIO StreamedFile.swift
[377/990] 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 | }
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
BUILD FAILURE 6.3 wasm