Build Information
Failed to build sword, reference main (01eb42), with Swift 6.4 for Android on 22 Sep 2026 03:23:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rockname/sword.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/rockname/sword
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 01eb420 Merge pull request #30 from rockname/update-readme
Cloned https://github.com/rockname/sword.git
Revision (git rev-parse @):
01eb420d4c100b4045d9319d9cddd91f0f05ad35
SUCCESS checkout https://github.com/rockname/sword.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/rockname/sword.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/davecom/SwiftGraph
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser
[1/1460] Fetching pathkit
[1461/13321] Fetching pathkit, yams
[1817/32239] Fetching pathkit, yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.79s)
[9645/13321] Fetching pathkit, yams
[9764/16622] Fetching pathkit, yams, swiftgraph
Fetching https://github.com/apple/swift-syntax.git
Fetched https://github.com/kylef/PathKit.git (1.06s)
Fetched https://github.com/jpsim/Yams.git (1.07s)
[1/79999] Fetching swift-syntax
Fetched https://github.com/davecom/SwiftGraph (4.45s)
Fetched https://github.com/apple/swift-syntax.git (3.47s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (5.54s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git (0.94s)
Computing version for https://github.com/davecom/SwiftGraph
Computed https://github.com/davecom/SwiftGraph at 3.1.0 (2.00s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (0.30s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.18s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.19s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.19s)
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
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/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/davecom/SwiftGraph
Working copy of https://github.com/davecom/SwiftGraph resolved at 3.1.0
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 650]
[Planning deferred tasks]
[14 / 275]
[146 / 294] SwiftSyntax600
[164 / 294] SwiftSyntax600
[166 / 294] SwordFoundation
[168 / 294] SwordFoundation
[178 / 295] SwiftSyntax
[182 / 297]
[189 / 307] SwiftSyntax510
[191 / 307] SwiftSyntax510
[192 / 307] SwordFoundation
[195 / 308] SwordFoundation
[196 / 308] SwiftSyntax
[199 / 308] SwordFoundation
[202 / 309] SwordFoundation
[202 / 309] SwiftSyntax
[215 / 331] SwiftDiagnostics
[216 / 342] SwiftSyntaxSupport
[228 / 342] SwordComponentArgument
[231 / 343] SwordComponentArgument
[232 / 343] SwiftDiagnostics
[237 / 344] SwiftSyntaxSupport
[240 / 344] SwiftSyntaxSupport
[247 / 344] SwiftParser
[248 / 344] SwiftParser
[254 / 344] SwiftParser
[256 / 344] SwiftParser
[257 / 344] SwiftDiagnostics
[258 / 344] SwiftDiagnostics
[259 / 344] SwiftDiagnostics
[260 / 344] SwiftOperators
[261 / 344] SwiftOperators
[263 / 344] SwiftDiagnostics
[265 / 344] SwiftBasicFormat
[266 / 344] SwiftBasicFormat
[267 / 345] SwiftDiagnostics
[269 / 345] SwiftDiagnostics
[270 / 345] SwiftBasicFormat
[271 / 345] SwiftParserDiagnostics
[274 / 355] SwiftParserDiagnostics
[274 / 355] SwiftBasicFormat
[277 / 356] SwiftParserDiagnostics
[279 / 357] SwiftParserDiagnostics
[283 / 357] SwiftParserDiagnostics
[284 / 357] SwiftSyntaxBuilder
[285 / 357] SwiftSyntaxBuilder
[287 / 357] SwiftParser
[289 / 357] SwiftParser
[293 / 368] SwiftOperators
[295 / 377] SwiftOperators
[296 / 377] SwiftSyntaxBuilder
[297 / 377] SwiftSyntaxBuilder
[303 / 377] SwiftSyntaxBuilder
[306 / 378] SwiftOperators
[310 / 378] SwiftSyntaxMacros
[311 / 378] SwiftSyntaxMacros
[314 / 378] SwiftOperators
[314 / 378] SwiftSyntaxBuilder
[317 / 378] SwiftOperators
[318 / 378] SwiftOperators
[319 / 378] SwiftOperators
[322 / 378] SwiftOperators
[322 / 378]
[326 / 388] SwiftSyntaxMacros
[327 / 388] SwiftSyntaxMacros
[331 / 388] SwiftSyntaxMacros
[338 / 390] SwiftSyntaxBuilder
[342 / 391] SwiftSyntaxMacroExpansion
[347 / 400] SwiftSyntaxMacroExpansion
[348 / 401] SwiftSyntaxMacros
[349 / 401] SwiftSyntaxMacros
[350 / 401] SwiftSyntaxMacroExpansion
[355 / 401] SwiftSyntaxMacroExpansion
[362 / 411] SwiftCompilerPluginMessageHandling
[364 / 411] SwiftCompilerPluginMessageHandling
[365 / 411] SwiftCompilerPluginMessageHandling
[366 / 411] SwiftCompilerPluginMessageHandling
[368 / 411] SwiftCompilerPluginMessageHandling
[374 / 412] SwiftSyntaxMacroExpansion
[378 / 415] SwiftCompilerPlugin
[383 / 415] SwiftCompilerPlugin
[385 / 416] SwiftCompilerPluginMessageHandling
[387 / 417] SwiftSyntax
[390 / 418] SwiftSyntax
[398 / 418] SwiftSyntaxBuilder
[400 / 418] SwiftSyntaxMacroExpansion
[401 / 418] SwiftCompilerPluginMessageHandling
[407 / 419] SwordMacros
[416 / 428] SwordMacros
[417 / 428] SwordMacros
[421 / 429] SwordMacros
[431 / 439] Sword
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/Sword/InstanceStore.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile InstanceStore.swift
/host/spi-builder-workspace/Sources/Sword/InstanceStore.swift:8:40: [1;31merror: [1;39mcannot find 'NSMapTable' in scope[0;0m
[0;36m6 |[0;0m
[0;36m7 |[0;0m private var singleInstances = [String: AnyObject]()
[0;36m8 |[0;0m private var weakReferenceInstances = [4;39mNSMapTable[0;0m<NSString, AnyObject>(
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'NSMapTable' in scope[0;0m
[0;36m9 |[0;0m keyOptions: .copyIn,
[0;36m10 |[0;0m valueOptions: .weakMemory
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/Sword/Assisted.swift /host/spi-builder-workspace/Sources/Sword/Component.swift /host/spi-builder-workspace/Sources/Sword/Dependency.swift /host/spi-builder-workspace/Sources/Sword/Injected.swift -primary-file /host/spi-builder-workspace/Sources/Sword/InstanceStore.swift /host/spi-builder-workspace/Sources/Sword/Module.swift /host/spi-builder-workspace/Sources/Sword/Provider.swift /host/spi-builder-workspace/Sources/Sword/Subcomponent.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-android-aarch64/Sword-t.build/Objects-normal/aarch64/InstanceStore.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-android-aarch64/Sword-t.build/Objects-normal/aarch64/InstanceStore.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-android-aarch64/Sword-t.build/Objects-normal/aarch64/InstanceStore.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-android-aarch64/Sword-t.build/Objects-normal/aarch64/InstanceStore.dia -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -load-plugin-executable /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/SwordMacros\#SwordMacros -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-android-aarch64/Sword-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-android-aarch64/Sword-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-android-aarch64/Sword-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Sword -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-android-aarch64/Sword-t.build/Objects-normal/aarch64/Sword_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-android-aarch64/Sword-t.build/Objects-normal/aarch64/InstanceStore.o -index-unit-output-path /sword.build/Debug-android-aarch64/Sword-t.build/Objects-normal/aarch64/InstanceStore.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/Sword/InstanceStore.swift:8:40: [1;31merror: [1;39mcannot find 'NSMapTable' in scope[0;0m
[0;36m6 |[0;0m
[0;36m7 |[0;0m private var singleInstances = [String: AnyObject]()
[0;36m8 |[0;0m private var weakReferenceInstances = [4;39mNSMapTable[0;0m<NSString, AnyObject>(
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'NSMapTable' in scope[0;0m
[0;36m9 |[0;0m keyOptions: .copyIn,
[0;36m10 |[0;0m valueOptions: .weakMemory
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/Sword/Assisted.swift /host/spi-builder-workspace/Sources/Sword/Component.swift /host/spi-builder-workspace/Sources/Sword/Dependency.swift /host/spi-builder-workspace/Sources/Sword/Injected.swift /host/spi-builder-workspace/Sources/Sword/InstanceStore.swift /host/spi-builder-workspace/Sources/Sword/Module.swift /host/spi-builder-workspace/Sources/Sword/Provider.swift /host/spi-builder-workspace/Sources/Sword/Subcomponent.swift -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -load-plugin-executable /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/SwordMacros\#SwordMacros -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-android-aarch64/Sword-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-android-aarch64/Sword-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-android-aarch64/Sword-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Sword -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-android-aarch64/Sword-t.build/Objects-normal/aarch64/Sword_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-android-aarch64/Sword-t.build/Objects-normal/aarch64/Modules/Sword.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-android-aarch64/Sword-t.build/Objects-normal/aarch64/Modules/Sword.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-android-aarch64/Sword-t.build/Objects-normal/aarch64/Sword-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-android-aarch64/Sword-t.build/Objects-normal/aarch64/Sword-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-android-aarch64/Sword-t.build/Objects-normal/aarch64/Sword-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-android-aarch64/Sword-t.build/Objects-normal/aarch64/Modules/Sword.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android