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 602.0.0 (517f61), with Swift 6.1 for Wasm on 16 Nov 2025 16:45:43 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/ShaftUI/SwiftReload.git
Reference: 602.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/ShaftUI/SwiftReload
 * tag               602.0.0    -> FETCH_HEAD
HEAD is now at 517f619 Update swift-syntax dependency to version 602.0.0
Cloned https://github.com/ShaftUI/SwiftReload.git
Revision (git rev-parse @):
517f6197e4f7062c6a4b585aac3cfd775d4aea39
SUCCESS checkout https://github.com/ShaftUI/SwiftReload.git at 602.0.0
========================================
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" : "602.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-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 -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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/jpsim/Yams.git
[1/11263] Fetching yams
[5746/84027] Fetching yams, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (8.82s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (8.84s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (11.95s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (0.78s)
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
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.3.1
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 parser.c
[18/38] Compiling api.c
[19/38] Write swift-version-24593BA9C3E375BF.txt
[20/38] Compiling emitter.c
[21/42] Compiling scanner.c
[23/48] 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
[24/48] 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
[25/67] 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
[26/67] 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
[27/68] 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
[28/69] Emitting module Yams
[29/69] 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
[30/70] 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
[32/72] 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
[33/72] 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
[34/72] Compiling Yams Tag.swift
[35/72] Compiling Yams YamlAnchorProviding.swift
[37/73] 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
[37/74] Wrapping AST for SwiftSyntax602 for debugging
[38/74] Wrapping AST for SwiftSyntax509 for debugging
[42/74] Wrapping AST for SwiftSyntax601 for debugging
[43/74] Wrapping AST for SwiftSyntax600 for debugging
[44/108] Wrapping AST for SwiftSyntax510 for debugging
[46/137] Compiling SwiftSyntax AbsolutePosition.swift
[47/137] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[48/137] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[49/137] Compiling SwiftSyntax SourceLength.swift
[50/137] Compiling SwiftSyntax SourceLocation.swift
[51/137] Compiling SwiftSyntax MissingNodeInitializers.swift
[52/137] Compiling SwiftSyntax RawSyntax.swift
[53/137] Compiling SwiftSyntax RawSyntaxArena.swift
[54/137] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[55/137] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[56/137] Compiling SwiftSyntax Assert.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.
[57/137] Compiling SwiftSyntax BumpPtrAllocator.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.
[58/137] Compiling SwiftSyntax EditorPlaceholder.swift
[59/137] Compiling SwiftSyntax Identifier.swift
[60/137] Compiling SwiftSyntax MemoryLayout.swift
[61/137] Compiling SwiftSyntax CommonAncestor.swift
[62/137] Compiling SwiftSyntax Convenience.swift
[63/137] Compiling SwiftSyntax CustomTraits.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-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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
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/27] Compiling SwiftSyntax510 Empty.swift
[3/27] Emitting module SwiftSyntax510
[4/30] Emitting module SwiftSyntax600
[5/31] Compiling SwiftSyntax600 Empty.swift
[6/36] Compiling SwiftSyntax602 Empty.swift
[7/36] Emitting module SwiftSyntax602
[8/41] Compiling SwiftSyntax601 Empty.swift
[9/41] Emitting module SwiftSyntax601
[10/50] Compiling SwiftSyntax509 Empty.swift
[11/50] Emitting module SwiftSyntax509
[17/46] 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.
[18/46] 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.
[19/48] Compiling Yams Tag.swift
[20/48] Compiling Yams YamlAnchorProviding.swift
[21/111] Compiling SwiftSyntax RawSyntaxTokenView.swift
[22/111] Compiling SwiftSyntax SourceEdit.swift
[23/111] Compiling SwiftSyntax Assert.swift
[24/111] Compiling SwiftSyntax BumpPtrAllocator.swift
[25/111] Compiling SwiftSyntax CommonAncestor.swift
[26/111] Compiling SwiftSyntax SyntaxNodeStructure.swift
[27/111] Compiling SwiftSyntax SyntaxProtocol.swift
[28/111] Emitting module Yams
[29/111] Compiling SwiftSyntax MissingNodeInitializers.swift
[30/111] Compiling SwiftSyntax RawSyntax.swift
[31/111] Compiling SwiftSyntax RawSyntaxArena.swift
[32/111] Compiling SwiftSyntax Convenience.swift
[33/111] Compiling SwiftSyntax CustomTraits.swift
[34/111] Compiling SwiftSyntax EditorPlaceholder.swift
[35/111] Compiling SwiftSyntax AbsolutePosition.swift
[36/111] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[37/111] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
BUILD FAILURE 6.1 wasm