The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MachOObjCSection, reference main (3dbf6a), with Swift 6.3 for Wasm on 19 Apr 2026 07:37:03 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/MachOObjCSection.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/MachOObjCSection
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3dbf6a8 Merge pull request #1 from lynnswap/codex/objc-pointer-bind
Cloned https://github.com/lynnswap/MachOObjCSection.git
Revision (git rev-parse @):
3dbf6a856cbdc856d4d7c1fe6bbf81161e0fbe9c
SUCCESS checkout https://github.com/lynnswap/MachOObjCSection.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/lynnswap/MachOObjCSection.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/p-x9/swift-fileio.git
Fetching https://github.com/lynnswap/MachOKit.git
Fetching https://github.com/p-x9/swift-objc-dump.git
[1/246] Fetching swift-fileio
[247/675] Fetching swift-fileio, swift-objc-dump
[256/7281] Fetching swift-fileio, swift-objc-dump, machokit
Fetched https://github.com/p-x9/swift-fileio.git from cache (0.23s)
[2213/7035] Fetching swift-objc-dump, machokit
Fetched https://github.com/p-x9/swift-objc-dump.git from cache (0.35s)
Fetched https://github.com/lynnswap/MachOKit.git from cache (0.35s)
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.89s)
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
[1/48] Fetching swift-fileio-extra
[49/307] Fetching swift-fileio-extra, objectarchivekit
[50/549] Fetching swift-fileio-extra, objectarchivekit, swift-binary-parse-support
Fetched https://github.com/p-x9/swift-fileio-extra.git from cache (0.71s)
Fetched https://github.com/p-x9/ObjectArchiveKit.git from cache (0.71s)
[1/17416] Fetching swift-crypto
Fetched https://github.com/p-x9/swift-binary-parse-support.git from cache (2.57s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.61s)
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.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.38s)
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/p-x9/swift-objc-dump.git
Computed https://github.com/p-x9/swift-objc-dump.git at 0.8.0 (0.38s)
Computing version for https://github.com/p-x9/ObjectArchiveKit.git
Computed https://github.com/p-x9/ObjectArchiveKit.git at 0.5.0 (1.24s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (3.81s)
Fetching https://github.com/apple/swift-asn1.git
[1/1803] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.37s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (4.21s)
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/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/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/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/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/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/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/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.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 |         [
Building for debugging...
[0/379] Compiling MachOObjCSectionC dummy.c
[1/379] Compiling MachOKitC mach-o-linux.c
[2/379] Write sources
[8/379] Write swift-version-24593BA9C3E375BF.txt
[8/379] Write sources
[11/379] Compiling md5-x86_64-apple.S
[12/379] Compiling md5-x86_64-linux.S
[13/379] Compiling fiat_p256_adx_sqr.S
[14/379] Compiling fiat_curve25519_adx_mul.S
[15/379] Compiling fiat_p256_adx_mul.S
[15/379] Compiling fiat_curve25519_adx_square.S
[17/398] Compiling chacha20_poly1305_x86_64-linux.S
[18/398] Compiling md5-586-apple.S
[19/398] Compiling md5-586-linux.S
[20/398] Compiling chacha20_poly1305_x86_64-apple.S
[21/398] Compiling CCryptoBoringSSLShims shims.c
[22/398] Compiling chacha20_poly1305_armv8-win.S
[23/398] Compiling chacha20_poly1305_armv8-linux.S
[24/398] Compiling chacha20_poly1305_armv8-apple.S
[25/398] Compiling chacha-x86_64-linux.S
[26/398] Compiling chacha-x86_64-apple.S
[27/398] Compiling chacha-x86-apple.S
[27/398] Compiling chacha-x86-linux.S
[29/398] Compiling chacha-armv8-win.S
[30/398] Compiling chacha-armv8-linux.S
[31/398] Compiling chacha-armv4-linux.S
[32/398] Compiling aes128gcmsiv-x86_64-linux.S
[33/398] Compiling x86_64-mont5-linux.S
[34/398] Compiling aes128gcmsiv-x86_64-apple.S
[35/398] Compiling chacha-armv8-apple.S
[36/398] Compiling x86_64-mont-apple.S
[37/398] Compiling x86_64-mont5-apple.S
[38/398] Compiling x86_64-mont-linux.S
[39/398] Compiling x86-mont-linux.S
[40/398] Compiling x86-mont-apple.S
[41/398] Compiling vpaes-x86_64-linux.S
[42/398] Compiling vpaes-x86_64-apple.S
[43/398] Compiling vpaes-x86-linux.S
[44/398] Compiling vpaes-x86-apple.S
[45/398] Compiling vpaes-armv8-linux.S
[46/398] Compiling vpaes-armv8-win.S
[47/398] Compiling vpaes-armv8-apple.S
[48/398] Compiling err_data.cc
[49/398] Compiling vpaes-armv7-linux.S
[50/398] Compiling sha512-x86_64-linux.S
[51/398] Compiling sha512-x86_64-apple.S
[52/398] Compiling sha512-armv8-win.S
[53/398] Compiling sha512-armv4-linux.S
[54/398] Compiling sha512-armv8-linux.S
[55/398] Compiling sha512-armv8-apple.S
[56/398] Compiling sha512-586-linux.S
[57/398] Compiling sha512-586-apple.S
[58/398] Compiling sha256-x86_64-linux.S
[59/398] Compiling sha256-armv8-win.S
[60/398] Compiling sha256-x86_64-apple.S
[60/398] Compiling sha256-armv8-linux.S
[62/398] Compiling sha256-armv8-apple.S
[63/398] Compiling sha256-armv4-linux.S
[64/398] Compiling sha256-586-linux.S
[65/398] Compiling sha1-x86_64-linux.S
[66/398] Compiling sha256-586-apple.S
[67/398] Compiling sha1-x86_64-apple.S
[68/398] Compiling sha1-armv8-linux.S
[69/398] Compiling sha1-armv8-win.S
[70/398] Compiling sha1-armv8-apple.S
[71/398] Compiling sha1-armv4-large-linux.S
[72/398] Compiling rsaz-avx2-linux.S
[73/398] Compiling rdrand-x86_64-linux.S
[73/398] Compiling rsaz-avx2-apple.S
[75/398] Compiling sha1-586-apple.S
[76/398] Compiling sha1-586-linux.S
[77/398] Compiling rdrand-x86_64-apple.S
[78/398] Compiling p256_beeu-x86_64-asm-apple.S
[79/398] Compiling p256_beeu-armv8-asm-win.S
[80/398] Compiling p256_beeu-armv8-asm-apple.S
[81/398] Compiling p256_beeu-armv8-asm-linux.S
[82/398] Compiling p256_beeu-x86_64-asm-linux.S
[83/398] Compiling p256-x86_64-asm-linux.S
[84/398] Compiling p256-armv8-asm-win.S
[84/398] Compiling p256-x86_64-asm-apple.S
[84/398] Compiling p256-armv8-asm-linux.S
[87/398] Compiling p256-armv8-asm-apple.S
[88/398] Compiling ghashv8-armv8-win.S
[89/398] Compiling ghashv8-armv8-linux.S
[90/398] Compiling ghashv8-armv7-linux.S
[91/398] Compiling ghash-x86_64-linux.S
[92/398] Compiling ghash-x86_64-apple.S
[93/398] Compiling ghashv8-armv8-apple.S
[94/398] Compiling ghash-x86-linux.S
[95/398] Compiling ghash-ssse3-x86_64-linux.S
[96/398] Compiling ghash-ssse3-x86_64-apple.S
[97/398] Compiling ghash-ssse3-x86-apple.S
[98/398] Compiling ghash-x86-apple.S
[99/398] Compiling ghash-neon-armv8-win.S
[99/398] Compiling ghash-ssse3-x86-linux.S
[101/398] Compiling ghash-neon-armv8-apple.S
[102/398] Compiling bsaes-armv7-linux.S
[102/398] Compiling co-586-apple.S
[102/398] Compiling co-586-linux.S
[102/398] Compiling ghash-neon-armv8-linux.S
[106/398] Compiling ghash-armv4-linux.S
[107/398] Compiling bn-armv8-win.S
[108/398] Compiling bn-586-apple.S
[109/398] Compiling bn-586-linux.S
[110/398] Compiling bn-armv8-linux.S
[111/398] Compiling armv8-mont-win.S
[112/398] Compiling bn-armv8-apple.S
[113/398] Compiling armv8-mont-apple.S
[114/398] Compiling armv8-mont-linux.S
[115/398] Compiling aesv8-gcm-armv8-win.S
[116/398] Compiling aesv8-gcm-armv8-linux.S
[117/398] Compiling aesv8-gcm-armv8-apple.S
[118/398] Compiling armv4-mont-linux.S
[119/398] Compiling aesv8-armv8-win.S
[120/398] Compiling aesv8-armv8-linux.S
[121/398] Compiling aesv8-armv8-apple.S
[122/398] Compiling aesv8-armv7-linux.S
[123/398] Compiling aesni-x86_64-linux.S
[124/398] Compiling aesni-x86_64-apple.S
[125/398] Compiling aesni-x86-linux.S
[126/398] Compiling aesni-x86-apple.S
[127/398] Compiling aesni-gcm-x86_64-linux.S
[128/398] Compiling aesni-gcm-x86_64-apple.S
[129/398] Compiling aes-gcm-avx512-x86_64-linux.S
[130/398] Compiling aes-gcm-avx512-x86_64-apple.S
[131/398] Compiling aes-gcm-avx2-x86_64-apple.S
[132/398] Compiling aes-gcm-avx2-x86_64-linux.S
error: emit-module command failed with exit code 1 (use -v to see invocation)
[134/398] 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 | }
[134/398] Compiling xwing.cc
[135/398] Compiling x_x509a.cc
[136/398] Compiling x_spki.cc
[137/398] Compiling x_sig.cc
[138/398] Compiling x_req.cc
[139/398] Compiling x_x509.cc
[140/398] Compiling x_pubkey.cc
[141/398] Compiling x_name.cc
[142/398] Compiling x_exten.cc
[143/398] Compiling x_attrib.cc
[144/398] Compiling x_crl.cc
[145/398] Compiling x_all.cc
[146/398] Compiling x509spki.cc
[146/398] Compiling x_algor.cc
[148/398] Compiling x509rset.cc
[149/398] Compiling x509name.cc
[150/398] Compiling x509cset.cc
[151/398] Compiling x509_vpm.cc
[152/398] Compiling x509_vfy.cc
[153/398] Compiling x509_txt.cc
[154/398] Compiling x509_v3.cc
[155/398] Compiling x509_trs.cc
[156/398] Compiling x509_set.cc
[157/398] Compiling x509_req.cc
[158/398] Compiling x509_obj.cc
[159/398] Compiling x509_lu.cc
[160/398] Compiling x509_ext.cc
[162/398] 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 | }
[163/398] Compiling ObjCTypeDecodeKit ObjCModifier.swift
[164/398] Compiling ObjCTypeDecodeKit ObjCPropertyAttribute.swift
[165/398] Compiling ObjCTypeDecodeKit ObjCTypeDecoder.swift
[166/398] Compiling ObjCTypeDecodeKit ObjCPropertyTypeDecoder.swift
[167/399] Emitting module ObjCTypeDecodeKit
[168/399] Compiling FileIO system.swift
[169/399] Compiling ObjCTypeDecodeKit ObjCType.swift
[170/399] Compiling ObjCTypeDecodeKit types.swift
[171/399] Compiling ObjCTypeDecodeKit ObjCField.swift
[172/399] Compiling ObjCTypeDecodeKit ObjCMethodType.swift
[173/399] Compiling ObjCTypeDecodeKit ObjCMethodTypeDecoder.swift
[174/399] Compiling ObjCTypeDecodeKit String+.swift
[175/399] Compiling ObjCTypeDecodeKit Node.swift
[176/399] Compiling FileIO ConcatenatedStreamedFile.swift
[177/399] Compiling FileIO FileIO.swift
[178/399] Compiling ObjCTypeDecodeKit ObjCTypeCodable.swift
[179/399] 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 | }
[180/399] Compiling FileIO StreamedFile.swift
[180/400] Compiling v3_utl.cc
[180/400] Compiling x509_cmp.cc
[180/400] Compiling x509_att.cc
[180/400] Compiling x509.cc
[180/400] Compiling x509_d2.cc
[180/400] Compiling x509_def.cc
BUILD FAILURE 6.3 wasm