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 (cce183), with Swift 6.1 for Wasm on 26 Jul 2025 20:34:16 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.64.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 cce1834 Pin deps version
Cloned https://github.com/ShaftUI/SwiftReload.git
Revision (git rev-parse @):
cce18342fe98213eeb98ca58ca2779ecd14e3762
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.1",
            "upper_bound" : "601.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-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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
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/71363] Fetching swift-syntax
[2/82350] Fetching swift-syntax, yams
Fetched https://github.com/jpsim/Yams.git from cache (2.47s)
[55664/71363] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.98s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (11.42s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (0.76s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
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/34] Write sources
[8/34] Compiling reader.c
[9/34] Write sources
[13/34] Compiling _SwiftSyntaxCShims dummy.c
[14/34] Compiling writer.c
[15/34] Compiling parser.c
[16/34] Compiling api.c
[17/34] Compiling emitter.c
[18/34] Compiling scanner.c
[19/34] Write swift-version-24593BA9C3E375BF.txt
[21/59] 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
[22/59] 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
[23/59] 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
[25/60] 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
[26/60] 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
[27/61] 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/62] Compiling Yams Tag.swift
[29/62] Compiling Yams YamlAnchorProviding.swift
[29/64] Wrapping AST for SwiftSyntax510 for debugging
[33/64] Emitting module Yams
[33/64] Wrapping AST for SwiftSyntax600 for debugging
[34/64] Wrapping AST for SwiftSyntax509 for debugging
[36/128] Compiling SwiftSyntax Identifier.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/128] Compiling SwiftSyntax SyntaxNodeFactory.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.
[38/128] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[39/128] Compiling SwiftSyntax TokenDiagnostic.swift
[40/128] Compiling SwiftSyntax MemoryLayout.swift
[41/128] Compiling SwiftSyntax MissingNodeInitializers.swift
[42/128] Compiling SwiftSyntax CommonAncestor.swift
[43/128] Compiling SwiftSyntax Convenience.swift
[44/128] Compiling SwiftSyntax CustomTraits.swift
[45/128] Compiling SwiftSyntax SyntaxNodeStructure.swift
[46/128] Compiling SwiftSyntax SyntaxProtocol.swift
[47/128] Compiling SwiftSyntax SyntaxText.swift
[48/128] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[49/128] Compiling SwiftSyntax Assert.swift
[50/128] Compiling SwiftSyntax BumpPtrAllocator.swift
[51/128] Compiling SwiftSyntax TokenSequence.swift
[52/128] Compiling SwiftSyntax TokenSyntax.swift
[53/128] Compiling SwiftSyntax Trivia.swift
[54/128] Compiling SwiftSyntax AbsolutePosition.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
[55/128] Compiling SwiftSyntax AbsoluteRawSyntax.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
<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
<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
<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
<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
<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
<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
<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
<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-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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
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/15] Write swift-version-24593BA9C3E375BF.txt
[2/21] Compiling SwiftSyntax510 Empty.swift
[3/22] Compiling SwiftSyntax600 Empty.swift
[4/24] Emitting module SwiftSyntax600
[5/37] Emitting module SwiftSyntax509
[6/37] Compiling SwiftSyntax509 Empty.swift
[7/40] Emitting module SwiftSyntax510
[11/40] 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/40] 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/106] Compiling SwiftSyntax CustomTraits.swift
[14/106] Compiling SwiftSyntax Identifier.swift
[15/106] Compiling SwiftSyntax CommonAncestor.swift
[16/106] Compiling SwiftSyntax Convenience.swift
[17/106] Compiling SwiftSyntax Utils.swift
[18/106] Compiling SwiftSyntax ChildNameForKeyPath.swift
[19/106] Compiling SwiftSyntax SyntaxIdentifier.swift
[20/106] Compiling SwiftSyntax AbsolutePosition.swift
[21/106] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[22/106] Emitting module Yams
[23/106] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[24/106] Compiling SwiftSyntax Assert.swift
[25/106] Compiling SwiftSyntax BumpPtrAllocator.swift
[26/106] Compiling SwiftSyntax Syntax.swift
[27/106] Compiling SwiftSyntax SyntaxArena.swift
[28/106] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[29/106] Compiling SwiftSyntax SyntaxChildren.swift
[30/106] Compiling SwiftSyntax SyntaxCollection.swift
[31/106] Compiling SwiftSyntax SyntaxHashable.swift
BUILD FAILURE 6.1 wasm