The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MachOKitExtensions, reference main (39bdf7), with Swift 6.2 for Wasm on 10 Oct 2026 05:20:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MxIris-Reverse-Engineering/MachOKitExtensions.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/MxIris-Reverse-Engineering/MachOKitExtensions
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 39bdf74 feat: resolve binds an image satisfies from its own exports
Cloned https://github.com/MxIris-Reverse-Engineering/MachOKitExtensions.git
Revision (git rev-parse @):
39bdf745ad729c798395beb4dca12587ea5686c9
SUCCESS checkout https://github.com/MxIris-Reverse-Engineering/MachOKitExtensions.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/MxIris-Reverse-Engineering/MachOKitExtensions.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:c092ff8dc506a2a30e6239b6992792fd4f7dfaaa46cac3b3c48d8fe35e954282
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/MxIris-Reverse-Engineering/MachOKit
Fetching https://github.com/p-x9/AssociatedObject
[1/718] Fetching associatedobject
Fetched https://github.com/p-x9/AssociatedObject from cache (0.40s)
[1/7819] Fetching machokit
Fetched https://github.com/MxIris-Reverse-Engineering/MachOKit from cache (1.22s)
Computing version for https://github.com/MxIris-Reverse-Engineering/MachOKit
Computed https://github.com/MxIris-Reverse-Engineering/MachOKit at 0.54.101 (1.45s)
Fetching https://github.com/p-x9/ObjectArchiveKit.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/p-x9/swift-fileio-extra.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/p-x9/swift-fileio.git
[1/690] Fetching swift-fileio
[560/781] Fetching swift-fileio, swift-fileio-extra
Fetched https://github.com/p-x9/swift-fileio.git from cache (0.36s)
[26/2100] Fetching swift-fileio-extra, swift-asn1
[589/2359] Fetching swift-fileio-extra, swift-asn1, objectarchivekit
[661/20979] Fetching swift-fileio-extra, swift-asn1, objectarchivekit, swift-crypto
Fetching https://github.com/p-x9/swift-binary-parse-support.git
Fetched https://github.com/p-x9/swift-fileio-extra.git from cache (0.47s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.47s)
[1004/18879] Fetching objectarchivekit, swift-crypto
[4543/19135] Fetching objectarchivekit, swift-crypto, swift-binary-parse-support
Fetched https://github.com/p-x9/swift-binary-parse-support.git from cache (0.40s)
[5845/18879] Fetching objectarchivekit, swift-crypto
Fetched https://github.com/p-x9/ObjectArchiveKit.git from cache (1.33s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.34s)
Computing version for https://github.com/p-x9/ObjectArchiveKit.git
Computed https://github.com/p-x9/ObjectArchiveKit.git at 0.5.0 (1.53s)
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.14s)
Computing version for https://github.com/p-x9/AssociatedObject
Computed https://github.com/p-x9/AssociatedObject at 0.15.0 (0.15s)
Fetching https://github.com/p-x9/swift-object-association.git
Fetching https://github.com/p-x9/swift-literal-type-inference.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/207] Fetching swift-object-association
[153/324] Fetching swift-object-association, swift-literal-type-inference
Fetched https://github.com/p-x9/swift-object-association.git from cache (0.35s)
[1/80411] Fetching swift-syntax
Fetched https://github.com/p-x9/swift-literal-type-inference.git from cache (4.09s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.11s)
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 (4.28s)
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.6.0 (0.15s)
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.16s)
Computing version for https://github.com/p-x9/swift-fileio.git
Computed https://github.com/p-x9/swift-fileio.git at 0.15.1 (0.14s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (0.18s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (0.97s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.3.1 (0.49s)
Creating working copy for https://github.com/MxIris-Reverse-Engineering/MachOKit
Working copy of https://github.com/MxIris-Reverse-Engineering/MachOKit resolved at 0.54.101
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/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
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.6.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.4.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.15.1
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/p-x9/AssociatedObject
Working copy of https://github.com/p-x9/AssociatedObject resolved at 0.15.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.6.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/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.3.1
Building for debugging...
[0/52] Write sources
[26/52] Compiling MachOKitC mach-o-linux.c
[27/52] Compiling AssociatedObjectC associated_object_key.c
[28/52] Compiling _SwiftSyntaxCShims PlatformMutex.c
[29/52] Write swift-version-24593BA9C3E375BF.txt
[31/84] Emitting module SwiftSyntax601
[32/84] Emitting module BinaryParseSupport
[33/85] Compiling SwiftSyntax510 Empty.swift
[34/85] Emitting module SwiftSyntax510
[35/86] Compiling SwiftSyntax602 Empty.swift
[36/86] Emitting module SwiftSyntax602
[38/87] Wrapping AST for SwiftSyntax510 for debugging
[39/87] Wrapping AST for SwiftSyntax602 for debugging
[41/87] Compiling SwiftSyntax600 Empty.swift
[42/87] Emitting module SwiftSyntax600
[44/88] Emitting module SwiftSyntax603
[45/88] Compiling SwiftSyntax603 Empty.swift
[46/89] Compiling SwiftSyntax601 Empty.swift
[48/90] Emitting module SwiftSyntax509
[49/90] Compiling SwiftSyntax509 Empty.swift
[50/91] Wrapping AST for SwiftSyntax601 for debugging
[51/91] Wrapping AST for SwiftSyntax600 for debugging
[53/91] Wrapping AST for SwiftSyntax603 for debugging
[54/91] Wrapping AST for SwiftSyntax509 for debugging
[56/154] Compiling SwiftSyntax EditorPlaceholder.swift
[57/154] Compiling SwiftSyntax SourceLength.swift
[58/154] Compiling SwiftSyntax BumpPtrAllocator.swift
[59/154] Compiling SwiftSyntax CommonAncestor.swift
[60/154] 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:170:5: error: cannot find 'munmap' in scope
168 |     UnmapViewOfFile(pointer)
169 | #else
170 |     munmap(pointer, length)
    |     `- error: cannot find 'munmap' in scope
171 | #endif
172 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:183:5: error: cannot find 'msync' in scope
181 |     FlushViewOfFile(pointer, SIZE_T(length))
182 | #else
183 |     msync(pointer, length, MS_SYNC)
    |     `- error: cannot find 'msync' in scope
184 | #endif
185 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:183:28: error: cannot find 'MS_SYNC' in scope
181 |     FlushViewOfFile(pointer, SIZE_T(length))
182 | #else
183 |     msync(pointer, length, MS_SYNC)
    |                            `- error: cannot find 'MS_SYNC' in scope
184 | #endif
185 | }
[61/154] Compiling SwiftSyntax Convenience.swift
[62/154] Compiling SwiftSyntax CustomTraits.swift
[63/154] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[64/154] Compiling SwiftSyntax Assert.swift
[65/154] Compiling SwiftSyntax AbsolutePosition.swift
[66/154] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[67/154] Compiling BinaryParseSupport UnicodeStrings.swift
[68/154] Compiling BinaryParseSupport DataSequence.swift
[69/154] Compiling BinaryParseSupport MemorySequence.swift
[70/154] Compiling FileIO ConcatenatedStreamedFile.swift
[71/154] Compiling FileIO ConcatenatedMemoryMappedFile.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[72/154] Emitting module FileIO
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:183:5: error: cannot find 'msync' in scope
181 |     FlushViewOfFile(pointer, SIZE_T(length))
182 | #else
183 |     msync(pointer, length, MS_SYNC)
    |     `- error: cannot find 'msync' in scope
184 | #endif
185 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:183:28: error: cannot find 'MS_SYNC' in scope
181 |     FlushViewOfFile(pointer, SIZE_T(length))
182 | #else
183 |     msync(pointer, length, MS_SYNC)
    |                            `- error: cannot find 'MS_SYNC' in scope
184 | #endif
185 | }
[73/155] Compiling FileIO FileIO.swift
[74/155] Compiling FileIO StreamedFile.swift
[75/155] Compiling FileIO MemoryMappedFile.swift
BUILD FAILURE 6.2 wasm