The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftGen, reference 6.7.0 (4fc8cf), with Swift 6.1 for Wasm on 30 Dec 2025 06:03:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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: 6.7.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/tuist/SwiftGen
 * tag               6.7.0      -> FETCH_HEAD
HEAD is now at 4fc8cfd Merge pull request #1 from leszko11/feature/xcstrings-support
Cloned https://github.com/tuist/SwiftGen.git
Revision (git rev-parse @):
4fc8cfdfaea95cef9850098315286a12e55675e9
SUCCESS checkout https://github.com/tuist/SwiftGen.git at 6.7.0
========================================
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",
        "StringsCatalogTests.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",
        "StringsCatalogTests.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/StringsCatalogFileParser.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/StringsCatalogFile.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-0":/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.24s)
Fetching https://github.com/tid-kijyun/Kanna.git
Fetching https://github.com/stencilproject/Stencil.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/SwiftGen/StencilSwiftKit.git
Fetching https://github.com/shibapm/Komondor.git
[1/2390] Fetching kanna
[886/2899] Fetching kanna, komondor
[937/4337] Fetching kanna, komondor, pathkit
[3124/9630] Fetching kanna, komondor, pathkit, stencil
[4927/13638] Fetching kanna, komondor, pathkit, stencil, stencilswiftkit
Fetched https://github.com/kylef/PathKit.git from cache (0.34s)
[8159/12200] Fetching kanna, komondor, stencil, stencilswiftkit
Fetching https://github.com/apple/swift-argument-parser.git
[8795/23473] Fetching kanna, komondor, stencil, stencilswiftkit, yams
[13643/40460] Fetching kanna, komondor, stencil, stencilswiftkit, yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.05s)
[18588/23473] Fetching kanna, komondor, stencil, stencilswiftkit, yams
Fetched https://github.com/tid-kijyun/Kanna.git from cache (2.01s)
[18759/21083] Fetching komondor, stencil, stencilswiftkit, yams
Fetched https://github.com/jpsim/Yams.git from cache (2.06s)
Fetched https://github.com/shibapm/Komondor.git from cache (2.89s)
Fetched https://github.com/stencilproject/Stencil.git from cache (2.89s)
Fetched https://github.com/SwiftGen/StencilSwiftKit.git from cache (2.94s)
Computing version for https://github.com/SwiftGen/StencilSwiftKit.git
Computed https://github.com/SwiftGen/StencilSwiftKit.git at 2.10.1 (3.52s)
Computing version for https://github.com/shibapm/Komondor.git
Computed https://github.com/shibapm/Komondor.git at 1.1.3 (2.10s)
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/shibapm/PackageConfig.git
[1/580] Fetching packageconfig
[581/1560] Fetching packageconfig, shellout
Fetched https://github.com/shibapm/PackageConfig.git from cache (0.18s)
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.77s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.21s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (0.74s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.54s)
Computing version for https://github.com/tid-kijyun/Kanna.git
Computed https://github.com/tid-kijyun/Kanna.git at 5.3.0 (0.57s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.52s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.53s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.54s)
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.54s)
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
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/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.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/krzysztofzablocki/Difference.git
Working copy of https://github.com/krzysztofzablocki/Difference.git resolved at master (1deadf0)
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
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/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/stencilproject/Stencil.git
Working copy of https://github.com/stencilproject/Stencil.git resolved at 0.15.1
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/39] Write sources
[10/39] Copying PrivacyInfo.xcprivacy
[13/39] Write sources
[15/39] Copying Configs
[16/39] Copying StencilContexts
[16/39] Copying templates
[18/39] Compiling writer.c
[19/39] Copying Generated
[20/39] Compiling reader.c
[21/39] Copying Resources
[22/39] Compiling parser.c
[23/39] Compiling api.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
[31/73] Compiling Yams Tag.swift
[32/73] Compiling Yams YamlAnchorProviding.swift
[33/76] Compiling Yams Mark.swift
[34/76] Compiling Yams Node.Alias.swift
[35/76] Compiling Yams Node.Mapping.swift
[36/76] Wrapping AST for ArgumentParserToolInfo for debugging
[38/122] Compiling Kanna libxmlParserOption.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
[39/122] Compiling Kanna libxmlHTMLNode.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
[40/122] Compiling Difference Difference.swift
[41/122] Emitting module Difference
[42/122] Compiling ArgumentParser Foundation.swift
[43/122] Compiling ArgumentParser Mutex.swift
[44/122] Compiling ArgumentParser Platform.swift
[45/122] Compiling ArgumentParser SequenceExtensions.swift
[46/122] Compiling ArgumentParser StringExtensions.swift
[47/122] Compiling ArgumentParser SwiftExtensions.swift
[48/123] Compiling ArgumentParser ParsableCommand.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.
[49/123] Compiling ArgumentParser ArgumentDecoder.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.
[50/123] Compiling ArgumentParser ArgumentDefinition.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.
[51/127] Compiling ArgumentParser ArgumentSet.swift
[52/127] Compiling ArgumentParser CommandParser.swift
[53/129] Compiling Kanna Deprecated.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
[54/129] 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
[55/129] Compiling ArgumentParser InputKey.swift
[56/129] Compiling ArgumentParser BashCompletionsGenerator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[57/129] Compiling Kanna Kanna.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
[58/129] Compiling Kanna CSS.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
[59/129] 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
[60/129] Compiling Kanna libxmlHTMLDocument.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
[61/129] Compiling ArgumentParser ArgumentVisibility.swift
[62/129] Compiling ArgumentParser CompletionKind.swift
[63/129] Compiling ArgumentParser Errors.swift
[64/129] Compiling ArgumentParser CommandConfiguration.swift
[65/129] Compiling ArgumentParser CommandGroup.swift
[66/129] Compiling ArgumentParser EnumerableFlag.swift
[67/129] Emitting module Yams
[68/129] Compiling ArgumentParser Flag.swift
[69/129] Compiling ArgumentParser NameSpecification.swift
[70/129] Compiling ArgumentParser Option.swift
[71/129] Compiling Kanna resource_bundle_accessor.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-0":/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 Kanna CSS.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
[6/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
[7/49] Compiling Yams Tag.swift
[8/49] Compiling Yams YamlAnchorProviding.swift
[9/49] Compiling Yams Resolver.swift
[10/49] Compiling Yams String+Yams.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>
[11/51] Emitting module Difference
[12/51] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm