The Swift Package Index logo.Swift Package Index

Build Information

Failed to build frontmatter, reference 1.0.0 (db52a6), with Swift 6.1 for Wasm on 30 May 2025 12:34:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/swifttoolkit/Frontmatter.git
Reference: 1.0.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/swifttoolkit/Frontmatter
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at db52a6d Initial commit
Cloned https://github.com/swifttoolkit/Frontmatter.git
Revision (git rev-parse @):
db52a6df5086f5e3b6317057688e5a0ecc5e13d6
SUCCESS checkout https://github.com/swifttoolkit/Frontmatter.git at 1.0.0
========================================
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-4609320-2":/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/jpsim/Yams.git
[1/10657] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.36s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (4.02s)
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 reader.c
[4/9] Compiling parser.c
[5/9] Compiling api.c
[6/9] Compiling emitter.c
[7/9] Compiling scanner.c
[7/9] Write swift-version-24593BA9C3E375BF.txt
[10/29] Emitting module Yams
[11/31] Compiling Yams YamlError.swift
[12/31] Compiling Yams YamlTagProviding.swift
[13/31] Compiling Yams AliasDereferencingStrategy.swift
[14/31] Compiling Yams Anchor.swift
[15/31] Compiling Yams Constructor.swift
[16/31] Compiling Yams Node.Scalar.swift
[17/31] Compiling Yams Node.Sequence.swift
[18/31] Compiling Yams Node.swift
[19/31] Compiling Yams Tag.swift
[20/31] Compiling Yams YamlAnchorProviding.swift
[21/31] Compiling Yams Resolver.swift
[22/31] Compiling Yams String+Yams.swift
[23/31] Compiling Yams Mark.swift
[24/31] Compiling Yams Node.Alias.swift
[25/31] Compiling Yams Node.Mapping.swift
[26/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.
[27/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.
[28/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.
[29/31] Compiling Yams Decoder.swift
[30/31] Compiling Yams Emitter.swift
[31/31] Compiling Yams Encoder.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/21] Compiling Yams Mark.swift
[3/21] Compiling Yams Node.Alias.swift
[4/21] Compiling Yams Node.Mapping.swift
[5/23] Emitting module Yams
[6/23] Compiling Yams Tag.swift
[7/23] Compiling Yams YamlAnchorProviding.swift
[8/23] Compiling Yams Resolver.swift
[9/23] Compiling Yams String+Yams.swift
[10/23] Compiling Yams Node.Scalar.swift
[11/23] Compiling Yams Node.Sequence.swift
[12/23] Compiling Yams Node.swift
[13/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.
[14/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.
[15/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.
[16/23] Compiling Yams YamlError.swift
[17/23] Compiling Yams YamlTagProviding.swift
[18/23] Compiling Yams AliasDereferencingStrategy.swift
[19/23] Compiling Yams Anchor.swift
[20/23] Compiling Yams Constructor.swift
[21/23] Compiling Yams Decoder.swift
[22/23] Compiling Yams Emitter.swift
[23/23] Compiling Yams Encoder.swift
BUILD FAILURE 6.1 wasm