The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 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:         wasm
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-54344843-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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/jpsim/Yams.git
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/kylef/PathKit.git
[1/1460] Fetching pathkit
[688/13321] Fetching pathkit, yams
Fetched https://github.com/kylef/PathKit.git (0.49s)
[712/11861] Fetching yams
[2730/30779] Fetching yams, swift-argument-parser
[28527/34080] Fetching yams, swift-argument-parser, swiftgraph
[31672/114079] Fetching yams, swift-argument-parser, swiftgraph, swift-syntax
Fetched https://github.com/davecom/SwiftGraph (2.84s)
Fetched https://github.com/apple/swift-argument-parser (2.84s)
Fetched https://github.com/jpsim/Yams.git (2.86s)
Fetched https://github.com/apple/swift-syntax.git (2.86s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (3.94s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git (0.92s)
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.29s)
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.18s)
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/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/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/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/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
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 650]
[Planning deferred tasks]
[15 / 273] _SwiftSyntaxCShims
[144 / 292] _SwiftSyntaxCShims
[163 / 292] SwiftSyntax600
[164 / 292] SwordFoundation
[174 / 292] SwiftSyntax509
[185 / 296] SwordFoundation
[190 / 305] SwiftSyntax
[193 / 306] SwordFoundation
[197 / 307] SwordFoundation
[200 / 307] SwiftSyntax
[216 / 340] SwiftSyntaxSupport
[232 / 340] SwiftSyntaxSupport
[236 / 342] SwordComponentArgument
[236 / 342] SwiftParser
[245 / 342] SwiftSyntaxSupport
[253 / 342] SwiftParser
[254 / 342] SwiftParser
[256 / 342] SwiftDiagnostics
[257 / 342] SwiftDiagnostics
[258 / 342] SwiftDiagnostics
[259 / 342] SwiftDiagnostics
[264 / 342] SwiftBasicFormat
[265 / 343] SwiftParser
[267 / 343] SwiftParserDiagnostics
[272 / 346] SwiftOperators
[276 / 364] SwiftOperators
[277 / 364] SwiftParserDiagnostics
[280 / 365] SwiftParserDiagnostics
[282 / 365] SwiftParserDiagnostics
[292 / 365] SwiftSyntaxBuilder
[293 / 365] SwiftSyntaxBuilder
[295 / 365] SwiftOperators
[296 / 365] SwiftOperators
[297 / 365] SwiftOperators
[299 / 365] SwiftOperators
[300 / 365] SwiftOperators
[302 / 365]
[307 / 375] SwiftSyntaxBuilder
[308 / 375] SwiftSyntaxBuilder
[309 / 376] SwiftSyntaxBuilder
[310 / 376] SwiftSyntaxBuilder
[316 / 376] SwiftSyntaxBuilder
[319 / 377] SwiftSyntaxMacros
[326 / 387] SwiftSyntaxMacros
[327 / 387] SwiftSyntaxMacros
[330 / 387] SwiftSyntaxMacros
[335 / 387] SwiftSyntaxMacros-product
[341 / 397] SwiftSyntaxMacroExpansion
[343 / 398] SwiftSyntaxMacroExpansion
[346 / 399] SwiftSyntaxMacroExpansion
[351 / 399] SwiftSyntaxMacroExpansion
[359 / 409] SwiftCompilerPluginMessageHandling
[362 / 409] SwiftCompilerPluginMessageHandling
[363 / 409] SwiftCompilerPluginMessageHandling
[373 / 410] SwiftSyntaxMacroExpansion
[377 / 413] SwiftCompilerPlugin
[383 / 414] SwiftSyntax
[383 / 414] SwiftCompilerPluginMessageHandling
[385 / 415] SwiftSyntax
[388 / 416] SwiftSyntax
[397 / 416] SwiftSyntaxMacros
[405 / 417] SwordMacros
[414 / 426] SwordMacros
[415 / 426] SwordMacros
[418 / 427] SwordMacros
[419 / 427] SwordMacros
[429 / 437] Sword
error: SwiftCompile normal wasm32 /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:
/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-webassembly-wasm32/Sword-t.build/Objects-normal/wasm32/InstanceStore.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-webassembly-wasm32/Sword-t.build/Objects-normal/wasm32/InstanceStore.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-webassembly-wasm32/Sword-t.build/Objects-normal/wasm32/InstanceStore.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-webassembly-wasm32/Sword-t.build/Objects-normal/wasm32/InstanceStore.dia -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -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 /usr/lib/swift/host/plugins/testing\#/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_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -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-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-webassembly-wasm32/Sword-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-webassembly-wasm32/Sword-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-webassembly-wasm32/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-webassembly-wasm32/Sword-t.build/Objects-normal/wasm32/Sword_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-webassembly-wasm32/Sword-t.build/Objects-normal/wasm32/InstanceStore.o -index-unit-output-path /sword.build/Debug-webassembly-wasm32/Sword-t.build/Objects-normal/wasm32/InstanceStore.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm