The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build sword, reference 0.5.0 (01eb42), with Swift 6.1 for Wasm on 30 May 2025 18:02:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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.1
Building package at path:  $PWD
https://github.com/rockname/sword.git
https://github.com/rockname/sword.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "exact" : [
          "600.0.1"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.1.2",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    },
    {
      "identity" : "swiftgraph",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.1.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/davecom/SwiftGraph"
    },
    {
      "identity" : "pathkit",
      "requirement" : {
        "exact" : [
          "1.0.1"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit.git"
    }
  ],
  "manifest_display_name" : "sword",
  "name" : "sword",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "Sword",
      "targets" : [
        "Sword"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwordBuildToolPlugin",
      "targets" : [
        "SwordBuildToolPlugin"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "SwordCommand",
      "targets" : [
        "SwordCommand"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SwordMacros",
      "targets" : [
        "SwordMacros"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwordMacrosTests",
      "module_type" : "SwiftTarget",
      "name" : "SwordMacrosTests",
      "path" : "Tests/SwordMacrosTests",
      "product_dependencies" : [
        "SwiftSyntaxMacrosTestSupport"
      ],
      "sources" : [
        "ComponentMacroTests.swift",
        "SubcomponentMacroTests.swift"
      ],
      "target_dependencies" : [
        "SwordMacros",
        "SwordComponentArgument",
        "SwiftSyntaxSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwordMacros",
      "module_type" : "SwiftTarget",
      "name" : "SwordMacros",
      "path" : "Sources/SwordMacros",
      "product_dependencies" : [
        "SwiftSyntaxMacros",
        "SwiftCompilerPlugin"
      ],
      "product_memberships" : [
        "Sword",
        "SwordMacros"
      ],
      "sources" : [
        "ComponentMacro.swift",
        "DependencyMacro.swift",
        "Diagnostics/DiagnosticsError+init.swift",
        "Diagnostics/SwordDiagnostic.swift",
        "InjectedMacro.swift",
        "ModuleMacro.swift",
        "ProviderMacro.swift",
        "SubcomponentMacro.swift",
        "SwordMacros.swift"
      ],
      "target_dependencies" : [
        "SwordComponentArgument",
        "SwiftSyntaxSupport"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "SwordGenerator",
      "module_type" : "SwiftTarget",
      "name" : "SwordGenerator",
      "path" : "Sources/SwordGenerator",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftSyntaxBuilder",
        "SwiftGraph"
      ],
      "product_memberships" : [
        "SwordBuildToolPlugin",
        "SwordCommand"
      ],
      "sources" : [
        "Descriptor/DependencyDescriptor.swift",
        "Descriptor/ModuleDescriptor.swift",
        "Descriptor/ProviderDescriptor.swift",
        "Descriptor/RootComponentDescriptor.swift",
        "Descriptor/SubcomponentDescriptor.swift",
        "Exporter/Renderer/SwordRenderer.swift",
        "Exporter/SwordExporter.swift",
        "Extension/Scope+methodName.swift",
        "Factory/BindingGraphFactory.swift",
        "Factory/ComponentTreeFactory.swift",
        "Factory/DependenciesFactory.swift",
        "Factory/Factory.swift",
        "Factory/ModulesFactory.swift",
        "Logging/Logging.swift",
        "Model/Binding.swift",
        "Model/BindingGraph.swift",
        "Model/Component.swift",
        "Model/ComponentName.swift",
        "Model/ComponentTree.swift",
        "Model/Dependency.swift",
        "Model/Import.swift",
        "Model/Initializer.swift",
        "Model/Interface.swift",
        "Model/Module.swift",
        "Model/Parameter.swift",
        "Model/Provider.swift",
        "Model/SourceFile.swift",
        "Parser/SwordParser.swift",
        "Parser/Visitor/ComponentVisitor.swift",
        "Parser/Visitor/DependencyVisitor.swift",
        "Parser/Visitor/Extension/AttributeListSyntax+attribute.swift",
        "Parser/Visitor/ImportVisitor.swift",
        "Parser/Visitor/ModuleVisitor.swift",
        "Parser/Visitor/SourceFileVisitor.swift",
        "Parser/Visitor/SubcomponentVisitor.swift",
        "Reporter/Report.swift",
        "Reporter/SwordReporter.swift",
        "SwordGenerator.swift"
      ],
      "target_dependencies" : [
        "SwordFoundation",
        "SwordComponentArgument",
        "SwiftSyntaxSupport"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwordFoundation",
      "module_type" : "SwiftTarget",
      "name" : "SwordFoundation",
      "path" : "Sources/SwordFoundation",
      "product_memberships" : [
        "Sword",
        "SwordBuildToolPlugin",
        "SwordCommand",
        "SwordMacros"
      ],
      "sources" : [
        "Key.swift",
        "Scope.swift",
        "Type.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwordComponentArgument",
      "module_type" : "SwiftTarget",
      "name" : "SwordComponentArgument",
      "path" : "Sources/SwordComponentArgument",
      "product_dependencies" : [
        "SwiftSyntax"
      ],
      "product_memberships" : [
        "Sword",
        "SwordBuildToolPlugin",
        "SwordCommand",
        "SwordMacros"
      ],
      "sources" : [
        "ComponentArgument.swift"
      ],
      "target_dependencies" : [
        "SwordFoundation"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwordCommand",
      "module_type" : "SwiftTarget",
      "name" : "SwordCommand",
      "path" : "Sources/SwordCommand",
      "product_dependencies" : [
        "PathKit",
        "SwiftSyntax",
        "SwiftParser",
        "ArgumentParser",
        "Yams"
      ],
      "product_memberships" : [
        "SwordBuildToolPlugin",
        "SwordCommand"
      ],
      "sources" : [
        "Configuration.swift",
        "String+isFile.swift",
        "SwordCommand.swift"
      ],
      "target_dependencies" : [
        "SwordGenerator"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwordBuildToolPlugin",
      "module_type" : "PluginTarget",
      "name" : "SwordBuildToolPlugin",
      "path" : "Plugins/SwordBuildToolPlugin",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "SwordBuildToolPlugin"
      ],
      "sources" : [
        "SwordBuildToolPlugin.swift"
      ],
      "target_dependencies" : [
        "SwordCommand"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "Sword",
      "module_type" : "SwiftTarget",
      "name" : "Sword",
      "path" : "Sources/Sword",
      "product_memberships" : [
        "Sword"
      ],
      "sources" : [
        "Assisted.swift",
        "Component.swift",
        "Dependency.swift",
        "Injected.swift",
        "InstanceStore.swift",
        "Module.swift",
        "Provider.swift",
        "Subcomponent.swift"
      ],
      "target_dependencies" : [
        "SwordFoundation",
        "SwordMacros"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftSyntaxSupport",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSyntaxSupport",
      "path" : "Sources/SwiftSyntaxSupport",
      "product_dependencies" : [
        "SwiftSyntax"
      ],
      "product_memberships" : [
        "Sword",
        "SwordBuildToolPlugin",
        "SwordCommand",
        "SwordMacros"
      ],
      "sources" : [
        "Extensions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/davecom/SwiftGraph
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-syntax.git
[1/3193] Fetching swiftgraph
[417/4604] Fetching swiftgraph, pathkit
[4605/15261] Fetching swiftgraph, pathkit, yams
[10254/30647] Fetching swiftgraph, pathkit, yams, swift-argument-parser
[28304/101169] Fetching swiftgraph, pathkit, yams, swift-argument-parser, swift-syntax
Fetched https://github.com/kylef/PathKit.git from cache (6.06s)
Fetched https://github.com/davecom/SwiftGraph from cache (6.06s)
Fetched https://github.com/apple/swift-argument-parser from cache (6.07s)
Fetched https://github.com/jpsim/Yams.git from cache (6.10s)
Fetched https://github.com/apple/swift-syntax.git from cache (6.11s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (8.72s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.25s)
Computing version for https://github.com/davecom/SwiftGraph
Computed https://github.com/davecom/SwiftGraph at 3.1.0 (2.92s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (0.70s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.53s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.49s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.84s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.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/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
/host/spi-builder-workspace/Plugins/SwordBuildToolPlugin/SwordBuildToolPlugin.swift:11:28: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
 9 |
10 |     let inputDirectories = dependencies.compactMap { dependency in
11 |       dependency.directory.string.replacingOccurrences(
   |                            `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
12 |         of: context.package.directoryURL.path(),
13 |         with: ""
[1/1] Compiling plugin SwordBuildToolPlugin
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/112] Write sources
[28/112] Compiling _SwiftSyntaxCShims dummy.c
[29/112] Write sources
[31/112] Compiling _SwiftSyntaxCShims dummy.c
[31/112] Write sources
[47/112] Compiling writer.c
[48/112] Compiling api.c
[49/112] Compiling reader.c
[50/112] Compiling writer.c
[51/112] Compiling parser.c
[52/112] Compiling reader.c
[52/112] Write sources
[55/112] Write swift-version-24593BA9C3E375BF.txt
[56/112] Compiling emitter.c
[57/112] Compiling scanner.c
[58/112] Compiling parser.c
[59/113] Compiling api.c
[60/140] Compiling emitter.c
[62/144] Emitting module SwiftSyntax600
[62/146] Compiling scanner.c
[64/150] Emitting module SwiftSyntax509
[65/150] Compiling SwiftSyntax600 Empty.swift
[66/151] Compiling SwiftSyntax510 Empty.swift
[67/151] Emitting module SwiftSyntax510
[70/152] Compiling SwiftSyntax510 Empty.swift
[72/153] Compiling SwiftSyntax509 Empty.swift
[73/154] Compiling Yams Tag.swift
[74/154] Compiling Yams YamlAnchorProviding.swift
[75/156] Emitting module SwiftSyntax600
[76/156] Compiling SwiftSyntax600 Empty.swift
[77/156] Emitting module Yams
[81/195] Emitting module SwiftSyntax509
[82/195] Compiling SwiftSyntax509 Empty.swift
[84/278] Compiling SwordFoundation Scope.swift
[85/278] Compiling SwordFoundation Type.swift
[86/278] Emitting module SwordFoundation
[87/278] Compiling SwordFoundation Key.swift
[89/343] Compiling SwordFoundation Scope.swift
[90/343] Compiling SwordFoundation Type.swift
[91/343] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[92/343] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[93/343] Emitting module SwordFoundation
[94/343] Compiling SwordFoundation Key.swift
[95/344] Compiling SwiftSyntax SourcePresence.swift
[96/344] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[97/344] Compiling SwiftSyntax Syntax.swift
[98/344] Compiling SwiftSyntax SourceLocation.swift
[99/344] Compiling SwiftSyntax AbsolutePosition.swift
[101/344] Compiling SwiftSyntax SyntaxCollection.swift
[102/344] Compiling SwiftSyntax SyntaxHashable.swift
[103/344] Compiling SwiftSyntax SyntaxIdentifier.swift
[104/344] Compiling SwiftSyntax MemoryLayout.swift
[105/344] Compiling SwiftSyntax MissingNodeInitializers.swift
[106/344] Compiling SwiftSyntax RawSyntax.swift
[107/344] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[108/344] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[109/344] Compiling SwiftSyntax RawSyntaxTokenView.swift
[110/344] Compiling SwiftSyntax SyntaxChildren.swift
[112/346] Compiling SwiftSyntax SyntaxArena.swift
[113/346] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[127/351] Emitting module SwiftGraph
[130/353] Compiling SwiftGraph WeightedEdge.swift
[131/353] Compiling SwiftGraph WeightedGraph.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.
[139/355] Emitting module SwiftGraph
[140/355] Emitting module ArgumentParserToolInfo
[158/355] Compiling SwiftGraph WeightedEdge.swift
[159/355] Compiling SwiftGraph WeightedGraph.swift
[163/356] Compiling Yams YamlError.swift
[164/356] Compiling Yams YamlTagProviding.swift
[165/358] Compiling ArgumentParserToolInfo ToolInfo.swift
[168/360] Emitting module PathKit
[169/360] Compiling PathKit PathKit.swift
[172/361] Wrapping AST for Yams for debugging
[173/361] Wrapping AST for SwordFoundation for debugging
[174/361] Wrapping AST for SwiftSyntax600 for debugging
[175/399] Wrapping AST for SwiftSyntax510 for debugging
[176/399] Wrapping AST for SwiftSyntax509 for debugging
[177/399] Wrapping AST for SwiftGraph for debugging
[178/399] Wrapping AST for PathKit for debugging
[179/399] Wrapping AST for ArgumentParserToolInfo for debugging
[180/399] Wrapping AST for SwordFoundation for debugging
[181/399] Wrapping AST for SwiftSyntax510 for debugging
[182/399] Wrapping AST for SwiftSyntax600 for debugging
[183/399] Wrapping AST for SwiftGraph for debugging
[184/399] Wrapping AST for SwiftSyntax509 for debugging
[186/399] Emitting module Yams
[187/399] Compiling ArgumentParser ZshCompletionsGenerator.swift
[188/399] Compiling ArgumentParser Argument.swift
[189/399] Compiling ArgumentParser ArgumentHelp.swift
[190/399] Compiling ArgumentParser BashCompletionsGenerator.swift
[191/399] Compiling ArgumentParser CompletionsGenerator.swift
[192/399] Compiling ArgumentParser FishCompletionsGenerator.swift
[193/399] Compiling ArgumentParserToolInfo ToolInfo.swift
[194/399] Emitting module ArgumentParserToolInfo
error: emit-module command failed with exit code 1 (use -v to see invocation)
[196/400] 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
[197/400] Compiling PathKit PathKit.swift
/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
[198/400] Emitting module ArgumentParser
[199/405] Compiling ArgumentParser OptionGroup.swift
[200/405] Compiling ArgumentParser AsyncParsableCommand.swift
[201/405] Compiling ArgumentParser CommandConfiguration.swift
[202/405] Compiling ArgumentParser CommandGroup.swift
[203/405] Compiling ArgumentParser EnumerableFlag.swift
[210/405] Compiling ArgumentParser ArgumentVisibility.swift
[211/405] Compiling ArgumentParser CompletionKind.swift
[212/405] Compiling ArgumentParser Errors.swift
[213/405] Compiling ArgumentParser Flag.swift
[214/405] Compiling ArgumentParser NameSpecification.swift
[215/405] Compiling ArgumentParser Option.swift
[216/405] Compiling ArgumentParser ExpressibleByArgument.swift
[217/405] Compiling ArgumentParser ParsableArguments.swift
[218/405] Compiling ArgumentParser ParsableArgumentsValidation.swift
[219/405] Compiling ArgumentParser ParsableCommand.swift
[220/405] Compiling ArgumentParser ArgumentDecoder.swift
[226/405] Compiling ArgumentParser ArgumentDefinition.swift
[227/405] Compiling ArgumentParser ArgumentSet.swift
[228/405] Compiling ArgumentParser CommandParser.swift
[229/405] Compiling ArgumentParser InputKey.swift
[230/405] Compiling ArgumentParser InputOrigin.swift
[231/405] Compiling ArgumentParser Name.swift
[232/405] Compiling ArgumentParser Parsed.swift
[233/405] Compiling ArgumentParser ParsedValues.swift
[234/405] Compiling ArgumentParser ParserError.swift
[235/405] Compiling ArgumentParser SplitArguments.swift
[236/405] Compiling ArgumentParser DumpHelpGenerator.swift
[237/405] Compiling ArgumentParser HelpCommand.swift
[238/405] Compiling ArgumentParser HelpGenerator.swift
[239/405] Compiling ArgumentParser MessageInfo.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
/host/spi-builder-workspace/Plugins/SwordBuildToolPlugin/SwordBuildToolPlugin.swift:11:28: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
 9 |
10 |     let inputDirectories = dependencies.compactMap { dependency in
11 |       dependency.directory.string.replacingOccurrences(
   |                            `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
12 |         of: context.package.directoryURL.path(),
13 |         with: ""
[1/1] Compiling plugin SwordBuildToolPlugin
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/53] Write swift-version-24593BA9C3E375BF.txt
[4/111] Emitting module SwiftSyntax600
[5/119] Compiling SwiftSyntax600 Empty.swift
[6/120] Compiling SwiftSyntax510 Empty.swift
[7/120] Emitting module SwiftSyntax510
[8/121] Emitting module SwiftSyntax600
[9/121] Compiling SwiftSyntax600 Empty.swift
[13/119] Compiling SwiftGraph UnweightedEdge.swift
[14/119] Compiling SwiftGraph UnweightedGraph.swift
[15/123] Emitting module SwordFoundation
[18/125] Compiling SwordFoundation Scope.swift
[19/125] Compiling SwordFoundation Key.swift
[20/125] Compiling SwordFoundation Type.swift
[21/126] Compiling SwiftGraph Union.swift
[22/126] Compiling SwiftGraph UniqueElementsGraph.swift
[23/126] Compiling SwiftGraph Constructors.swift
[24/126] Compiling SwiftGraph Cycle.swift
[25/126] Compiling SwiftGraph Edge.swift
[26/126] Emitting module SwiftGraph
[27/126] Compiling SwiftGraph Graph.swift
[28/126] Compiling SwiftGraph MST.swift
[29/126] Compiling SwordFoundation Scope.swift
[30/126] Compiling SwordFoundation Type.swift
[31/126] Compiling SwiftGraph Queue.swift
[32/126] Compiling SwiftGraph Reversed.swift
[33/128] Compiling SwiftSyntax509 Empty.swift
[34/138] Emitting module SwiftSyntax509
[35/147] Compiling Yams Parser.swift
[36/147] Compiling Yams RedundancyAliasingStrategy.swift
[37/147] Compiling Yams Representer.swift
[38/147] Compiling Yams Resolver.swift
[39/149] Emitting module SwordFoundation
[40/149] Compiling SwordFoundation Key.swift
[41/152] Compiling Yams AliasDereferencingStrategy.swift
[42/152] Compiling Yams Anchor.swift
[43/152] Compiling Yams Node.Mapping.swift
[44/152] Compiling Yams Node.Scalar.swift
[45/152] Compiling Yams Node.Sequence.swift
[46/152] Compiling Yams Node.swift
[47/152] Compiling Yams Constructor.swift
[50/152] Emitting module SwiftGraph
[56/150] Emitting module SwiftSyntax510
[57/150] Compiling SwiftSyntax510 Empty.swift
[59/150] Compiling Yams Encoder.swift
[60/150] Compiling Yams Mark.swift
[61/150] Compiling Yams Node.Alias.swift
[62/150] Compiling Yams Decoder.swift
[63/150] Compiling Yams Emitter.swift
[65/189] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[66/189] Compiling SwiftSyntax Syntax.swift
[67/219] Compiling SwiftSyntax SourceEdit.swift
[68/219] Compiling SwiftSyntax SourceLength.swift
[69/220] Compiling SwiftSyntax509 Empty.swift
[70/220] Compiling PathKit PathKit.swift
/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
[71/220] Emitting module SwiftSyntax509
[72/221] Compiling SwiftSyntax SourceLocation.swift
[73/221] Compiling SwiftSyntax SourcePresence.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[76/221] 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
[77/221] Compiling SwiftSyntax RawSyntaxLayoutView.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.
[78/221] Compiling SwiftSyntax RawSyntaxNodeProtocol.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.
[79/221] Compiling SwiftSyntax RawSyntaxTokenView.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.
[80/221] Emitting module PathKit
BUILD FAILURE 6.1 wasm