The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WatchDuck, reference main (0c4672), with Swift 6.1 for Wasm on 17 Nov 2025 20:53:33 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/BertanT/WatchDuck.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/BertanT/WatchDuck
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0c46728 Update to the latest ci version
Cloned https://github.com/BertanT/WatchDuck.git
Revision (git rev-parse @):
0c467281521a869bd0b4e11ea2daadb83cd3a2a8
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/BertanT/WatchDuck.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/BertanT/WatchDuck.git
https://github.com/BertanT/WatchDuck.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "revision" : [
          "41982a3656a71c768319979febd796c6fd111d5c"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "revision" : [
          "b4b8042411dc7bbb696300a34a4bf3ba1b7ad19b"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    },
    {
      "identity" : "plot",
      "requirement" : {
        "revision" : [
          "271926b4413fe868739d99f5eadcf2bd6cd62fb8"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JohnSundell/Plot.git"
    },
    {
      "identity" : "shellout",
      "requirement" : {
        "revision" : [
          "e1577acf2b6e90086d01a6d5e2b8efdaae033568"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JohnSundell/ShellOut.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "revision" : [
          "85e4bb4e1cd62cec64a4b8e769dcefdf0c5b9d64"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "WatchDuck",
  "name" : "WatchDuck",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "watchduck",
      "targets" : [
        "watchduck"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "watchduck",
      "module_type" : "SwiftTarget",
      "name" : "watchduck",
      "path" : "Sources",
      "product_dependencies" : [
        "ArgumentParser",
        "Yams",
        "Plot",
        "ShellOut"
      ],
      "product_memberships" : [
        "watchduck"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Resources",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Checks/HTTPResponseCodeCheck.swift",
        "Commands/Run.swift",
        "Commands/ServiceInstall.swift",
        "Commands/ServiceUninstall.swift",
        "Commands/WatchDuck.swift",
        "Data/AnyWDCheck.swift",
        "Data/PackageResources.swift",
        "Data/WDCheck.swift",
        "Data/WDConfig.swift",
        "Data/WDLog.swift",
        "Data/WDOutage.swift",
        "Data/WDStatus.swift",
        "HTML/FileComponents.swift",
        "HTML/WDHTML.swift",
        "HTML/WDPageFooter.swift",
        "HTML/WDPageHeader.swift",
        "HTML/WDPageListSubtext.swift",
        "HTML/WDPageStatusList.swift",
        "Helpers/ANSIColors.swift",
        "Helpers/CLISpinner.swift",
        "Helpers/Extensions/Bundle+StaticURL.swift",
        "Helpers/Extensions/Bundle+StaticURLs.swift",
        "Helpers/Extensions/ClosedRange+ContainsRange.swift",
        "Helpers/Extensions/Error+UnderlyingLocalizedDescription.swift",
        "Helpers/Extensions/HTTPURLResponse+TextEncoding.swift",
        "Helpers/Extensions/KeyedDecodingContainer+AssignIfPresent.swift",
        "Helpers/Extensions/Sequence+Uniqued.swift",
        "Helpers/Extensions/String+CFString.swift",
        "Helpers/Extensions/String+Color+Bold.swift",
        "Helpers/Extensions/String.Encoding+IANACharset.swift",
        "Helpers/Extensions/Task+SleepTimeInterval.swift",
        "Helpers/Extensions/URL+CurrentDirectory.swift",
        "Helpers/Extensions/URL+StaticString.swift",
        "Helpers/Extensions/URLRequest+PreferredTextEncoding.swift",
        "Helpers/Extensions/URLSession+RetryingData.swift",
        "Helpers/HTTPMethod.swift",
        "Helpers/OSUtils.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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 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/apple/swift-argument-parser.git
[1/16686] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.90s)
Fetching https://github.com/jpsim/Yams.git
[1/11263] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.53s)
Fetching https://github.com/JohnSundell/Plot.git
[1/2096] Fetching plot
Fetched https://github.com/JohnSundell/Plot.git from cache (0.28s)
Fetching https://github.com/JohnSundell/ShellOut.git
[1/980] Fetching shellout
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.22s)
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2158] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.47s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3578] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.42s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.10s)
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at e1577acf2b6e90086d01a6d5e2b8efdaae033568
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 41982a3656a71c768319979febd796c6fd111d5c
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 85e4bb4e1cd62cec64a4b8e769dcefdf0c5b9d64
Creating working copy for https://github.com/JohnSundell/Plot.git
Working copy of https://github.com/JohnSundell/Plot.git resolved at 271926b4413fe868739d99f5eadcf2bd6cd62fb8
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at b4b8042411dc7bbb696300a34a4bf3ba1b7ad19b
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/25] Write sources
[7/25] Copying Resources
[8/25] Write sources
[10/25] Compiling reader.c
[11/25] Compiling parser.c
[12/25] Compiling api.c
[13/25] Compiling emitter.c
[14/25] Compiling writer.c
[15/25] Compiling scanner.c
[16/25] Write swift-version-24593BA9C3E375BF.txt
[18/108] Emitting module Yams
[19/110] Compiling Plot Document.swift
[20/110] Compiling Plot DocumentEncoding.swift
[21/110] Compiling ArgumentParserToolInfo ToolInfo.swift
[22/110] Emitting module ArgumentParserToolInfo
[23/111] Wrapping AST for ArgumentParserToolInfo for debugging
[25/149] Compiling ArgumentParser OptionGroup.swift
[26/149] Compiling ArgumentParser AsyncParsableCommand.swift
[27/149] Compiling ArgumentParser CommandConfiguration.swift
[28/149] Compiling ArgumentParser CommandGroup.swift
[29/149] Compiling ArgumentParser EnumerableFlag.swift
[30/154] Emitting module ArgumentParser
[33/154] Compiling ArgumentParser BashCompletionsGenerator.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.
[34/154] Compiling ArgumentParser CompletionsGenerator.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.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/154] Emitting module ShellOut
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
[36/154] Compiling ShellOut ShellOut.swift
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
[37/154] Compiling ArgumentParser ParsableArguments.swift
[38/154] Compiling ArgumentParser ParsableArgumentsValidation.swift
[41/154] Compiling ArgumentParser ExpressibleByArgument.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/12] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/95] Emitting module ShellOut
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
[6/95] Compiling ShellOut ShellOut.swift
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
[7/95] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm