Build Information
Failed to build MachOObjCSection, reference main (71dcef), with Swift 6.4 for Wasm on 9 Nov 2026 15:43:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-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.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MxIris-Reverse-Engineering/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/MxIris-Reverse-Engineering/MachOObjCSection
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 71dcefc Merge branch 'perf/machofile-performance' into next
Cloned https://github.com/MxIris-Reverse-Engineering/MachOObjCSection.git
Revision (git rev-parse @):
71dcefcbf8f1dbaf6595069ab238f96f4fd8ec30
SUCCESS checkout https://github.com/MxIris-Reverse-Engineering/MachOObjCSection.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/MxIris-Reverse-Engineering/MachOObjCSection.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:439c9a525449f13061cf4a8f755895df6bdc90ef7885bc03630392396f826d74
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/MxIris-Reverse-Engineering/swift-semantic-string
Fetching https://github.com/p-x9/swift-fileio.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/Mx-Iris/FrameworkToolbox
Fetching https://github.com/MxIris-Reverse-Engineering/MachOKitExtensions
[1/1514] Fetching rainbow
[456/2204] Fetching rainbow, swift-fileio
Fetched https://github.com/p-x9/swift-fileio.git (0.40s)
Fetching https://github.com/apple/swift-collections
[1/619] Fetching swift-semantic-string
[385/3297] Fetching swift-semantic-string, frameworktoolbox
Fetched https://github.com/onevcat/Rainbow (0.55s)
Fetching https://github.com/MxIris-Reverse-Engineering/swift-objc-dump
[3298/22673] Fetching swift-semantic-string, frameworktoolbox, swift-argument-parser
[3492/22911] Fetching swift-semantic-string, frameworktoolbox, swift-argument-parser, machokitextensions
Fetched https://github.com/MxIris-Reverse-Engineering/swift-semantic-string (0.63s)
[3265/22292] Fetching frameworktoolbox, swift-argument-parser, machokitextensions
Fetching https://github.com/MxIris-Reverse-Engineering/MachOKit
Fetched https://github.com/MxIris-Reverse-Engineering/MachOKitExtensions (0.67s)
Fetched https://github.com/Mx-Iris/FrameworkToolbox (0.68s)
[3876/19376] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.91s)
[1/29871] Fetching swift-collections
[2/30350] Fetching swift-collections, swift-objc-dump
Fetched https://github.com/MxIris-Reverse-Engineering/swift-objc-dump (0.59s)
[3286/29871] Fetching swift-collections
[3885/37894] Fetching swift-collections, machokit
Fetched https://github.com/MxIris-Reverse-Engineering/MachOKit (0.65s)
[14040/29871] Fetching swift-collections
Fetched https://github.com/apple/swift-collections (1.34s)
Computing version for https://github.com/MxIris-Reverse-Engineering/swift-semantic-string
Computed https://github.com/MxIris-Reverse-Engineering/swift-semantic-string at 0.6.0 (1.96s)
Computing version for https://github.com/MxIris-Reverse-Engineering/swift-objc-dump
Computed https://github.com/MxIris-Reverse-Engineering/swift-objc-dump at 0.8.102 (0.22s)
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/MxIris-Reverse-Engineering/MachOKit
Computed https://github.com/MxIris-Reverse-Engineering/MachOKit at 0.55.102 (0.18s)
Fetching https://github.com/p-x9/swift-fileio-extra.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/p-x9/ObjectArchiveKit.git
Fetching https://github.com/p-x9/swift-binary-parse-support.git
Fetching https://github.com/apple/swift-asn1.git
[1/256] Fetching swift-binary-parse-support
[257/2321] Fetching swift-binary-parse-support, swift-asn1
[1001/21245] Fetching swift-binary-parse-support, swift-asn1, swift-crypto
[2890/21336] Fetching swift-binary-parse-support, swift-asn1, swift-crypto, swift-fileio-extra
[4306/21595] Fetching swift-binary-parse-support, swift-asn1, swift-crypto, swift-fileio-extra, objectarchivekit
Fetched https://github.com/p-x9/ObjectArchiveKit.git (0.63s)
Fetched https://github.com/p-x9/swift-binary-parse-support.git (0.63s)
[4427/21080] Fetching swift-asn1, swift-crypto, swift-fileio-extra
Fetched https://github.com/p-x9/swift-fileio-extra.git (1.22s)
Fetched https://github.com/apple/swift-asn1.git (1.23s)
Fetched https://github.com/apple/swift-crypto.git (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.41s)
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.13s)
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/MxIris-Reverse-Engineering/MachOKitExtensions
Computed https://github.com/MxIris-Reverse-Engineering/MachOKitExtensions at 1.3.3 (0.21s)
Fetching https://github.com/p-x9/AssociatedObject
[1/718] Fetching associatedobject
Fetched https://github.com/p-x9/AssociatedObject (0.42s)
Computing version for https://github.com/p-x9/AssociatedObject
Computed https://github.com/p-x9/AssociatedObject at 0.15.0 (0.56s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/p-x9/swift-object-association.git
Fetching https://github.com/p-x9/swift-literal-type-inference.git
[1/117] Fetching swift-literal-type-inference
[104/324] Fetching swift-literal-type-inference, swift-object-association
[311/82220] Fetching swift-literal-type-inference, swift-object-association, swift-syntax
Fetched https://github.com/p-x9/swift-object-association.git (5.45s)
Fetched https://github.com/p-x9/swift-literal-type-inference.git (5.45s)
Fetched https://github.com/swiftlang/swift-syntax.git (5.47s)
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 (5.62s)
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.13s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.2 (0.88s)
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/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.15s)
Computing version for https://github.com/Mx-Iris/FrameworkToolbox
Computed https://github.com/Mx-Iris/FrameworkToolbox at 0.17.2 (0.23s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (0.96s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.5 (0.24s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.3.1 (0.23s)
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/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.5
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
Creating working copy for https://github.com/MxIris-Reverse-Engineering/swift-objc-dump
Working copy of https://github.com/MxIris-Reverse-Engineering/swift-objc-dump resolved at 0.8.102
Creating working copy for https://github.com/MxIris-Reverse-Engineering/MachOKit
Working copy of https://github.com/MxIris-Reverse-Engineering/MachOKit resolved at 0.55.102
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-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/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/ObjectArchiveKit.git
Working copy of https://github.com/p-x9/ObjectArchiveKit.git resolved at 0.5.0
Creating working copy for https://github.com/Mx-Iris/FrameworkToolbox
Working copy of https://github.com/Mx-Iris/FrameworkToolbox resolved at 0.17.2
Creating working copy for https://github.com/MxIris-Reverse-Engineering/MachOKitExtensions
Working copy of https://github.com/MxIris-Reverse-Engineering/MachOKitExtensions resolved at 1.3.3
Creating working copy for https://github.com/MxIris-Reverse-Engineering/swift-semantic-string
Working copy of https://github.com/MxIris-Reverse-Engineering/swift-semantic-string resolved at 0.6.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/AssociatedObject
Working copy of https://github.com/p-x9/AssociatedObject resolved at 0.15.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.6.0
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.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/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz (0.17s)
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 1360]
[Planning 917 / 1360]
[Planning deferred tasks]
[Starting]
[71 / 436] MacroToolbox
[1m/host/spi-builder-workspace/Sources/MachOObjCSectionC/memory_probe.c:8:10: [0m[0;1;31mfatal error: [0m[1m'mach/mach.h' file not found[0m
8 | #include <mach/mach.h>[0m
| [0;1;32m ^~~~~~~~~~~~~
[0m1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/MachOObjCSection.build/Debug-webassembly-wasm32/MachOObjCSectionC-t.build/Objects-normal/wasm32/memory_probe.o /host/spi-builder-workspace/Sources/MachOObjCSectionC/memory_probe.c normal wasm32 c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line: cd /host
Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/MachOObjCSection.build/Debug-webassembly-wasm32/MachOObjCSectionC-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp
/usr/bin/clang -x c -target wasm32-unknown-wasip1 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/MachOObjCSection.build/Debug-webassembly-wasm32/MachOObjCSectionC-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/MachOObjCSection.build/Debug-webassembly-wasm32/MachOObjCSectionC-t.build/Objects-normal/wasm32/memory_probe.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/MachOObjCSection.build/Debug-webassembly-wasm32/MachOObjCSectionC-t.build/Objects-normal/wasm32/memory_probe.dia -c /host/spi-builder-workspace/Sources/MachOObjCSectionC/memory_probe.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/MachOObjCSection.build/Debug-webassembly-wasm32/MachOObjCSectionC-t.build/Objects-normal/wasm32/memory_probe.o
error: Build failed
BUILD FAILURE 6.4 wasm