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 (587b06), with Swift 6.1 for Wasm on 30 May 2025 10:25:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/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 587b067 Update README.md
Cloned https://github.com/ShaftUI/SwiftReload.git
Revision (git rev-parse @):
587b0673a45ce058040594988a168709f424cb3b
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" : "6.0.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-3":/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: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
Fetching https://github.com/swiftlang/swift-syntax.git
[1/10657] Fetching yams
[6609/81152] Fetching yams, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (6.39s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.41s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (9.16s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.64s)
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.4.0
Building for debugging...
[0/34] Write sources
[12/34] Compiling writer.c
[13/34] Compiling reader.c
[14/34] Compiling parser.c
[15/34] Compiling api.c
[16/34] Compiling _SwiftSyntaxCShims dummy.c
[17/34] Write swift-version-24593BA9C3E375BF.txt
[18/34] Compiling emitter.c
[19/34] Compiling scanner.c
[21/60] 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
[22/60] 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
[23/61] 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
[24/61] 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
[25/62] Compiling Yams Tag.swift
[26/62] Compiling Yams YamlAnchorProviding.swift
[29/64] 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
[30/64] 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
[31/65] Wrapping AST for SwiftSyntax600 for debugging
[32/65] Wrapping AST for SwiftSyntax510 for debugging
[33/65] Wrapping AST for SwiftSyntax509 for debugging
[35/129] Emitting module Yams
[36/129] Compiling SwiftSyntax AbsolutePosition.swift
[37/129] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[38/129] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[39/129] Compiling SwiftSyntax SyntaxEnum.swift
[40/129] Compiling SwiftSyntax RawSyntaxNodesD.swift
[41/129] Compiling SwiftSyntax SyntaxAnyVisitor.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.
[42/129] Compiling SwiftSyntax SyntaxBaseNodes.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.
[43/129] Compiling SwiftSyntax SyntaxCollections.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.
[44/129] Compiling SwiftSyntax Identifier.swift
[45/129] Compiling SwiftSyntax Utils.swift
[46/129] Compiling SwiftSyntax ChildNameForKeyPath.swift
[47/129] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[48/129] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[49/129] Compiling SwiftSyntax Assert.swift
[50/129] Compiling SwiftSyntax BumpPtrAllocator.swift
[51/129] Compiling SwiftSyntax CommonAncestor.swift
[52/129] Compiling SwiftSyntax Keyword.swift
[53/129] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[54/129] Compiling SwiftSyntax RenamedNodesCompatibility.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-3":/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/15] Write swift-version-24593BA9C3E375BF.txt
[2/19] Compiling SwiftSyntax600 Empty.swift
[3/41] Emitting module SwiftSyntax600
[4/42] Compiling SwiftSyntax509 Empty.swift
[5/42] Emitting module SwiftSyntax509
[6/43] Emitting module SwiftSyntax510
[7/43] Compiling SwiftSyntax510 Empty.swift
[11/105] Compiling SwiftSyntax Trivia.swift
[12/105] Compiling SwiftSyntax MemoryLayout.swift
[13/107] Compiling SwiftSyntax SyntaxProtocol.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/107] Compiling SwiftSyntax SyntaxText.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/107] Compiling SwiftSyntax SyntaxTreeViewMode.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/107] Compiling SwiftSyntax SyntaxNodeFactory.swift
[17/107] Compiling SwiftSyntax SyntaxNodeStructure.swift
[18/107] Compiling Yams YamlError.swift
[19/107] Compiling Yams YamlTagProviding.swift
[20/107] Compiling SwiftSyntax TokenDiagnostic.swift
[21/107] Compiling SwiftSyntax TokenSequence.swift
[22/107] Compiling SwiftSyntax TokenSyntax.swift
[23/107] Compiling SwiftSyntax Convenience.swift
[24/107] Compiling SwiftSyntax CustomTraits.swift
[25/107] Compiling SwiftSyntax Identifier.swift
[26/107] Emitting module Yams
[27/107] Compiling SwiftSyntax AbsolutePosition.swift
[28/107] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[29/107] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[30/107] Compiling SwiftSyntax Assert.swift
[31/107] Compiling SwiftSyntax BumpPtrAllocator.swift
[32/107] Compiling SwiftSyntax CommonAncestor.swift
BUILD FAILURE 6.1 wasm