The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PlaygroundTools, reference main (f331e2), with Swift 6.1 for Wasm on 28 May 2025 10:25:33 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/liamnichols/swift-playground-tools.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/liamnichols/swift-playground-tools
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f331e26 Remove GeneratorError.swift
Cloned https://github.com/liamnichols/swift-playground-tools.git
Revision (git rev-parse @):
f331e26ce0faeed6910d14fe37524b6dd9209be0
SUCCESS checkout https://github.com/liamnichols/swift-playground-tools.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/liamnichols/swift-playground-tools.git
https://github.com/liamnichols/swift-playground-tools.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit.git"
    },
    {
      "identity" : "xcodegen",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/yonaskolb/XcodeGen.git"
    }
  ],
  "manifest_display_name" : "PlaygroundTools",
  "name" : "PlaygroundTools",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "playground-tools",
      "targets" : [
        "PlaygroundTools"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PlaygroundToolsTests",
      "module_type" : "SwiftTarget",
      "name" : "PlaygroundToolsTests",
      "path" : "Tests/PlaygroundToolsTests",
      "sources" : [
        "GeneratorTests.swift"
      ],
      "target_dependencies" : [
        "PlaygroundTools"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PlaygroundToolsKit",
      "module_type" : "SwiftTarget",
      "name" : "PlaygroundToolsKit",
      "path" : "Sources/PlaygroundToolsKit",
      "product_dependencies" : [
        "XcodeGenKit",
        "ProjectSpec",
        "PathKit"
      ],
      "product_memberships" : [
        "playground-tools"
      ],
      "sources" : [
        "Package.swift",
        "PackageLoaders/HackyV4PackageLoader.swift",
        "StringError.swift",
        "SwiftPlaygroundApp.swift",
        "XcodeProject.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PlaygroundTools",
      "module_type" : "SwiftTarget",
      "name" : "PlaygroundTools",
      "path" : "Sources/PlaygroundTools",
      "product_dependencies" : [
        "ArgumentParser",
        "PathKit"
      ],
      "product_memberships" : [
        "playground-tools"
      ],
      "sources" : [
        "PlaygroundTools.swift"
      ],
      "target_dependencies" : [
        "PlaygroundToolsKit"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/kylef/PathKit.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/yonaskolb/XcodeGen.git
[1/1411] Fetching pathkit
[1412/26864] Fetching pathkit, xcodegen
[14139/42215] Fetching pathkit, xcodegen, swift-argument-parser
Fetched https://github.com/kylef/PathKit.git from cache (1.19s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.20s)
Fetched https://github.com/yonaskolb/XcodeGen.git from cache (1.22s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (3.76s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.28s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.94s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.56s)
Computing version for https://github.com/yonaskolb/XcodeGen.git
Computed https://github.com/yonaskolb/XcodeGen.git at 2.43.0 (1.28s)
Fetching https://github.com/mxcl/Version
Fetching https://github.com/jakeheis/SwiftCLI.git
Fetching https://github.com/tuist/XcodeProj.git
Fetching https://github.com/jpsim/Yams.git
[1/288] Fetching version
[65/5362] Fetching version, swiftcli
Fetching https://github.com/yonaskolb/JSONUtilities.git
Fetched https://github.com/mxcl/Version from cache (0.46s)
[3197/5074] Fetching swiftcli
[5075/28364] Fetching swiftcli, xcodeproj
[12062/39021] Fetching swiftcli, xcodeproj, yams
[12868/40374] Fetching swiftcli, xcodeproj, yams, jsonutilities
Fetched https://github.com/yonaskolb/JSONUtilities.git from cache (0.53s)
[16981/39021] Fetching swiftcli, xcodeproj, yams
Fetching https://github.com/onevcat/Rainbow.git
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (2.44s)
Fetched https://github.com/tuist/XcodeProj.git from cache (2.65s)
Fetched https://github.com/jpsim/Yams.git from cache (2.65s)
[1/1196] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow.git from cache (0.43s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.3 (3.73s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.24.3 (0.73s)
Fetching https://github.com/tadija/AEXML.git
[1/2127] Fetching aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.38s)
Computing version for https://github.com/yonaskolb/JSONUtilities.git
Computed https://github.com/yonaskolb/JSONUtilities.git at 4.2.0 (1.00s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.6.1 (0.63s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.1.0 (0.59s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.1.0 (2.13s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (1.01s)
Creating working copy for https://github.com/yonaskolb/XcodeGen.git
Working copy of https://github.com/yonaskolb/XcodeGen.git resolved at 2.43.0
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 1.5.0
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 4.1.0
Creating working copy for https://github.com/jakeheis/SwiftCLI.git
Working copy of https://github.com/jakeheis/SwiftCLI.git resolved at 6.0.3
Creating working copy for https://github.com/mxcl/Version
Working copy of https://github.com/mxcl/Version resolved at 2.1.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/yonaskolb/JSONUtilities.git
Working copy of https://github.com/yonaskolb/JSONUtilities.git resolved at 4.2.0
Creating working copy for https://github.com/tuist/XcodeProj.git
Working copy of https://github.com/tuist/XcodeProj.git resolved at 8.24.3
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.6.1
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/37] Write sources
[14/37] Copying SettingPresets
[15/37] Compiling writer.c
[16/37] Compiling reader.c
[17/37] Compiling api.c
[18/37] Compiling parser.c
[19/37] Compiling emitter.c
[20/37] Compiling scanner.c
[20/37] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/82] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[24/82] Emitting module ArgumentParserToolInfo
[25/82] Compiling ArgumentParserToolInfo ToolInfo.swift
[26/83] Compiling Yams Tag.swift
[27/83] Compiling Yams YamlAnchorProviding.swift
[29/85] Compiling Version Version+Codable.swift
[30/85] Compiling Version Version.swift
[30/85] Wrapping AST for ArgumentParserToolInfo for debugging
[32/123] Compiling Version Version+Range.swift
[33/123] Compiling JSONUtilities Dictionary+KeyPath.swift
[34/124] Compiling AEXML Parser.swift
[35/124] Compiling JSONUtilities JSONObjectConvertible.swift
[36/124] Compiling Version Version+Comparable.swift
[37/124] Emitting module Yams
[38/124] Compiling ArgumentParser ArgumentVisibility.swift
[39/124] Compiling ArgumentParser CompletionKind.swift
[40/124] Compiling ArgumentParser Errors.swift
[41/124] Compiling Version Version+Foundation.swift
[42/124] Emitting module Version
[43/124] Compiling AEXML Element.swift
[44/125] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[45/125] Compiling JSONUtilities JSONFileLoading.swift
[47/125] Compiling JSONUtilities URL+JSONPrimitiveConvertible.swift
[48/125] Compiling ArgumentParser OptionGroup.swift
[49/125] Compiling ArgumentParser AsyncParsableCommand.swift
[50/125] Compiling ArgumentParser CommandConfiguration.swift
[51/125] Compiling ArgumentParser CommandGroup.swift
[52/125] Compiling ArgumentParser EnumerableFlag.swift
[53/125] Emitting module JSONUtilities
[54/125] Compiling AEXML Document.swift
[55/125] Compiling AEXML Error.swift
[56/125] Emitting module AEXML
/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.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/17] Write swift-version-24593BA9C3E375BF.txt
[3/62] Compiling JSONUtilities JSONPrimitiveConvertible.swift
[4/62] Compiling JSONUtilities KeyPath.swift
[5/62] Compiling JSONUtilities JSONObjectConvertible.swift
[6/63] Emitting module AEXML
[7/63] Compiling JSONUtilities InvalidItemBehaviour.swift
[8/63] Compiling JSONUtilities Dictionary+KeyPath.swift
[9/63] Compiling JSONUtilities JSONFileLoading.swift
[10/63] Compiling Version Version+Codable.swift
[11/63] Compiling Version Version+Comparable.swift
[12/63] Emitting module Version
[13/63] Compiling Version Version+Range.swift
[14/63] Compiling Version Version+Foundation.swift
[15/63] Compiling Version Version.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/64] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[17/64] Compiling AEXML Parser.swift
[18/64] Compiling AEXML Error.swift
[19/64] Compiling AEXML Options.swift
[20/64] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[21/64] Compiling JSONUtilities URL+JSONPrimitiveConvertible.swift
[23/64] Emitting module JSONUtilities
[24/64] Emitting module Yams
[25/64] Emitting module ArgumentParserToolInfo
[26/64] Compiling AEXML Document.swift
BUILD FAILURE 6.1 wasm