Build Information
Failed to build MachOObjCSection, reference main (71dcef), with Swift 6.4 for Android on 9 Nov 2026 16:00:12 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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 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: android
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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:6b43072510b376a3c4064be7d82ef70cb870a485f057a0e40e484dd4ba1d1fe3
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/Mx-Iris/FrameworkToolbox
Fetching https://github.com/MxIris-Reverse-Engineering/MachOKitExtensions
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/MxIris-Reverse-Engineering/swift-semantic-string
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/apple/swift-collections
[1/1514] Fetching rainbow
[2/2133] Fetching rainbow, swift-semantic-string
[512/2371] Fetching rainbow, swift-semantic-string, machokitextensions
[2372/5088] Fetching rainbow, swift-semantic-string, machokitextensions, frameworktoolbox
[5089/24464] Fetching rainbow, swift-semantic-string, machokitextensions, frameworktoolbox, swift-argument-parser
[24465/54346] Fetching rainbow, swift-semantic-string, machokitextensions, frameworktoolbox, swift-argument-parser, swift-collections
Fetched https://github.com/MxIris-Reverse-Engineering/MachOKitExtensions (0.81s)
Fetched https://github.com/onevcat/Rainbow (0.81s)
Fetched https://github.com/Mx-Iris/FrameworkToolbox (0.81s)
[22386/49877] Fetching swift-semantic-string, swift-argument-parser, swift-collections
Fetching https://github.com/MxIris-Reverse-Engineering/swift-objc-dump
Fetched https://github.com/apple/swift-argument-parser (0.81s)
Fetching https://github.com/p-x9/swift-fileio.git
[3309/30501] Fetching swift-semantic-string, swift-collections
[30502/31191] Fetching swift-semantic-string, swift-collections, swift-fileio
[31192/31670] Fetching swift-semantic-string, swift-collections, swift-fileio, swift-objc-dump
Fetching https://github.com/MxIris-Reverse-Engineering/MachOKit
Fetched https://github.com/p-x9/swift-fileio.git (0.40s)
[30909/30980] Fetching swift-semantic-string, swift-collections, swift-objc-dump
Fetched https://github.com/MxIris-Reverse-Engineering/swift-objc-dump (0.42s)
Fetched https://github.com/MxIris-Reverse-Engineering/swift-semantic-string (1.37s)
Fetched https://github.com/apple/swift-collections (1.38s)
[1/8023] Fetching machokit
Fetched https://github.com/MxIris-Reverse-Engineering/MachOKit (0.53s)
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.95s)
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.23s)
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/ObjectArchiveKit.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/p-x9/swift-fileio-extra.git
Fetching https://github.com/p-x9/swift-binary-parse-support.git
Fetching https://github.com/apple/swift-crypto.git
[1/91] Fetching swift-fileio-extra
Fetched https://github.com/p-x9/swift-fileio-extra.git (0.36s)
[1/259] Fetching objectarchivekit
[260/2324] Fetching objectarchivekit, swift-asn1
[694/2580] Fetching objectarchivekit, swift-asn1, swift-binary-parse-support
Fetched https://github.com/p-x9/swift-binary-parse-support.git (0.41s)
[2159/2324] Fetching objectarchivekit, swift-asn1
[2325/21248] Fetching objectarchivekit, swift-asn1, swift-crypto
Fetched https://github.com/p-x9/ObjectArchiveKit.git (1.58s)
Fetched https://github.com/apple/swift-asn1.git (1.58s)
Fetched https://github.com/apple/swift-crypto.git (1.59s)
Computing version for https://github.com/p-x9/ObjectArchiveKit.git
Computed https://github.com/p-x9/ObjectArchiveKit.git at 0.5.0 (1.76s)
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.39s)
Computing version for https://github.com/p-x9/AssociatedObject
Computed https://github.com/p-x9/AssociatedObject at 0.15.0 (0.54s)
Fetching https://github.com/p-x9/swift-literal-type-inference.git
Fetching https://github.com/p-x9/swift-object-association.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/117] Fetching swift-literal-type-inference
[118/324] Fetching swift-literal-type-inference, swift-object-association
Fetched https://github.com/p-x9/swift-literal-type-inference.git (0.40s)
Fetched https://github.com/p-x9/swift-object-association.git (0.41s)
[1/81896] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (3.60s)
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 (3.74s)
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.14s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.2 (0.87s)
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.18.0 (0.22s)
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.24s)
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/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/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/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
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/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/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/Mx-Iris/FrameworkToolbox
Working copy of https://github.com/Mx-Iris/FrameworkToolbox resolved at 0.18.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/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/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/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/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/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/AssociatedObject
Working copy of https://github.com/p-x9/AssociatedObject resolved at 0.15.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
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.git
Working copy of https://github.com/p-x9/swift-fileio.git resolved at 0.15.1
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]
[Constructing description]
[Pre-planning 1 / 1478]
[Planning 827 / 1478]
[Planning deferred tasks]
[Starting]
[51 / 512] OutputTransformer
[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-android-aarch64/MachOObjCSectionC-t.build/Objects-normal/aarch64/memory_probe.o /host/spi-builder-workspace/Sources/MachOObjCSectionC/memory_probe.c normal aarch64 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-android-aarch64/MachOObjCSectionC-t.build/Objects-normal/aarch64/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp
/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/clang -x c -target aarch64-unknown-linux-android28 -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 /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot @/host/spi-builder-workspace/.build/out/Intermediates.noindex/MachOObjCSection.build/Debug-android-aarch64/MachOObjCSectionC-t.build/Objects-normal/aarch64/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/MachOObjCSection.build/Debug-android-aarch64/MachOObjCSectionC-t.build/Objects-normal/aarch64/memory_probe.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/MachOObjCSection.build/Debug-android-aarch64/MachOObjCSectionC-t.build/Objects-normal/aarch64/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-android-aarch64/MachOObjCSectionC-t.build/Objects-normal/aarch64/memory_probe.o
error: Build failed
BUILD FAILURE 6.4 android