Build Information
Failed to build sword, reference 0.5.0 (01eb42), with Swift 6.3 for Wasm on 16 Apr 2026 01:01:47 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.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.3
Building package at path: $PWD
https://github.com/rockname/sword.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/davecom/SwiftGraph
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-syntax.git
[1/1452] Fetching pathkit
[321/4753] Fetching pathkit, swiftgraph
[2015/22276] Fetching pathkit, swiftgraph, swift-argument-parser
[5004/33827] Fetching pathkit, swiftgraph, swift-argument-parser, yams
Fetched https://github.com/kylef/PathKit.git from cache (0.40s)
[4692/32375] Fetching swiftgraph, swift-argument-parser, yams
[24291/107361] Fetching swiftgraph, swift-argument-parser, yams, swift-syntax
Fetched https://github.com/davecom/SwiftGraph from cache (7.03s)
Fetched https://github.com/apple/swift-argument-parser from cache (7.03s)
Fetched https://github.com/jpsim/Yams.git from cache (7.08s)
Fetched https://github.com/apple/swift-syntax.git from cache (7.08s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (9.53s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.24s)
Computing version for https://github.com/davecom/SwiftGraph
Computed https://github.com/davecom/SwiftGraph at 3.1.0 (2.83s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (0.62s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.40s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.42s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.40s)
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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.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/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.7.1
/host/spi-builder-workspace/Plugins/SwordBuildToolPlugin/SwordBuildToolPlugin.swift:11:28: warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
9 |
10 | let inputDirectories = dependencies.compactMap { dependency in
11 | dependency.directory.string.replacingOccurrences(
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
12 | of: context.package.directoryURL.path(),
13 | with: ""
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1/1] Compiling plugin SwordBuildToolPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/113] Write sources
[14/113] Compiling _SwiftSyntaxCShims dummy.c
[17/113] Write sources
[29/113] Compiling _SwiftSyntaxCShims dummy.c
[30/113] Write sources
[35/113] Compiling writer.c
[36/113] Write sources
[37/113] Compiling reader.c
[38/113] Write sources
[43/113] Compiling parser.c
[44/113] Write sources
[51/113] Compiling api.c
[52/113] Compiling reader.c
[52/113] Compiling writer.c
[54/113] Write sources
[56/113] Compiling emitter.c
[57/113] Write swift-version-24593BA9C3E375BF.txt
[58/113] Compiling scanner.c
[59/113] Compiling api.c
[60/117] Compiling parser.c
[61/147] Compiling emitter.c
[62/149] Compiling scanner.c
[64/149] Emitting module SwiftSyntax510
[65/151] Emitting module Yams
[66/153] Emitting module SwiftSyntax509
[67/153] Compiling SwiftSyntax509 Empty.swift
[68/154] Emitting module SwiftSyntax510
[69/154] Compiling SwiftSyntax510 Empty.swift
[70/154] Compiling SwiftSyntax600 Empty.swift
[71/154] Emitting module SwiftSyntax600
[72/156] Compiling SwordFoundation Scope.swift
[76/194] Emitting module SwiftSyntax600
[77/194] Compiling SwiftSyntax600 Empty.swift
[78/195] Compiling SwiftSyntax509 Empty.swift
[79/195] Emitting module SwiftSyntax509
[80/196] Compiling SwiftSyntax510 Empty.swift
[84/341] Compiling SwiftSyntax Utils.swift
[85/341] Compiling SwiftSyntax ChildNameForKeyPath.swift
[86/341] Compiling SwiftSyntax Keyword.swift
[87/341] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[88/341] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[89/341] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[90/341] Compiling SwiftSyntax SyntaxBaseNodes.swift
[91/341] Compiling SwiftSyntax SyntaxCollections.swift
[92/341] Compiling SwiftSyntax SyntaxEnum.swift
[93/349] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[94/349] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[95/349] Compiling SwordFoundation Type.swift
[96/349] Compiling SwiftSyntax SyntaxIdentifier.swift
[97/349] Compiling SwiftSyntax RawSyntaxNodesD.swift
[101/349] Emitting module SwordFoundation
[102/349] Compiling SwordFoundation Key.swift
[107/350] Compiling SwiftSyntax SyntaxChildren.swift
[108/350] Compiling SwiftSyntax SyntaxCollection.swift
[109/350] Compiling SwiftSyntax SyntaxHashable.swift
[111/352] Compiling SwiftSyntax SourcePresence.swift
[112/352] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[113/352] Compiling SwiftSyntax RawSyntax.swift
[114/352] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[115/352] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[118/352] Compiling SwordFoundation Type.swift
[119/352] Compiling SwordFoundation Scope.swift
[120/352] Emitting module SwordFoundation
[121/352] Compiling SwordFoundation Key.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[131/360] Emitting module SwiftGraph
[134/362] Compiling SwiftGraph WeightedEdge.swift
[137/362] Emitting module SwiftGraph
[139/364] Compiling Yams YamlError.swift
[140/364] Compiling Yams YamlTagProviding.swift
[141/364] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[142/364] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[143/364] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[144/364] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[145/364] Compiling SwiftSyntax RawSyntaxValidation.swift
[146/364] Compiling SwiftSyntax SyntaxNodesAB.swift
[147/364] Emitting module Yams
[184/364] Compiling SwiftGraph WeightedEdge.swift
[185/364] Compiling SwiftGraph WeightedGraph.swift
[189/368] Wrapping AST for Yams for debugging
[191/368] Emitting module ArgumentParserToolInfo
[192/368] Compiling ArgumentParserToolInfo ToolInfo.swift
[192/369] Wrapping AST for SwordFoundation for debugging
[203/369] Wrapping AST for SwiftSyntax600 for debugging
[204/369] Wrapping AST for SwiftSyntax510 for debugging
[205/370] Wrapping AST for SwiftSyntax509 for debugging
[206/370] Wrapping AST for SwiftGraph for debugging
[207/370] Wrapping AST for ArgumentParserToolInfo for debugging
[209/370] Compiling SwiftSyntax SyntaxKind.swift
[210/370] Compiling SwiftSyntax SyntaxRewriter.swift
[211/370] Compiling SwiftSyntax SyntaxTraits.swift
[212/370] Compiling SwiftSyntax SyntaxVisitor.swift
[213/370] Compiling SwiftSyntax TokenKind.swift
[214/370] Compiling SwiftSyntax Tokens.swift
[215/370] Compiling SwiftSyntax TriviaPieces.swift
[216/370] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[217/370] Compiling SwiftSyntax RawSyntaxNodesC.swift
[218/370] Compiling SwiftSyntax AbsolutePosition.swift
[219/370] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[220/370] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[221/370] Compiling SwiftSyntax Assert.swift
[222/370] Compiling SwiftSyntax BumpPtrAllocator.swift
[223/370] Compiling SwiftSyntax CommonAncestor.swift
[224/370] Compiling SwiftSyntax Convenience.swift
[225/370] Compiling SwiftSyntax CustomTraits.swift
[226/370] Compiling SwiftSyntax Identifier.swift
[227/370] Compiling SwiftSyntax MemoryLayout.swift
[228/370] Compiling SwiftSyntax MissingNodeInitializers.swift
[229/370] Compiling SwiftSyntax RawSyntax.swift
[230/370] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[231/370] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[232/370] Compiling SwiftSyntax RawSyntaxTokenView.swift
[233/370] Compiling SwiftSyntax SourceEdit.swift
[234/370] Compiling SwiftSyntax SourceLength.swift
[235/370] Compiling SwiftSyntax SourceLocation.swift
[235/370] Wrapping AST for SwordFoundation for debugging
[236/423] Wrapping AST for SwiftSyntax600 for debugging
[237/423] Wrapping AST for SwiftSyntax510 for debugging
[238/423] Wrapping AST for SwiftSyntax509 for debugging
[239/423] Wrapping AST for SwiftGraph for debugging
[241/423] Compiling ArgumentParser Mutex.swift
[242/423] Compiling ArgumentParser Platform.swift
[243/423] Compiling ArgumentParser SequenceExtensions.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[244/423] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
6 | let system_glob = Glibc.glob
7 | #else
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | let system_glob = Darwin.glob
[245/423] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.3 wasm