The Swift Package Index logo.Swift Package Index

Build Information

Failed to build frontmatter, reference main (108b6e), with Swift 6.1 for Wasm on 19 Nov 2025 14:01:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/swifttoolkit/Frontmatter.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/swifttoolkit/Frontmatter
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 108b6e3 Add license
Cloned https://github.com/swifttoolkit/Frontmatter.git
Revision (git rev-parse @):
108b6e3b7571e532add6634e03080b04e4a47189
SUCCESS checkout https://github.com/swifttoolkit/Frontmatter.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/swifttoolkit/Frontmatter.git
https://github.com/swifttoolkit/Frontmatter.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.3.1",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    }
  ],
  "manifest_display_name" : "frontmatter",
  "name" : "frontmatter",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Frontmatter",
      "targets" : [
        "Frontmatter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "frontmatterTests",
      "module_type" : "SwiftTarget",
      "name" : "frontmatterTests",
      "path" : "Tests/frontmatterTests",
      "sources" : [
        "Contents.swift",
        "Error+Equatable.swift",
        "ReadTests.swift",
        "StringUtilsTests.swift",
        "WriteTests.swift"
      ],
      "target_dependencies" : [
        "Frontmatter"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Frontmatter",
      "module_type" : "SwiftTarget",
      "name" : "Frontmatter",
      "path" : "Sources",
      "product_dependencies" : [
        "Yams"
      ],
      "product_memberships" : [
        "Frontmatter"
      ],
      "sources" : [
        "frontmatter/Error.swift",
        "frontmatter/Frontmatter+Read.swift",
        "frontmatter/Frontmatter+Write.swift",
        "frontmatter/String+Utils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/jpsim/Yams.git
[1/11263] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.81s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (4.56s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Building for debugging...
[0/9] Write sources
[2/9] Compiling writer.c
[3/9] Compiling api.c
[4/9] Compiling reader.c
[5/9] Compiling parser.c
[6/9] Write swift-version-24593BA9C3E375BF.txt
[7/9] Compiling emitter.c
[8/9] Compiling scanner.c
[10/29] Compiling Yams Tag.swift
[11/29] Compiling Yams YamlAnchorProviding.swift
[12/31] Compiling Yams YamlError.swift
[13/31] Compiling Yams YamlTagProviding.swift
[14/31] Compiling Yams Node.Scalar.swift
[15/31] Compiling Yams Node.Sequence.swift
[16/31] Compiling Yams Node.swift
[17/31] Compiling Yams Resolver.swift
[18/31] Compiling Yams String+Yams.swift
[19/31] 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.
[20/31] 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.
[21/31] 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.
[22/31] Emitting module Yams
[23/31] Compiling Yams Mark.swift
[24/31] Compiling Yams Node.Alias.swift
[25/31] Compiling Yams Node.Mapping.swift
[26/31] Compiling Yams Decoder.swift
[27/31] Compiling Yams Emitter.swift
[28/31] Compiling Yams Encoder.swift
[29/31] Compiling Yams AliasDereferencingStrategy.swift
[30/31] Compiling Yams Anchor.swift
[31/31] Compiling Yams Constructor.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/21] Emitting module Yams
[3/23] Compiling Yams Tag.swift
[4/23] Compiling Yams YamlAnchorProviding.swift
[5/23] Compiling Yams Resolver.swift
[6/23] Compiling Yams String+Yams.swift
[7/23] Compiling Yams Node.Scalar.swift
[8/23] Compiling Yams Node.Sequence.swift
[9/23] Compiling Yams Node.swift
[10/23] 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.
[11/23] 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.
[12/23] 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.
[13/23] Compiling Yams AliasDereferencingStrategy.swift
[14/23] Compiling Yams Anchor.swift
[15/23] Compiling Yams Constructor.swift
[16/23] Compiling Yams Mark.swift
[17/23] Compiling Yams Node.Alias.swift
[18/23] Compiling Yams Node.Mapping.swift
[19/23] Compiling Yams YamlError.swift
[20/23] Compiling Yams YamlTagProviding.swift
[21/23] Compiling Yams Decoder.swift
[22/23] Compiling Yams Emitter.swift
[23/23] Compiling Yams Encoder.swift
BUILD FAILURE 6.1 wasm