The Swift Package Index logo.Swift Package Index

Build Information

Failed to build sword, reference 0.5.0 (01eb42), with Swift 6.4 for Android on 22 Sep 2026 03:23:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rockname/sword.git
Reference: 0.5.0
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
 * tag               0.5.0      -> FETCH_HEAD
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 0.5.0
========================================
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-53886769-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/apple/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/kylef/PathKit.git
[1/1460] Fetching pathkit
Fetched https://github.com/kylef/PathKit.git (0.46s)
[1/11861] Fetching yams
[5695/30779] Fetching yams, swift-argument-parser
[28408/34080] Fetching yams, swift-argument-parser, swiftgraph
Fetched https://github.com/apple/swift-argument-parser (0.84s)
[10130/15162] Fetching yams, swiftgraph
[15163/95161] Fetching yams, swiftgraph, swift-syntax
Fetched https://github.com/davecom/SwiftGraph (1.05s)
[12661/91860] Fetching yams, swift-syntax
Fetched https://github.com/jpsim/Yams.git (1.07s)
[2400/79999] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git (3.26s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (4.55s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git (0.91s)
Computing version for https://github.com/davecom/SwiftGraph
Computed https://github.com/davecom/SwiftGraph at 3.1.0 (1.96s)
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.17s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.17s)
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/davecom/SwiftGraph
Working copy of https://github.com/davecom/SwiftGraph resolved at 3.1.0
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.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/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 600.0.1
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 650]
[Planning deferred tasks]
[138 / 280] SwiftSyntax510
[160 / 294] SwordFoundation
[170 / 294] SwordFoundation
[171 / 294] SwiftSyntax510
[179 / 296] SwiftSyntax509
[184 / 297]
[190 / 307] SwiftSyntax600
[191 / 307] SwiftSyntax
[193 / 307] SwiftSyntax
[195 / 308] SwordFoundation
[197 / 308] SwordFoundation
[198 / 308] SwordFoundation
[202 / 309] SwordFoundation
[202 / 309] SwiftSyntax
[214 / 319] SwiftDiagnostics
[217 / 342] SwiftParser
[218 / 342] SwiftSyntaxSupport
[228 / 342] SwordComponentArgument
[231 / 342] SwiftDiagnostics
[232 / 343] SwiftDiagnostics
[238 / 344] SwiftParser
[243 / 344] SwiftBasicFormat
[254 / 344] SwiftParser
[255 / 344] SwiftParser
[256 / 344] SwiftParser
[257 / 344] SwiftDiagnostics
[258 / 344] SwiftOperators
[259 / 344] SwiftOperators
[260 / 344] SwiftDiagnostics
[262 / 344] SwiftDiagnostics
[265 / 344] SwiftBasicFormat
[267 / 344] SwiftBasicFormat
[268 / 345] SwiftDiagnostics
[270 / 345] SwiftParserDiagnostics
[274 / 355] SwiftParserDiagnostics
[275 / 355] SwiftParserDiagnostics
[276 / 356] SwiftParserDiagnostics
[277 / 357] SwiftParserDiagnostics
[278 / 357] SwiftParserDiagnostics
[280 / 357] SwiftParserDiagnostics
[284 / 357] SwiftParserDiagnostics
[285 / 357] SwiftSyntaxBuilder
[286 / 357] SwiftSyntaxBuilder
[288 / 357] SwiftBasicFormat
[291 / 358]
[293 / 368] SwiftSyntaxBuilder
[295 / 377] SwiftSyntaxBuilder
[295 / 377] SwiftParserDiagnostics
[298 / 377] SwiftOperators
[303 / 377] SwiftOperators
[304 / 377] SwiftSyntaxBuilder
[305 / 378] SwiftSyntaxBuilder
[306 / 378] SwiftSyntaxBuilder
[307 / 378] SwiftSyntaxBuilder
[313 / 378] SwiftSyntaxBuilder
[315 / 378] SwiftSyntaxMacros
[318 / 378] SwiftOperators
[320 / 378] SwiftOperators
[321 / 378] SwiftOperators
[322 / 379] SwiftSyntaxMacros
[324 / 388] SwiftOperators
[326 / 388] SwiftSyntaxMacros
[329 / 389] SwiftSyntaxMacros
[337 / 389] SwiftSyntaxMacros
[339 / 390] SwiftSyntaxMacroExpansion
[342 / 399] SwiftSyntaxMacros
[344 / 399] SwiftSyntaxMacroExpansion
[345 / 400] SwiftSyntaxMacros
[347 / 401] SwiftSyntaxMacros
[349 / 401] SwiftSyntaxMacros
[351 / 401] SwiftSyntaxMacroExpansion
[356 / 401] SwiftSyntaxMacroExpansion
[359 / 402] SwiftCompilerPluginMessageHandling
[362 / 411] SwiftCompilerPluginMessageHandling
[363 / 411] SwiftCompilerPluginMessageHandling
[364 / 411] SwiftCompilerPluginMessageHandling
[367 / 411] SwiftCompilerPluginMessageHandling
[368 / 411] SwiftCompilerPluginMessageHandling
[373 / 411] SwiftCompilerPlugin
[376 / 414] SwiftCompilerPlugin
[381 / 414] SwiftSyntaxMacroExpansion
[383 / 416] SwiftCompilerPlugin
[385 / 416] SwiftCompilerPluginMessageHandling
[387 / 417] SwiftSyntax
[390 / 418] SwiftSyntax
[398 / 418]
[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: error: cannot find 'NSMapTable' in scope
 6 |
 7 |   private var singleInstances = [String: AnyObject]()
 8 |   private var weakReferenceInstances = NSMapTable<NSString, AnyObject>(
   |                                        `- error: cannot find 'NSMapTable' in scope
 9 |     keyOptions: .copyIn,
10 |     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: Build failed
BUILD FAILURE 6.4 android