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 BetterXC, reference 0.9.3 (3a87c1), with Swift 6.1 for Wasm on 27 May 2025 16:36:49 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/monstar-lab/betterxc.git
Reference: 0.9.3
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/monstar-lab/betterxc
 * tag               0.9.3      -> FETCH_HEAD
HEAD is now at 3a87c18 Merge branch 'release/0.9.3'
Cloned https://github.com/monstar-lab/betterxc.git
Revision (git rev-parse @):
3a87c187cdc9a6e5b16ade2d71518bc6175b2720
SUCCESS checkout https://github.com/monstar-lab/betterxc.git at 0.9.3
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/monstar-lab/betterxc.git
https://github.com/monstar-lab/betterxc.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "xcproj",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.3.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/xcodeswift/xcproj.git"
    },
    {
      "identity" : "swiftshell",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.1.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kareman/SwiftShell.git"
    },
    {
      "identity" : "moderator",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.3",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kareman/Moderator.git"
    },
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.1.4",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow.git"
    }
  ],
  "manifest_display_name" : "BetterXC",
  "name" : "BetterXC",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "xc",
      "targets" : [
        "BetterXC"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BetterXC",
      "module_type" : "SwiftTarget",
      "name" : "BetterXC",
      "path" : "Sources/BetterXC",
      "product_dependencies" : [
        "xcproj",
        "SwiftShell",
        "Moderator",
        "Rainbow"
      ],
      "product_memberships" : [
        "xc"
      ],
      "sources" : [
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "4.0"
}
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/kareman/Moderator.git
Fetching https://github.com/xcodeswift/xcproj.git
Fetching https://github.com/kareman/SwiftShell.git
Fetching https://github.com/onevcat/Rainbow.git
[1/4863] Fetching swiftshell
[1120/5521] Fetching swiftshell, moderator
[1564/6717] Fetching swiftshell, moderator, rainbow
[6460/30007] Fetching swiftshell, moderator, rainbow, xcproj
Fetched https://github.com/onevcat/Rainbow.git from cache (0.95s)
[22057/28811] Fetching swiftshell, moderator, xcproj
Fetched https://github.com/kareman/SwiftShell.git from cache (1.68s)
Fetched https://github.com/kareman/Moderator.git from cache (1.71s)
Fetched https://github.com/xcodeswift/xcproj.git from cache (1.72s)
Computing version for https://github.com/xcodeswift/xcproj.git
Computed https://github.com/xcodeswift/xcproj.git at 4.3.1 (2.39s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/tadija/AEXML.git
[1/960] Fetching shellout
[683/2371] Fetching shellout, pathkit
[1090/4498] Fetching shellout, pathkit, aexml
Fetched https://github.com/kylef/PathKit.git from cache (0.35s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.38s)
Fetched https://github.com/tadija/AEXML.git from cache (0.37s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (2.90s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.32s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (1.01s)
Computing version for https://github.com/kareman/Moderator.git
Computed https://github.com/kareman/Moderator.git at 0.5.1 (0.64s)
Computing version for https://github.com/kareman/SwiftShell.git
Computed https://github.com/kareman/SwiftShell.git at 4.1.2 (0.57s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (2.38s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.61s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (0.53s)
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
Creating working copy for https://github.com/kareman/SwiftShell.git
Working copy of https://github.com/kareman/SwiftShell.git resolved at 4.1.2
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.7.0
Creating working copy for https://github.com/xcodeswift/xcproj.git
Working copy of https://github.com/xcodeswift/xcproj.git resolved at 4.3.1
Creating working copy for https://github.com/kareman/Moderator.git
Working copy of https://github.com/kareman/Moderator.git resolved at 0.5.1
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.2.0
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Building for debugging...
[0/17] Write sources
[7/17] Write swift-version-24593BA9C3E375BF.txt
[9/51] Compiling SwiftShell Lazy-split.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:11:8: error: no such module 'Dispatch'
  9 |
 10 | import Foundation
 11 | import Dispatch
    |        `- error: no such module 'Dispatch'
 12 |
 13 | // MARK: exit
[10/52] Compiling Moderator Parsers.swift
[11/52] Compiling Moderator SwiftCompat.swift
[12/52] Compiling Rainbow StringGenerator.swift
[13/52] Compiling Rainbow String+Rainbow.swift
[14/52] Compiling Rainbow Style.swift
[15/53] Compiling Rainbow XcodeColorsSupport.swift
[16/53] Compiling SwiftShell String.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:11:8: error: no such module 'Dispatch'
  9 |
 10 | import Foundation
 11 | import Dispatch
    |        `- error: no such module 'Dispatch'
 12 |
 13 | // MARK: exit
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/53] 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
[18/53] 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
[19/53] Compiling SwiftShell Bash.swift
[20/53] Compiling SwiftShell Command.swift
[21/53] Compiling AEXML Options.swift
[22/53] Compiling SwiftShell Context.swift
[23/53] Compiling SwiftShell FileHandle.swift
[24/53] Emitting module Rainbow
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/10] Write swift-version-24593BA9C3E375BF.txt
[2/44] Compiling SwiftShell Context.swift
[3/44] Compiling SwiftShell FileHandle.swift
[4/45] Compiling Moderator SwiftCompat.swift
[5/45] Compiling SwiftShell Lazy-split.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:11:8: error: no such module 'Dispatch'
  9 |
 10 | import Foundation
 11 | import Dispatch
    |        `- error: no such module 'Dispatch'
 12 |
 13 | // MARK: exit
[6/45] Compiling SwiftShell Array.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:11:8: error: no such module 'Dispatch'
  9 |
 10 | import Foundation
 11 | import Dispatch
    |        `- error: no such module 'Dispatch'
 12 |
 13 | // MARK: exit
[7/45] Compiling SwiftShell Process.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:11:8: error: no such module 'Dispatch'
  9 |
 10 | import Foundation
 11 | import Dispatch
    |        `- error: no such module 'Dispatch'
 12 |
 13 | // MARK: exit
[8/45] Compiling SwiftShell Stream.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:11:8: error: no such module 'Dispatch'
  9 |
 10 | import Foundation
 11 | import Dispatch
    |        `- error: no such module 'Dispatch'
 12 |
 13 | // MARK: exit
[9/46] Compiling AEXML Error.swift
[10/46] Compiling SwiftShell Files.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:11:8: error: no such module 'Dispatch'
  9 |
 10 | import Foundation
 11 | import Dispatch
    |        `- error: no such module 'Dispatch'
 12 |
 13 | // MARK: exit
[11/46] Compiling Rainbow Style.swift
[12/46] Compiling SwiftShell Bash.swift
[13/46] Compiling SwiftShell Command.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:11:8: error: no such module 'Dispatch'
  9 |
 10 | import Foundation
 11 | import Dispatch
    |        `- error: no such module 'Dispatch'
 12 |
 13 | // MARK: exit
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:11:8: error: no such module 'Dispatch'
  9 |
 10 | import Foundation
 11 | import Dispatch
    |        `- error: no such module 'Dispatch'
 12 |
 13 | // MARK: exit
[16/46] Compiling Rainbow StringGenerator.swift
[17/46] Emitting module Rainbow
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/46] Emitting module SwiftShell
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:11:8: error: no such module 'Dispatch'
  9 |
 10 | import Foundation
 11 | import Dispatch
    |        `- error: no such module 'Dispatch'
 12 |
 13 | // MARK: exit
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:11:8: error: no such module 'Dispatch'
  9 |
 10 | import Foundation
 11 | import Dispatch
    |        `- error: no such module 'Dispatch'
 12 |
 13 | // MARK: exit
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:11:8: error: no such module 'Dispatch'
  9 |
 10 | import Foundation
 11 | import Dispatch
    |        `- error: no such module 'Dispatch'
 12 |
 13 | // MARK: exit
[21/46] Compiling Rainbow ModesExtractor.swift
[22/46] Compiling Rainbow OutputTarget.swift
[23/46] Compiling Rainbow String+Rainbow.swift
[24/46] Compiling Rainbow Rainbow.swift
[25/46] Compiling AEXML Options.swift
[26/46] Compiling AEXML Parser.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/46] Compiling AEXML Builders.swift
[28/46] 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
[29/46] 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
[30/46] Compiling AEXML Document.swift
[31/46] Emitting module AEXML
[32/46] Compiling AEXML Element.swift
[33/46] Compiling Rainbow XcodeColorsSupport.swift
[34/48] Compiling SwiftShell String.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:11:8: error: no such module 'Dispatch'
  9 |
 10 | import Foundation
 11 | import Dispatch
    |        `- error: no such module 'Dispatch'
 12 |
 13 | // MARK: exit
[35/48] Compiling Moderator Moderator.swift
[36/48] Emitting module Moderator
[37/48] Compiling Moderator Parsers.swift
BUILD FAILURE 6.1 wasm