The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FishHook, reference main (f680a6), with Swift 6.1 for Wasm on 19 Nov 2026 15:10:38 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/p-x9/swift-fishhook.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/p-x9/swift-fishhook
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f680a6c Merge pull request #46 from p-x9/feature/macos-26-ci
Cloned https://github.com/p-x9/swift-fishhook.git
Revision (git rev-parse @):
f680a6cf813c58ffaa646855e98378988bcc0a46
SUCCESS checkout https://github.com/p-x9/swift-fishhook.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/p-x9/swift-fishhook.git
https://github.com/p-x9/swift-fishhook.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:46373e069458549b0fb0727bf4d0f0bb9d8a18a2e211e19b57193bdf60e4b3d5
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/p-x9/MachOKit.git
[1/8562] Fetching machokit
Fetched https://github.com/p-x9/MachOKit.git from cache (0.49s)
Computing version for https://github.com/p-x9/MachOKit.git
warning: 'machokit': /Package.swift:145: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
143 | }
144 |
145 | 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
146 |     public static var allCases: [Self] {
147 |         [
Computed https://github.com/p-x9/MachOKit.git at 0.56.2 (0.78s)
Fetching https://github.com/p-x9/swift-binary-parse-support.git
Fetching https://github.com/p-x9/swift-fileio-extra.git
Fetching https://github.com/p-x9/ObjectArchiveKit.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/p-x9/swift-fileio.git
[1/262] Fetching swift-binary-parse-support
[177/353] Fetching swift-binary-parse-support, swift-fileio-extra
[354/612] Fetching swift-binary-parse-support, swift-fileio-extra, objectarchivekit
Fetched https://github.com/p-x9/swift-fileio-extra.git from cache (0.36s)
[379/521] Fetching swift-binary-parse-support, objectarchivekit
[522/19500] Fetching swift-binary-parse-support, objectarchivekit, swift-crypto
[1471/20221] Fetching swift-binary-parse-support, objectarchivekit, swift-crypto, swift-fileio
Fetched https://github.com/p-x9/swift-fileio.git from cache (0.53s)
[2609/19500] Fetching swift-binary-parse-support, objectarchivekit, swift-crypto
Fetched https://github.com/p-x9/ObjectArchiveKit.git from cache (1.23s)
Fetched https://github.com/p-x9/swift-binary-parse-support.git from cache (1.23s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.24s)
Computing version for https://github.com/p-x9/ObjectArchiveKit.git
Computed https://github.com/p-x9/ObjectArchiveKit.git at 0.5.0 (1.48s)
Computing version for https://github.com/p-x9/swift-fileio-extra.git
Computed https://github.com/p-x9/swift-fileio-extra.git at 0.4.0 (0.24s)
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.3.0 (0.21s)
Computing version for https://github.com/p-x9/swift-fileio.git
Computed https://github.com/p-x9/swift-fileio.git at 0.16.1 (0.21s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (1.47s)
Fetching https://github.com/apple/swift-asn1.git
[1/2079] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.41s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.67s)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.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.4
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.4.0
Creating working copy for https://github.com/p-x9/MachOKit.git
Working copy of https://github.com/p-x9/MachOKit.git resolved at 0.56.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.3.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-fileio.git
Working copy of https://github.com/p-x9/swift-fileio.git resolved at 0.16.1
warning: 'machokit': /host/spi-builder-workspace/.build/checkouts/MachOKit/Package.swift:145: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
143 | }
144 |
145 | 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
146 |     public static var allCases: [Self] {
147 |         [
Building for debugging...
[0/7] Write sources
[5/7] Compiling MachOKitC mach-o-linux.c
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/27] Compiling FileIO StreamedFile.swift
[9/27] Compiling BinaryParseSupport LayoutWrapper.swift
[10/27] Compiling FileIO system.swift
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:151:29: error: cannot find 'PROT_READ' in scope
149 |     return view
150 | #else
151 |     var protection: Int32 = PROT_READ
    |                             `- error: cannot find 'PROT_READ' in scope
152 |     if isWritable { protection |= PROT_WRITE }
153 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:152:35: error: cannot find 'PROT_WRITE' in scope
150 | #else
151 |     var protection: Int32 = PROT_READ
152 |     if isWritable { protection |= PROT_WRITE }
    |                                   `- error: cannot find 'PROT_WRITE' in scope
153 |
154 |     let mapFailed = UnsafeMutableRawPointer(bitPattern: -1)
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:155:44: error: cannot find 'mmap' in scope
153 |
154 |     let mapFailed = UnsafeMutableRawPointer(bitPattern: -1)
155 |     let result: UnsafeMutableRawPointer? = mmap(
    |                                            `- error: cannot find 'mmap' in scope
156 |         nil, length, protection, MAP_SHARED, fileDescriptor, 0
157 |     )
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:156:34: error: cannot find 'MAP_SHARED' in scope
154 |     let mapFailed = UnsafeMutableRawPointer(bitPattern: -1)
155 |     let result: UnsafeMutableRawPointer? = mmap(
156 |         nil, length, protection, MAP_SHARED, fileDescriptor, 0
    |                                  `- error: cannot find 'MAP_SHARED' in scope
157 |     )
158 |     guard let result, _fastPath(result != mapFailed) else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:156:9: error: 'nil' requires a contextual type
154 |     let mapFailed = UnsafeMutableRawPointer(bitPattern: -1)
155 |     let result: UnsafeMutableRawPointer? = mmap(
156 |         nil, length, protection, MAP_SHARED, fileDescriptor, 0
    |         `- error: 'nil' requires a contextual type
157 |     )
158 |     guard let result, _fastPath(result != mapFailed) else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:190:17: error: cannot find 'MAP_ANONYMOUS' in scope
188 |     let flags = MAP_ANON | MAP_PRIVATE
189 | #else
190 |     let flags = MAP_ANONYMOUS | MAP_PRIVATE
    |                 `- error: cannot find 'MAP_ANONYMOUS' in scope
191 | #endif
192 |     let mapFailed = UnsafeMutableRawPointer(bitPattern: -1)
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:190:33: error: cannot find 'MAP_PRIVATE' in scope
188 |     let flags = MAP_ANON | MAP_PRIVATE
189 | #else
190 |     let flags = MAP_ANONYMOUS | MAP_PRIVATE
    |                                 `- error: cannot find 'MAP_PRIVATE' in scope
191 | #endif
192 |     let mapFailed = UnsafeMutableRawPointer(bitPattern: -1)
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:193:44: error: cannot find 'mmap' in scope
191 | #endif
192 |     let mapFailed = UnsafeMutableRawPointer(bitPattern: -1)
193 |     let result: UnsafeMutableRawPointer? = mmap(
    |                                            `- error: cannot find 'mmap' in scope
194 |         nil, length, PROT_READ | PROT_WRITE, flags, -1, 0
195 |     )
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:194:22: error: cannot find 'PROT_READ' in scope
192 |     let mapFailed = UnsafeMutableRawPointer(bitPattern: -1)
193 |     let result: UnsafeMutableRawPointer? = mmap(
194 |         nil, length, PROT_READ | PROT_WRITE, flags, -1, 0
    |                      `- error: cannot find 'PROT_READ' in scope
195 |     )
196 |     guard let result, _fastPath(result != mapFailed) else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:194:34: error: cannot find 'PROT_WRITE' in scope
192 |     let mapFailed = UnsafeMutableRawPointer(bitPattern: -1)
193 |     let result: UnsafeMutableRawPointer? = mmap(
194 |         nil, length, PROT_READ | PROT_WRITE, flags, -1, 0
    |                                  `- error: cannot find 'PROT_WRITE' in scope
195 |     )
196 |     guard let result, _fastPath(result != mapFailed) else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:194:9: error: 'nil' requires a contextual type
192 |     let mapFailed = UnsafeMutableRawPointer(bitPattern: -1)
193 |     let result: UnsafeMutableRawPointer? = mmap(
194 |         nil, length, PROT_READ | PROT_WRITE, flags, -1, 0
    |         `- error: 'nil' requires a contextual type
195 |     )
196 |     guard let result, _fastPath(result != mapFailed) else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:228:5: error: cannot find 'munmap' in scope
226 |     UnmapViewOfFile(pointer)
227 | #else
228 |     munmap(pointer, length)
    |     `- error: cannot find 'munmap' in scope
229 | #endif
230 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:241:5: error: cannot find 'msync' in scope
239 |     FlushViewOfFile(pointer, SIZE_T(length))
240 | #else
241 |     msync(pointer, length, MS_SYNC)
    |     `- error: cannot find 'msync' in scope
242 | #endif
243 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:241:28: error: cannot find 'MS_SYNC' in scope
239 |     FlushViewOfFile(pointer, SIZE_T(length))
240 | #else
241 |     msync(pointer, length, MS_SYNC)
    |                            `- error: cannot find 'MS_SYNC' in scope
242 | #endif
243 | }
[11/27] Compiling BinaryParseSupport StringTable.swift
[12/28] Compiling BinaryParseSupport MemorySequence.swift
[13/28] Compiling BinaryParseSupport DataSequence.swift
[14/28] Compiling BinaryParseSupport StringTableEntry.swift
[15/28] Compiling BinaryParseSupport BitFlags.swift
[16/28] Compiling BinaryParseSupport UnsafePointer+.swift
[17/28] Compiling BinaryParseSupport Endian.swift
[18/28] Emitting module BinaryParseSupport
[19/28] Compiling BinaryParseSupport FileHandle+.swift
[20/28] Compiling BinaryParseSupport String+.swift
[21/28] Compiling BinaryParseSupport BinaryParseSupport.swift
[22/28] Compiling BinaryParseSupport Data+.swift
[23/28] Compiling BinaryParseSupport UnicodeStrings.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/29] Compiling FileIO ConcatenatedMemoryMappedFile.swift
[26/29] Compiling FileIO MemoryMappedFile.swift
[27/29] Compiling FileIO ConcatenatedStreamedFile.swift
[28/29] Compiling FileIO FileIO.swift
[29/29] Emitting module FileIO
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:241:5: error: cannot find 'msync' in scope
239 |     FlushViewOfFile(pointer, SIZE_T(length))
240 | #else
241 |     msync(pointer, length, MS_SYNC)
    |     `- error: cannot find 'msync' in scope
242 | #endif
243 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:241:28: error: cannot find 'MS_SYNC' in scope
239 |     FlushViewOfFile(pointer, SIZE_T(length))
240 | #else
241 |     msync(pointer, length, MS_SYNC)
    |                            `- error: cannot find 'MS_SYNC' in scope
242 | #endif
243 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:46373e069458549b0fb0727bf4d0f0bb9d8a18a2e211e19b57193bdf60e4b3d5
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
warning: 'machokit': /host/spi-builder-workspace/.build/checkouts/MachOKit/Package.swift:145: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
143 | }
144 |
145 | 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
146 |     public static var allCases: [Self] {
147 |         [
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/21] Compiling FileIO system.swift
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:151:29: error: cannot find 'PROT_READ' in scope
149 |     return view
150 | #else
151 |     var protection: Int32 = PROT_READ
    |                             `- error: cannot find 'PROT_READ' in scope
152 |     if isWritable { protection |= PROT_WRITE }
153 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:152:35: error: cannot find 'PROT_WRITE' in scope
150 | #else
151 |     var protection: Int32 = PROT_READ
152 |     if isWritable { protection |= PROT_WRITE }
    |                                   `- error: cannot find 'PROT_WRITE' in scope
153 |
154 |     let mapFailed = UnsafeMutableRawPointer(bitPattern: -1)
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:155:44: error: cannot find 'mmap' in scope
153 |
154 |     let mapFailed = UnsafeMutableRawPointer(bitPattern: -1)
155 |     let result: UnsafeMutableRawPointer? = mmap(
    |                                            `- error: cannot find 'mmap' in scope
156 |         nil, length, protection, MAP_SHARED, fileDescriptor, 0
157 |     )
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:156:34: error: cannot find 'MAP_SHARED' in scope
154 |     let mapFailed = UnsafeMutableRawPointer(bitPattern: -1)
155 |     let result: UnsafeMutableRawPointer? = mmap(
156 |         nil, length, protection, MAP_SHARED, fileDescriptor, 0
    |                                  `- error: cannot find 'MAP_SHARED' in scope
157 |     )
158 |     guard let result, _fastPath(result != mapFailed) else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:156:9: error: 'nil' requires a contextual type
154 |     let mapFailed = UnsafeMutableRawPointer(bitPattern: -1)
155 |     let result: UnsafeMutableRawPointer? = mmap(
156 |         nil, length, protection, MAP_SHARED, fileDescriptor, 0
    |         `- error: 'nil' requires a contextual type
157 |     )
158 |     guard let result, _fastPath(result != mapFailed) else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:190:17: error: cannot find 'MAP_ANONYMOUS' in scope
188 |     let flags = MAP_ANON | MAP_PRIVATE
189 | #else
190 |     let flags = MAP_ANONYMOUS | MAP_PRIVATE
    |                 `- error: cannot find 'MAP_ANONYMOUS' in scope
191 | #endif
192 |     let mapFailed = UnsafeMutableRawPointer(bitPattern: -1)
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:190:33: error: cannot find 'MAP_PRIVATE' in scope
188 |     let flags = MAP_ANON | MAP_PRIVATE
189 | #else
190 |     let flags = MAP_ANONYMOUS | MAP_PRIVATE
    |                                 `- error: cannot find 'MAP_PRIVATE' in scope
191 | #endif
192 |     let mapFailed = UnsafeMutableRawPointer(bitPattern: -1)
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:193:44: error: cannot find 'mmap' in scope
191 | #endif
192 |     let mapFailed = UnsafeMutableRawPointer(bitPattern: -1)
193 |     let result: UnsafeMutableRawPointer? = mmap(
    |                                            `- error: cannot find 'mmap' in scope
194 |         nil, length, PROT_READ | PROT_WRITE, flags, -1, 0
195 |     )
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:194:22: error: cannot find 'PROT_READ' in scope
192 |     let mapFailed = UnsafeMutableRawPointer(bitPattern: -1)
193 |     let result: UnsafeMutableRawPointer? = mmap(
194 |         nil, length, PROT_READ | PROT_WRITE, flags, -1, 0
    |                      `- error: cannot find 'PROT_READ' in scope
195 |     )
196 |     guard let result, _fastPath(result != mapFailed) else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:194:34: error: cannot find 'PROT_WRITE' in scope
192 |     let mapFailed = UnsafeMutableRawPointer(bitPattern: -1)
193 |     let result: UnsafeMutableRawPointer? = mmap(
194 |         nil, length, PROT_READ | PROT_WRITE, flags, -1, 0
    |                                  `- error: cannot find 'PROT_WRITE' in scope
195 |     )
196 |     guard let result, _fastPath(result != mapFailed) else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:194:9: error: 'nil' requires a contextual type
192 |     let mapFailed = UnsafeMutableRawPointer(bitPattern: -1)
193 |     let result: UnsafeMutableRawPointer? = mmap(
194 |         nil, length, PROT_READ | PROT_WRITE, flags, -1, 0
    |         `- error: 'nil' requires a contextual type
195 |     )
196 |     guard let result, _fastPath(result != mapFailed) else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:228:5: error: cannot find 'munmap' in scope
226 |     UnmapViewOfFile(pointer)
227 | #else
228 |     munmap(pointer, length)
    |     `- error: cannot find 'munmap' in scope
229 | #endif
230 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:241:5: error: cannot find 'msync' in scope
239 |     FlushViewOfFile(pointer, SIZE_T(length))
240 | #else
241 |     msync(pointer, length, MS_SYNC)
    |     `- error: cannot find 'msync' in scope
242 | #endif
243 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:241:28: error: cannot find 'MS_SYNC' in scope
239 |     FlushViewOfFile(pointer, SIZE_T(length))
240 | #else
241 |     msync(pointer, length, MS_SYNC)
    |                            `- error: cannot find 'MS_SYNC' in scope
242 | #endif
243 | }
[3/21] Emitting module BinaryParseSupport
[4/22] Compiling BinaryParseSupport FileHandle+.swift
[5/22] Compiling BinaryParseSupport String+.swift
[6/22] Compiling BinaryParseSupport LayoutWrapper.swift
[7/22] Compiling BinaryParseSupport StringTable.swift
[8/22] Compiling BinaryParseSupport DataSequence.swift
[9/22] Compiling BinaryParseSupport StringTableEntry.swift
[10/22] Compiling BinaryParseSupport BitFlags.swift
[11/22] Compiling BinaryParseSupport UnsafePointer+.swift
[12/22] Compiling BinaryParseSupport Endian.swift
[13/22] Compiling BinaryParseSupport MemorySequence.swift
[14/22] Compiling BinaryParseSupport BinaryParseSupport.swift
[15/22] Compiling BinaryParseSupport Data+.swift
[16/22] Compiling FileIO ConcatenatedStreamedFile.swift
[17/22] Compiling FileIO ConcatenatedMemoryMappedFile.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/22] Compiling FileIO StreamedFile.swift
[19/22] Compiling FileIO FileIO.swift
[20/22] Compiling FileIO MemoryMappedFile.swift
[21/22] Emitting module FileIO
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:241:5: error: cannot find 'msync' in scope
239 |     FlushViewOfFile(pointer, SIZE_T(length))
240 | #else
241 |     msync(pointer, length, MS_SYNC)
    |     `- error: cannot find 'msync' in scope
242 | #endif
243 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:241:28: error: cannot find 'MS_SYNC' in scope
239 |     FlushViewOfFile(pointer, SIZE_T(length))
240 | #else
241 |     msync(pointer, length, MS_SYNC)
    |                            `- error: cannot find 'MS_SYNC' in scope
242 | #endif
243 | }
BUILD FAILURE 6.1 wasm