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 main (01eb42), with Swift 6.1 for Wasm on 30 May 2025 18:01:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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: 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:         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-1":/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/apple/swift-argument-parser
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/davecom/SwiftGraph
Fetching https://github.com/jpsim/Yams.git
[1/3193] Fetching swiftgraph
[417/4604] Fetching swiftgraph, pathkit
[700/15261] Fetching swiftgraph, pathkit, yams
[11213/85783] Fetching swiftgraph, pathkit, yams, swift-syntax
[13649/101169] Fetching swiftgraph, pathkit, yams, swift-syntax, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (2.34s)
Fetched https://github.com/kylef/PathKit.git from cache (2.35s)
[38533/84372] Fetching swiftgraph, yams, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (2.44s)
[29992/73715] Fetching swiftgraph, swift-syntax
Fetched https://github.com/davecom/SwiftGraph from cache (7.87s)
Fetched https://github.com/apple/swift-syntax.git from cache (7.94s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (11.36s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.42s)
Computing version for https://github.com/davecom/SwiftGraph
Computed https://github.com/davecom/SwiftGraph at 3.1.0 (3.98s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (1.26s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.95s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (5.30s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.97s)
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/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-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 600.0.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.5.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
[34/112] Compiling _SwiftSyntaxCShims dummy.c
[34/112] Write sources
[36/112] Compiling writer.c
[37/112] Write sources
[48/112] Compiling reader.c
[49/112] Compiling _SwiftSyntaxCShims dummy.c
[50/112] Compiling writer.c
[51/112] Compiling reader.c
[52/112] Compiling parser.c
[53/112] Compiling api.c
[54/112] Write sources
[55/112] Compiling emitter.c
[56/112] Compiling scanner.c
[57/112] Compiling parser.c
[58/112] Write swift-version-24593BA9C3E375BF.txt
[59/112] Compiling api.c
[60/112] Compiling scanner.c
[61/121] Compiling emitter.c
[63/148] Emitting module SwiftSyntax510
[65/150] Compiling SwiftSyntax510 Empty.swift
[66/151] Emitting module SwiftSyntax600
[67/151] Compiling SwiftSyntax600 Empty.swift
[70/174] Compiling SwiftSyntax510 Empty.swift
[71/175] Compiling SwiftSyntax600 Empty.swift
[72/175] Emitting module SwiftSyntax600
[73/175] Compiling SwordFoundation Scope.swift
[74/176] Emitting module SwiftSyntax509
[75/176] Compiling SwiftSyntax509 Empty.swift
[77/177] Emitting module SwiftSyntax509
[82/178] Emitting module Yams
[83/278] Compiling SwordFoundation Scope.swift
[84/278] Compiling SwordFoundation Type.swift
[85/278] Emitting module SwordFoundation
[86/278] Compiling SwordFoundation Key.swift
[88/287] Compiling SwiftSyntax Identifier.swift
[89/287] Compiling SwiftSyntax SourcePresence.swift
[90/345] Compiling SwiftSyntax Convenience.swift
[91/345] Compiling SwiftSyntax CustomTraits.swift
[92/345] Compiling SwiftSyntax RawSyntax.swift
[93/345] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[94/345] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[95/347] Compiling SwiftSyntax RawSyntaxTokenView.swift
[96/347] Compiling SwiftSyntax SourceEdit.swift
[97/347] Compiling SwiftSyntax Identifier.swift
[98/347] Compiling SwiftSyntax SourcePresence.swift
[99/347] Compiling Yams YamlError.swift
[100/347] Compiling Yams YamlTagProviding.swift
[101/347] Compiling SwordFoundation Key.swift
[102/347] Emitting module SwordFoundation
[103/347] Compiling SwordFoundation Type.swift
[104/348] Emitting module SwiftGraph
[106/348] Compiling SwiftSyntax MemoryLayout.swift
[107/348] Compiling SwiftSyntax MissingNodeInitializers.swift
[109/348] Compiling SwiftGraph WeightedEdge.swift
[110/348] Compiling SwiftGraph WeightedGraph.swift
[112/348] Compiling SwiftSyntax SourceLength.swift
[113/348] Compiling SwiftSyntax SourceLocation.swift
[114/348] Compiling SwiftSyntax Assert.swift
[115/348] Compiling SwiftSyntax BumpPtrAllocator.swift
[116/348] Compiling SwiftSyntax CommonAncestor.swift
[119/348] Compiling SwiftSyntax AbsolutePosition.swift
[120/348] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[128/348] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[134/351] Emitting module Yams
/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.
[149/354] Emitting module SwiftGraph
[165/358] Compiling SwiftGraph WeightedEdge.swift
[166/358] Compiling SwiftGraph WeightedGraph.swift
[185/367] Emitting module PathKit
[186/367] Compiling PathKit PathKit.swift
[189/368] Emitting module ArgumentParserToolInfo
[190/368] Compiling ArgumentParserToolInfo ToolInfo.swift
[190/369] Wrapping AST for SwordFoundation for debugging
[191/369] Wrapping AST for Yams for debugging
[193/369] Emitting module ArgumentParserToolInfo
[194/369] Compiling ArgumentParserToolInfo ToolInfo.swift
[195/370] Wrapping AST for SwiftSyntax600 for debugging
[202/370] Wrapping AST for SwiftSyntax509 for debugging
[202/370] Wrapping AST for SwiftSyntax510 for debugging
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/109] Compiling SwiftSyntax600 Empty.swift
[5/109] Emitting module SwiftSyntax600
[6/109] Compiling SwiftSyntax600 Empty.swift
[7/110] Compiling SwiftSyntax510 Empty.swift
[8/110] Emitting module SwiftSyntax600
[9/111] Compiling SwiftSyntax510 Empty.swift
[10/111] Emitting module SwiftSyntax510
[12/113] Emitting module SwordFoundation
[18/112] Compiling SwordFoundation Scope.swift
[19/112] Compiling SwordFoundation Type.swift
[20/112] Compiling SwordFoundation Scope.swift
[21/112] Compiling SwordFoundation Type.swift
[22/112] Compiling SwordFoundation Key.swift
[26/134] Compiling Yams Tag.swift
[27/134] Compiling Yams YamlAnchorProviding.swift
[28/151] Compiling SwiftSyntax509 Empty.swift
[29/151] Emitting module SwiftSyntax509
[30/152] Compiling SwiftSyntax509 Empty.swift
[31/152] Emitting module SwiftSyntax509
[32/153] Compiling Yams Resolver.swift
[33/153] Compiling Yams String+Yams.swift
[37/155] Compiling SwiftGraph Stack.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.
[38/155] Compiling SwiftGraph SwiftPriorityQueue.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.
[39/155] Compiling SwiftGraph Union.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.
[43/159] Compiling SwiftGraph UnweightedEdge.swift
[44/159] Compiling SwiftGraph UnweightedGraph.swift
[45/161] Emitting module SwiftGraph
[50/163] Compiling SwiftGraph Sort.swift
[53/163] Compiling SwiftGraph Reversed.swift
[54/163] Compiling SwiftGraph Search.swift
[56/163] Compiling SwiftGraph UniqueElementsGraph.swift
[57/163] Compiling Yams YamlError.swift
[58/163] Compiling Yams YamlTagProviding.swift
[59/165] Emitting module Yams
[60/165] Compiling SwiftGraph MST.swift
[61/165] Compiling SwiftGraph Queue.swift
[62/165] Compiling SwiftGraph Edge.swift
[63/165] Compiling SwiftGraph Graph.swift
[64/165] Compiling SwiftGraph Constructors.swift
[65/165] Compiling SwiftGraph Cycle.swift
[72/177] Compiling SwiftSyntax SourcePresence.swift
[73/177] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[74/177] Compiling SwiftSyntax Syntax.swift
[75/186] Compiling SwiftSyntax SyntaxArena.swift
[76/186] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[77/210] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[78/210] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[79/229] Emitting module Yams
[80/229] Compiling SwiftSyntax Utils.swift
[81/229] Compiling SwiftSyntax ChildNameForKeyPath.swift
[82/229] Compiling SwiftSyntax Keyword.swift
[83/229] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[84/229] Compiling SwiftSyntax SyntaxCollection.swift
[85/229] Compiling SwiftSyntax SyntaxHashable.swift
[86/229] Compiling SwiftSyntax SyntaxIdentifier.swift
[87/229] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[88/229] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[91/229] Compiling SwiftSyntax SyntaxChildren.swift
[93/229] Compiling SwiftSyntax SyntaxBaseNodes.swift
[94/229] Compiling SwiftSyntax SyntaxCollections.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[98/231] 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
[99/231] 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
[100/231] Compiling ArgumentParserToolInfo ToolInfo.swift
[101/231] Emitting module ArgumentParserToolInfo
[102/231] Emitting module PathKit
BUILD FAILURE 6.1 wasm