The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftGen, reference stable (f7c23b), with Swift 6.1 for Wasm on 30 Dec 2025 06:01:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tuist/SwiftGen.git
Reference: stable
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/tuist/SwiftGen
 * branch            stable     -> FETCH_HEAD
 * [new branch]      stable     -> origin/stable
HEAD is now at f7c23b6 Merge pull request #1106 from SwiftGen/release/6.6.3
Cloned https://github.com/tuist/SwiftGen.git
Revision (git rev-parse @):
f7c23b63053e5a8aab4a4dbb633b24920bbb9436
SUCCESS checkout https://github.com/tuist/SwiftGen.git at stable
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/tuist/SwiftGen.git
https://github.com/tuist/SwiftGen.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.1",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    },
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit.git"
    },
    {
      "identity" : "difference",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/krzysztofzablocki/Difference.git"
    },
    {
      "identity" : "stencil",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.15.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/stencilproject/Stencil.git"
    },
    {
      "identity" : "komondor",
      "requirement" : {
        "exact" : [
          "1.1.3"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/shibapm/Komondor.git"
    },
    {
      "identity" : "stencilswiftkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.10.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftGen/StencilSwiftKit.git"
    },
    {
      "identity" : "kanna",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.2.7",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tid-kijyun/Kanna.git"
    }
  ],
  "manifest_display_name" : "SwiftGen",
  "name" : "SwiftGen",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.11"
    }
  ],
  "products" : [
    {
      "name" : "swiftgen",
      "targets" : [
        "SwiftGen"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SwiftGenCLI",
      "targets" : [
        "SwiftGenCLI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftGenKit",
      "targets" : [
        "SwiftGenKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "TestUtils",
      "module_type" : "SwiftTarget",
      "name" : "TestUtils",
      "path" : "Sources/TestUtils",
      "product_dependencies" : [
        "Difference",
        "PathKit"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/TestUtils/Fixtures/Configs",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/TestUtils/Fixtures/Generated",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/TestUtils/Fixtures/Resources",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/TestUtils/Fixtures/StencilContexts",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Config.swift",
        "Parser.swift",
        "TestLogger.swift",
        "TestsHelper+Context.swift",
        "TestsHelper+Strings.swift",
        "TestsHelper.swift",
        "VariationGenerator.swift"
      ],
      "target_dependencies" : [
        "SwiftGenKit",
        "SwiftGenCLI"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TemplatesTests",
      "module_type" : "SwiftTarget",
      "name" : "TemplatesTests",
      "path" : "Tests/TemplatesTests",
      "product_dependencies" : [
        "StencilSwiftKit"
      ],
      "sources" : [
        "ColorsTests.swift",
        "CoreDataTests.swift",
        "FilesTests.swift",
        "FontsTests.swift",
        "InterfaceBuilderMacOSTests.swift",
        "InterfaceBuilderTests.swift",
        "InterfaceBuilderiOSTests.swift",
        "JsonTests.swift",
        "PlistTests.swift",
        "StringsTests.swift",
        "XCAssetsTests.swift",
        "YamlTests.swift"
      ],
      "target_dependencies" : [
        "SwiftGenKit",
        "TestUtils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftGenTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftGenTests",
      "path" : "Tests/SwiftGenTests",
      "sources" : [
        "ConfigGenerateFileListTests.swift",
        "ConfigInitTests.swift",
        "ConfigLintTests.swift",
        "ConfigReadTests.swift",
        "ConfigRunTests.swift"
      ],
      "target_dependencies" : [
        "SwiftGenCLI",
        "TestUtils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftGenKitTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftGenKitTests",
      "path" : "Tests/SwiftGenKitTests",
      "sources" : [
        "AssetCatalogTests.swift",
        "ColorsCLRFileTests.swift",
        "ColorsJSONFileTests.swift",
        "ColorsTests.swift",
        "ColorsTextFileTests.swift",
        "ColorsXMLFileTests.swift",
        "CoreDataTests.swift",
        "FilesTests.swift",
        "FilterTests.swift",
        "FontsTests.swift",
        "InterfaceBuilderMacOSTests.swift",
        "InterfaceBuilderiOSTests.swift",
        "JSONTests.swift",
        "PlistTests.swift",
        "StringPlaceholderTypeTests.swift",
        "StringsTests.swift",
        "YamlTests.swift"
      ],
      "target_dependencies" : [
        "SwiftGenKit",
        "TestUtils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftGenKit",
      "module_type" : "SwiftTarget",
      "name" : "SwiftGenKit",
      "path" : "Sources/SwiftGenKit",
      "product_dependencies" : [
        "Kanna",
        "PathKit",
        "Stencil",
        "Yams"
      ],
      "product_memberships" : [
        "swiftgen",
        "SwiftGenCLI",
        "SwiftGenKit"
      ],
      "sources" : [
        "Parsers/AnyCodable.swift",
        "Parsers/AssetsCatalog/AssetsCatalogParser.swift",
        "Parsers/AssetsCatalog/Catalog.swift",
        "Parsers/AssetsCatalog/CatalogEntry.swift",
        "Parsers/Colors/ColorsCLRFileParser.swift",
        "Parsers/Colors/ColorsFileTypeParser.swift",
        "Parsers/Colors/ColorsJSONFileParser.swift",
        "Parsers/Colors/ColorsParser.swift",
        "Parsers/Colors/ColorsTXTFileParser.swift",
        "Parsers/Colors/ColorsXMLFileParser.swift",
        "Parsers/CoreData/Attribute.swift",
        "Parsers/CoreData/Configuration.swift",
        "Parsers/CoreData/CoreDataParser.swift",
        "Parsers/CoreData/Entity.swift",
        "Parsers/CoreData/FetchRequest.swift",
        "Parsers/CoreData/FetchedProperty.swift",
        "Parsers/CoreData/Model.swift",
        "Parsers/CoreData/Relationship.swift",
        "Parsers/CoreData/UniquenessConstraints.swift",
        "Parsers/CoreData/UserInfo.swift",
        "Parsers/Files/FilesFile.swift",
        "Parsers/Files/FilesParser.swift",
        "Parsers/Filter.swift",
        "Parsers/Fonts/CTFont.swift",
        "Parsers/Fonts/Font.swift",
        "Parsers/Fonts/FontsParser.swift",
        "Parsers/InterfaceBuilder/InterfaceBuilderParser.swift",
        "Parsers/InterfaceBuilder/Platform.swift",
        "Parsers/InterfaceBuilder/Scene.swift",
        "Parsers/InterfaceBuilder/Segue.swift",
        "Parsers/InterfaceBuilder/Storyboard.swift",
        "Parsers/JSON/JSONFile.swift",
        "Parsers/JSON/JSONParser.swift",
        "Parsers/Parser.swift",
        "Parsers/ParserOption.swift",
        "Parsers/ParserOptionList.swift",
        "Parsers/ParserOptionValues.swift",
        "Parsers/Plist/PlistFile.swift",
        "Parsers/Plist/PlistParser.swift",
        "Parsers/Strings/FileTypeParser/StringsDictFileParser.swift",
        "Parsers/Strings/FileTypeParser/StringsFileParser.swift",
        "Parsers/Strings/FileTypeParser/StringsFileTypeParser.swift",
        "Parsers/Strings/FileTypeParser/StringsFileWithCommentsParser.swift",
        "Parsers/Strings/PlaceholderType.swift",
        "Parsers/Strings/StringsDictEntry.swift",
        "Parsers/Strings/StringsEntry.swift",
        "Parsers/Strings/StringsParser.swift",
        "Parsers/Yaml/YamlFile.swift",
        "Parsers/Yaml/YamlParser.swift",
        "Stencil/AssetsCatalogParser+Context.swift",
        "Stencil/ColorsParser+Context.swift",
        "Stencil/CoreDataParser+Context.swift",
        "Stencil/FilesParser+Context.swift",
        "Stencil/FontsParser+Context.swift",
        "Stencil/InterfaceBuilderParser+Context.swift",
        "Stencil/JSONParser+Context.swift",
        "Stencil/PlistParser+Context.swift",
        "Stencil/StringsParser+Context.swift",
        "Stencil/YamlParser+Context.swift",
        "Utils/Bool.swift",
        "Utils/Metadata.swift",
        "Utils/Path.swift",
        "Utils/String.swift",
        "Utils/YAML.swift",
        "Utils/YamsSerialization.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftGenCLI",
      "module_type" : "SwiftTarget",
      "name" : "SwiftGenCLI",
      "path" : "Sources/SwiftGenCLI",
      "product_dependencies" : [
        "ArgumentParser",
        "Kanna",
        "PathKit",
        "Stencil",
        "StencilSwiftKit",
        "Yams"
      ],
      "product_memberships" : [
        "swiftgen",
        "SwiftGenCLI"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/SwiftGenCLI/templates",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Array+Parallel.swift",
        "Config/Config+Example.swift",
        "Config/Config+Lint.swift",
        "Config/Config+Run.swift",
        "Config/Config+XCFileList.swift",
        "Config/Config.swift",
        "Config/ConfigEntry.swift",
        "Config/ConfigOutput.swift",
        "Logs.swift",
        "OutputDestination.swift",
        "ParserCLI.swift",
        "Path+CommonLocations.swift",
        "Template Loader.swift",
        "TemplateRef.swift"
      ],
      "target_dependencies" : [
        "SwiftGenKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftGen",
      "module_type" : "SwiftTarget",
      "name" : "SwiftGen",
      "path" : "Sources/SwiftGen",
      "product_memberships" : [
        "swiftgen"
      ],
      "sources" : [
        "Command.swift",
        "Commands/Config.swift",
        "Commands/Config/Config Doc.swift",
        "Commands/Config/Config GenerateXCFileLists.swift",
        "Commands/Config/Config Init.swift",
        "Commands/Config/Config Lint.swift",
        "Commands/Config/Config Run.swift",
        "Commands/Run.swift",
        "Commands/Template.swift",
        "Commands/Template/Template Cat.swift",
        "Commands/Template/Template Doc.swift",
        "Commands/Template/Template List.swift",
        "Commands/Template/Template Which.swift",
        "Common/DeprecatedCommand.swift",
        "Common/ExperimentalFlags.swift",
        "Common/ExpressibleByArgument.swift",
        "Common/OutputDestination.swift",
        "Version.swift"
      ],
      "target_dependencies" : [
        "SwiftGenCLI"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:dbcbf45695e2d1afcaee9a5a93239e71a6cc4a5872f338d6e993e9ceefe7df1b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/krzysztofzablocki/Difference.git
[1/486] Fetching difference
Fetched https://github.com/krzysztofzablocki/Difference.git from cache (0.28s)
Fetching https://github.com/stencilproject/Stencil.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/SwiftGen/StencilSwiftKit.git
Fetching https://github.com/shibapm/Komondor.git
Fetching https://github.com/tid-kijyun/Kanna.git
Fetching https://github.com/kylef/PathKit.git
[1/4008] Fetching stencilswiftkit
[82/4517] Fetching stencilswiftkit, komondor
[834/6907] Fetching stencilswiftkit, komondor, kanna
[875/8345] Fetching stencilswiftkit, komondor, kanna, pathkit
[4008/13638] Fetching stencilswiftkit, komondor, kanna, pathkit, stencil
[5893/24911] Fetching stencilswiftkit, komondor, kanna, pathkit, stencil, yams
Fetched https://github.com/kylef/PathKit.git from cache (0.45s)
Fetched https://github.com/shibapm/Komondor.git from cache (0.46s)
[6599/22964] Fetching stencilswiftkit, kanna, stencil, yams
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/tid-kijyun/Kanna.git from cache (0.54s)
[6572/20574] Fetching stencilswiftkit, stencil, yams
[11646/37561] Fetching stencilswiftkit, stencil, yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.21s)
[17889/20574] Fetching stencilswiftkit, stencil, yams
Fetched https://github.com/stencilproject/Stencil.git from cache (2.36s)
Fetched https://github.com/jpsim/Yams.git from cache (2.44s)
Fetched https://github.com/SwiftGen/StencilSwiftKit.git from cache (3.33s)
Computing version for https://github.com/SwiftGen/StencilSwiftKit.git
Computed https://github.com/SwiftGen/StencilSwiftKit.git at 2.10.1 (3.91s)
Computing version for https://github.com/shibapm/Komondor.git
Computed https://github.com/shibapm/Komondor.git at 1.1.3 (2.09s)
Fetching https://github.com/shibapm/PackageConfig.git
Fetching https://github.com/JohnSundell/ShellOut.git
[1/580] Fetching packageconfig
[581/1560] Fetching packageconfig, shellout
Fetched https://github.com/shibapm/PackageConfig.git from cache (0.21s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.21s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (0.81s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.19s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (0.77s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.57s)
Computing version for https://github.com/tid-kijyun/Kanna.git
Computed https://github.com/tid-kijyun/Kanna.git at 5.3.0 (0.59s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.57s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.58s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.61s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.0 (0.65s)
Creating working copy for https://github.com/stencilproject/Stencil.git
Working copy of https://github.com/stencilproject/Stencil.git resolved at 0.15.1
Creating working copy for https://github.com/SwiftGen/StencilSwiftKit.git
Working copy of https://github.com/SwiftGen/StencilSwiftKit.git resolved at 2.10.1
Creating working copy for https://github.com/krzysztofzablocki/Difference.git
Working copy of https://github.com/krzysztofzablocki/Difference.git resolved at master (1deadf0)
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/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 1.1.3
Creating working copy for https://github.com/shibapm/Komondor.git
Working copy of https://github.com/shibapm/Komondor.git resolved at 1.1.3
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/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.0
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
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/tid-kijyun/Kanna.git
Working copy of https://github.com/tid-kijyun/Kanna.git resolved at 5.3.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/39] Write sources
[2/39] Copying PrivacyInfo.xcprivacy
[15/39] Copying Configs
[16/39] Copying StencilContexts
[17/39] Copying templates
[18/39] Copying Generated
[19/39] Copying Resources
[20/39] Compiling writer.c
[21/39] Compiling reader.c
[22/39] Compiling api.c
[23/39] Compiling parser.c
[24/39] Compiling emitter.c
[25/39] Write swift-version-24593BA9C3E375BF.txt
[26/39] Compiling scanner.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/73] 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
[29/73] Compiling ArgumentParserToolInfo ToolInfo.swift
[30/73] Emitting module ArgumentParserToolInfo
[32/74] Compiling Yams Tag.swift
[33/74] Compiling Yams YamlAnchorProviding.swift
[33/76] Wrapping AST for ArgumentParserToolInfo for debugging
[35/122] Emitting module ArgumentParser
[36/128] Compiling ArgumentParser ArgumentDiscussion.swift
[37/128] Compiling ArgumentParser ArgumentHelp.swift
[38/128] 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
[39/128] Compiling ArgumentParser FishCompletionsGenerator.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.
[40/128] Compiling ArgumentParser ZshCompletionsGenerator.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.
[41/128] Compiling ArgumentParser Argument.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.
[42/128] Compiling ArgumentParser BashCompletionsGenerator.swift
[43/128] Compiling ArgumentParser CompletionsGenerator.swift
[44/128] Compiling ArgumentParser Flag.swift
[45/128] Compiling ArgumentParser NameSpecification.swift
[46/128] Compiling ArgumentParser Option.swift
[47/128] Emitting module Difference
[48/128] Compiling Difference Difference.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Kanna/Modules/libxml2-kanna.h:1:9: error: 'libxml2/libxml/HTMLtree.h' file not found
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- error: 'libxml2/libxml/HTMLtree.h' file not found
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/host/spi-builder-workspace/.build/checkouts/Kanna/Sources/Kanna/CSS.swift:26:8: error: could not build C module 'libxml2'
 24 | */
 25 | import Foundation
 26 | import libxml2
    |        `- error: could not build C module 'libxml2'
 27 |
 28 | typealias AKRegularExpression  = NSRegularExpression
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:dbcbf45695e2d1afcaee9a5a93239e71a6cc4a5872f338d6e993e9ceefe7df1b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/15] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/49] 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
[5/49] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/49] Emitting module Kanna
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Kanna/Modules/libxml2-kanna.h:1:9: error: 'libxml2/libxml/HTMLtree.h' file not found
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- error: 'libxml2/libxml/HTMLtree.h' file not found
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/host/spi-builder-workspace/.build/checkouts/Kanna/Sources/Kanna/CSS.swift:26:8: error: could not build C module 'libxml2'
 24 | */
 25 | import Foundation
 26 | import libxml2
    |        `- error: could not build C module 'libxml2'
 27 |
 28 | typealias AKRegularExpression  = NSRegularExpression
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Kanna/Modules/libxml2-kanna.h:1:9: error: 'libxml2/libxml/HTMLtree.h' file not found
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- error: 'libxml2/libxml/HTMLtree.h' file not found
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
[7/49] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm