The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-export, reference 1.0.1 (5dfa88), with Swift 6.1 for Wasm on 7 Mar 2026 19:14:04 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/franklefebvre/swift-export.git
Reference: 1.0.1
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/franklefebvre/swift-export
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at 5dfa883 Update installer package
Cloned https://github.com/franklefebvre/swift-export.git
Revision (git rev-parse @):
5dfa883ff4c619bee2fed34a950db598b3da7f46
SUCCESS checkout https://github.com/franklefebvre/swift-export.git at 1.0.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/franklefebvre/swift-export.git
https://github.com/franklefebvre/swift-export.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.1.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    }
  ],
  "manifest_display_name" : "swift-export",
  "name" : "swift-export",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "swift-export",
      "targets" : [
        "swift-export"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "swift_export",
      "module_type" : "SwiftTarget",
      "name" : "swift-export",
      "path" : "Sources",
      "product_dependencies" : [
        "ArgumentParser",
        "Yams"
      ],
      "product_memberships" : [
        "swift-export"
      ],
      "sources" : [
        "CommandRunner.swift",
        "Config.swift",
        "ExportError.swift",
        "Logger.swift",
        "String+terminal.swift",
        "SwiftExport.swift",
        "URL+filePath.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.9"
}
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:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
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/apple/swift-argument-parser
[1/17182] Fetching swift-argument-parser
[4469/28687] Fetching swift-argument-parser, yams
Fetched https://github.com/apple/swift-argument-parser from cache (1.63s)
Fetched https://github.com/jpsim/Yams.git from cache (1.66s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (4.72s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.0 (0.68s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/19] Write sources
[6/19] Compiling writer.c
[7/19] Compiling reader.c
[8/19] Compiling api.c
[9/19] Compiling parser.c
[10/19] Write swift-version-24593BA9C3E375BF.txt
[11/19] Compiling scanner.c
[12/19] Compiling emitter.c
[14/41] Emitting module Yams
[15/43] Emitting module ArgumentParserToolInfo
[16/43] Compiling ArgumentParserToolInfo ToolInfo.swift
[17/44] Wrapping AST for ArgumentParserToolInfo for debugging
[19/90] Compiling ArgumentParser SwiftExtensions.swift
[20/90] Compiling ArgumentParser ArgumentVisibility.swift
[21/90] Compiling ArgumentParser ZshCompletionsGenerator.swift
[22/90] Compiling ArgumentParser Argument.swift
[23/90] Compiling ArgumentParser ArgumentDiscussion.swift
[24/90] Compiling ArgumentParser ArgumentHelp.swift
[25/90] Compiling ArgumentParser ParentCommand.swift
[26/90] Compiling ArgumentParser BashCompletionsGenerator.swift
[27/90] Compiling ArgumentParser CompletionsGenerator.swift
[28/90] Compiling ArgumentParser FishCompletionsGenerator.swift
[29/90] Compiling ArgumentParser SequenceExtensions.swift
[30/90] Compiling ArgumentParser StringExtensions.swift
[31/90] Compiling ArgumentParser Foundation.swift
[32/90] Compiling ArgumentParser Mutex.swift
[33/90] Compiling ArgumentParser Platform.swift
[34/90] Compiling ArgumentParser EnumerableFlag.swift
[35/90] Compiling ArgumentParser ExpressibleByArgument.swift
[36/90] Compiling ArgumentParser ParsableArguments.swift
[37/90] Compiling ArgumentParser AsyncParsableCommand.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/90] Compiling ArgumentParser CommandConfiguration.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/90] Compiling ArgumentParser CommandGroup.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.
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:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
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/9] Write swift-version-24593BA9C3E375BF.txt
[4/31] Compiling Yams Tag.swift
[5/31] Compiling Yams YamlAnchorProviding.swift
[6/33] Compiling Yams Resolver.swift
[7/33] Compiling Yams String+Yams.swift
[8/33] Compiling Yams Mark.swift
[9/33] Compiling Yams Node.Alias.swift
[10/33] Compiling Yams Node.Mapping.swift
[11/33] Compiling Yams Parser.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.
[12/33] Compiling Yams RedundancyAliasingStrategy.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.
[13/33] Compiling Yams Representer.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.
[14/33] Emitting module Yams
[15/33] Compiling Yams Node.Scalar.swift
[16/33] Compiling Yams Node.Sequence.swift
[17/33] Compiling Yams Node.swift
[18/33] Compiling Yams YamlError.swift
[19/33] Compiling Yams YamlTagProviding.swift
[20/33] Compiling Yams AliasDereferencingStrategy.swift
[21/33] Compiling Yams Anchor.swift
[22/33] Compiling Yams Constructor.swift
[23/33] Emitting module ArgumentParserToolInfo
[24/33] Compiling ArgumentParserToolInfo ToolInfo.swift
[26/79] Compiling ArgumentParser ZshCompletionsGenerator.swift
[27/79] Compiling ArgumentParser Argument.swift
[28/79] Compiling ArgumentParser ArgumentDiscussion.swift
BUILD FAILURE 6.1 wasm