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 SwiftReload, reference main (e0b67c), with Swift 6.1 for Wasm on 22 Nov 2025 11:20:43 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/ShaftUI/SwiftReload.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/ShaftUI/SwiftReload
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e0b67c1 Use wider swift-syntax range
Cloned https://github.com/ShaftUI/SwiftReload.git
Revision (git rev-parse @):
e0b67c14779b880c475de7c3c5e4778b23cf90fa
SUCCESS checkout https://github.com/ShaftUI/SwiftReload.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ShaftUI/SwiftReload.git
https://github.com/ShaftUI/SwiftReload.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "5.4.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    },
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "600.0.0",
            "upper_bound" : "603.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax.git"
    }
  ],
  "manifest_display_name" : "SwiftReload",
  "name" : "SwiftReload",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftReload",
      "targets" : [
        "SwiftReload"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftReloadExample",
      "targets" : [
        "SwiftReloadExample"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftReloadTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftReloadTests",
      "path" : "Tests/SwiftReloadTests",
      "sources" : [
        "SwiftReloadTests.swift"
      ],
      "target_dependencies" : [
        "SwiftReload"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftReloadExample",
      "module_type" : "SwiftTarget",
      "name" : "SwiftReloadExample",
      "path" : "Sources/SwiftReloadExample",
      "product_dependencies" : [
        "SwiftParser",
        "SwiftSyntax"
      ],
      "product_memberships" : [
        "SwiftReloadExample"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SwiftReload"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftReload",
      "module_type" : "SwiftTarget",
      "name" : "SwiftReload",
      "path" : "Sources/SwiftReload",
      "product_dependencies" : [
        "Yams",
        "SwiftParser",
        "SwiftSyntax",
        "SwiftSyntaxBuilder"
      ],
      "product_memberships" : [
        "SwiftReload",
        "SwiftReloadExample"
      ],
      "sources" : [
        "Build/SwiftBuildCommand.swift",
        "Build/SwiftBuildManifest.swift",
        "LocalSwiftReloader.swift",
        "Patcher/CommandPatcher.swift",
        "Patcher/Patcher.swift",
        "Patcher/PatcherState.swift",
        "ProjectExtractor/ProjectExtractor.swift",
        "ProjectExtractor/SwiftPMProjectExtractor.swift",
        "SyntaxDiff/SyntaxDiff.swift",
        "Watcher/ByteString.swift",
        "Watcher/Condition.swift",
        "Watcher/FSWatch.swift",
        "Watcher/FileInfo.swift",
        "Watcher/FileSystem.swift",
        "Watcher/PathUtils.swift",
        "Watcher/ProcessEnv.swift",
        "Watcher/RecursiveWatcher.swift",
        "Watcher/Thread.swift",
        "Watcher/WatcherUtils.swift",
        "Watcher/WritableByteStream.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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: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
Fetching https://github.com/swiftlang/swift-syntax.git
[1/11263] Fetching yams
[6421/84244] Fetching yams, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (1.64s)
[34302/72981] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.16s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (7.44s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (0.57s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.3.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
Building for debugging...
[0/38] Write sources
[14/38] Compiling _SwiftSyntaxCShims PlatformMutex.c
[15/38] Compiling writer.c
[16/38] Compiling reader.c
[17/38] Compiling api.c
[18/38] Compiling parser.c
[19/38] Write swift-version-24593BA9C3E375BF.txt
[20/38] Compiling emitter.c
[21/44] Compiling scanner.c
[23/47] Emitting module SwiftSyntax602
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[24/47] Emitting module SwiftSyntax600
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[25/67] Compiling Yams Tag.swift
[26/67] Compiling Yams YamlAnchorProviding.swift
[27/69] Emitting module SwiftSyntax509
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[28/69] Compiling SwiftSyntax509 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[30/70] Compiling SwiftSyntax601 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[31/70] Emitting module SwiftSyntax601
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[33/71] Compiling SwiftSyntax600 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[34/72] Emitting module SwiftSyntax510
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[35/72] Compiling SwiftSyntax510 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[36/72] Compiling SwiftSyntax602 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[39/74] Wrapping AST for SwiftSyntax601 for debugging
[40/74] Wrapping AST for SwiftSyntax509 for debugging
[41/74] Wrapping AST for SwiftSyntax600 for debugging
[42/74] Wrapping AST for SwiftSyntax602 for debugging
[44/74] Compiling Yams Resolver.swift
[45/74] Compiling Yams String+Yams.swift
[45/74] Wrapping AST for SwiftSyntax510 for debugging
[47/74] 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.
[48/74] 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.
[49/74] Compiling Yams Node.Alias.swift
[50/74] Compiling Yams Node.Mapping.swift
[51/74] Compiling Yams Node.Scalar.swift
[52/74] Compiling Yams Node.Sequence.swift
[53/74] Compiling Yams Node.swift
[54/74] Compiling Yams Parser.swift
[55/74] Compiling Yams YamlError.swift
[56/74] Compiling Yams YamlTagProviding.swift
[57/137] Emitting module Yams
[58/137] Compiling SwiftSyntax Identifier.swift
[59/137] Compiling SwiftSyntax MemoryLayout.swift
[60/137] Compiling SwiftSyntax MissingNodeInitializers.swift
[61/137] Compiling SwiftSyntax RawSyntax.swift
[62/137] Compiling SwiftSyntax RawSyntaxArena.swift
[63/137] Compiling SwiftSyntax RawSyntaxLayoutView.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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: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/17] Write swift-version-24593BA9C3E375BF.txt
[2/46] Emitting module SwiftSyntax600
[3/46] Compiling SwiftSyntax600 Empty.swift
[4/47] Compiling SwiftSyntax602 Empty.swift
[5/47] Emitting module SwiftSyntax510
[6/47] Compiling SwiftSyntax510 Empty.swift
[7/47] Emitting module SwiftSyntax601
[8/47] Compiling SwiftSyntax601 Empty.swift
[9/49] Emitting module SwiftSyntax602
[10/50] Compiling SwiftSyntax509 Empty.swift
[11/50] Emitting module SwiftSyntax509
[17/46] Compiling Yams Resolver.swift
[18/46] Compiling Yams String+Yams.swift
[19/46] Compiling Yams Tag.swift
[20/46] Compiling Yams YamlAnchorProviding.swift
[21/111] Emitting module Yams
[22/111] Compiling SwiftSyntax SyntaxNodeStructure.swift
[23/111] Compiling SwiftSyntax SyntaxProtocol.swift
[24/111] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[25/111] Compiling SwiftSyntax Syntax.swift
[26/111] Compiling SwiftSyntax SyntaxChildren.swift
[27/111] Compiling SwiftSyntax SyntaxCollection.swift
[28/111] Compiling SwiftSyntax SyntaxHashable.swift
[29/111] Compiling SwiftSyntax SyntaxIdentifier.swift
[30/111] Compiling SwiftSyntax SourceLength.swift
[31/111] Compiling SwiftSyntax SourceLocation.swift
[32/111] Compiling SwiftSyntax SourcePresence.swift
[33/111] Compiling SwiftSyntax Identifier.swift
[34/111] Compiling SwiftSyntax MemoryLayout.swift
[35/111] Compiling SwiftSyntax MissingNodeInitializers.swift
[36/111] Compiling SwiftSyntax RawSyntax.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.
[37/111] Compiling SwiftSyntax RawSyntaxArena.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.
BUILD FAILURE 6.1 wasm