The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Selfish, reference master (8267a4), with Swift 6.1 for Wasm on 27 May 2025 12:09:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/jpsim/selfish.git
Reference: master
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/jpsim/selfish
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 8267a4e Release 0.0.12
Cloned https://github.com/jpsim/selfish.git
Revision (git rev-parse @):
8267a4e26c8a0c04c2ec1cc80ae5c3a43597003a
SUCCESS checkout https://github.com/jpsim/selfish.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/jpsim/selfish.git
https://github.com/jpsim/selfish.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "sourcekitten",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.23.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/SourceKitten.git"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    }
  ],
  "manifest_display_name" : "Selfish",
  "name" : "Selfish",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "selfish",
      "targets" : [
        "selfish"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "selfish",
      "module_type" : "SwiftTarget",
      "name" : "selfish",
      "path" : "Sources/selfish",
      "product_dependencies" : [
        "SourceKittenFramework",
        "Yams"
      ],
      "product_memberships" : [
        "selfish"
      ],
      "sources" : [
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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 -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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
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/jpsim/SourceKitten.git
[1/10657] Fetching yams
[215/26769] Fetching yams, sourcekitten
Fetched https://github.com/jpsim/SourceKitten.git from cache (2.97s)
Fetched https://github.com/jpsim/Yams.git from cache (3.13s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (7.29s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.29.0 (3.61s)
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/Carthage/Commandant.git
[1/2820] Fetching swxmlhash
[2173/5149] Fetching swxmlhash, commandant
Fetched https://github.com/Carthage/Commandant.git from cache (0.55s)
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.55s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.17.0 (1.23s)
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
[1/14755] Fetching quick
[12691/34339] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (1.11s)
[3330/19584] Fetching nimble
Fetched https://github.com/Quick/Nimble.git from cache (2.26s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 5.0.2 (3.14s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (0.61s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.88s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.29.0
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 5.0.2
Creating working copy for https://github.com/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at 0.17.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 2.0.0
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.2.1
Building for debugging...
[0/19] Write sources
[4/19] Compiling Clang_C Clang_C.m
[5/19] Compiling SourceKit SourceKit.m
[6/19] Compiling reader.c
[7/19] Compiling parser.c
[8/19] Compiling writer.c
[9/19] Compiling api.c
[10/19] Write swift-version-24593BA9C3E375BF.txt
[11/19] Compiling emitter.c
[12/19] Compiling scanner.c
[14/38] Emitting module SWXMLHash
[15/38] Compiling SWXMLHash shim.swift
[16/38] Compiling Yams Mark.swift
[17/38] Compiling Yams Node.Mapping.swift
[18/40] Compiling Yams YamlError.swift
[19/40] Compiling Yams shim.swift
[20/40] Emitting module Yams
[21/40] Compiling Yams String+Yams.swift
[22/40] Compiling Yams Tag.swift
[23/40] Compiling Yams Representer.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:297:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
295 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
296 |         // it uses with `String(format:...)`
297 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
298 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
299 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[24/40] Compiling Yams Resolver.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:297:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
295 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
296 |         // it uses with `String(format:...)`
297 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
298 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
299 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[25/40] Compiling SWXMLHash SWXMLHash.swift
[26/40] Compiling SWXMLHash XMLIndexer+XMLIndexerDeserializable.swift
[27/40] Compiling Yams Constructor.swift
[28/40] Compiling Yams Decoder.swift
[29/40] Compiling Yams Emitter.swift
[30/40] Compiling Yams Encoder.swift
[31/41] Compiling Yams Node.Scalar.swift
[32/41] Compiling Yams Node.Sequence.swift
[33/41] Compiling Yams Node.swift
[34/41] Compiling Yams Parser.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
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/7] Write swift-version-24593BA9C3E375BF.txt
[2/26] Compiling Yams Representer.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:297:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
295 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
296 |         // it uses with `String(format:...)`
297 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
298 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
299 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[3/26] Compiling Yams Resolver.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:297:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
295 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
296 |         // it uses with `String(format:...)`
297 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
298 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
299 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[4/28] Compiling Yams String+Yams.swift
[5/28] Compiling Yams Tag.swift
[6/28] Compiling SWXMLHash shim.swift
[7/28] Emitting module SWXMLHash
[8/28] Compiling SWXMLHash SWXMLHash.swift
[9/28] Compiling SWXMLHash XMLIndexer+XMLIndexerDeserializable.swift
[10/29] Compiling Yams YamlError.swift
[11/29] Compiling Yams shim.swift
[13/29] Compiling Yams Emitter.swift
[14/29] Compiling Yams Encoder.swift
[14/29] Wrapping AST for SWXMLHash for debugging
[16/29] Compiling Yams Node.Scalar.swift
[17/29] Compiling Yams Node.Sequence.swift
[18/29] Compiling Yams Node.swift
[19/29] Compiling Yams Parser.swift
[20/29] Compiling Yams Mark.swift
[21/29] Compiling Yams Node.Mapping.swift
[22/29] Emitting module Yams
[23/29] Compiling Yams Constructor.swift
[24/29] Compiling Yams Decoder.swift
BUILD FAILURE 6.1 wasm