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 master (3a87c1), with Swift 6.1 for Wasm on 27 May 2025 16:36:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
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-4609320-0":/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/xcodeswift/xcproj.git
Fetching https://github.com/kareman/Moderator.git
Fetching https://github.com/kareman/SwiftShell.git
Fetching https://github.com/onevcat/Rainbow.git
[1/1196] Fetching rainbow
[731/1854] Fetching rainbow, moderator
[1609/6717] Fetching rainbow, moderator, swiftshell
Fetched https://github.com/onevcat/Rainbow.git from cache (0.34s)
[4096/5521] Fetching moderator, swiftshell
[4340/28811] Fetching moderator, swiftshell, xcproj
Fetched https://github.com/kareman/SwiftShell.git from cache (0.56s)
[5346/23948] Fetching moderator, xcproj
Fetched https://github.com/kareman/Moderator.git from cache (1.77s)
[20961/23290] Fetching xcproj
Fetched https://github.com/xcodeswift/xcproj.git from cache (2.32s)
Computing version for https://github.com/xcodeswift/xcproj.git
Computed https://github.com/xcodeswift/xcproj.git at 4.3.1 (4.77s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/tadija/AEXML.git
[1/1411] Fetching pathkit
[1003/2371] Fetching pathkit, shellout
[1195/4498] Fetching pathkit, shellout, aexml
Fetched https://github.com/kylef/PathKit.git from cache (0.56s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.56s)
Fetched https://github.com/tadija/AEXML.git from cache (0.56s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (3.13s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.24s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (0.81s)
Computing version for https://github.com/kareman/Moderator.git
Computed https://github.com/kareman/Moderator.git at 0.5.1 (0.47s)
Computing version for https://github.com/kareman/SwiftShell.git
Computed https://github.com/kareman/SwiftShell.git at 4.1.2 (0.50s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (1.91s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.68s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (1.82s)
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/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
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/kareman/Moderator.git
Working copy of https://github.com/kareman/Moderator.git resolved at 0.5.1
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/xcodeswift/xcproj.git
Working copy of https://github.com/xcodeswift/xcproj.git resolved at 4.3.1
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/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.2.0
Building for debugging...
[0/17] Write sources
[7/17] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/51] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/51] 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
[11/52] Emitting module AEXML
[12/52] Compiling Moderator SwiftCompat.swift
[13/52] Compiling Rainbow Style.swift
[14/52] Compiling Rainbow String+Rainbow.swift
[15/52] Compiling Rainbow StringGenerator.swift
[16/53] Compiling Moderator Parsers.swift
[17/53] Emitting module Rainbow
[18/53] Compiling Rainbow XcodeColorsSupport.swift
[19/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
[20/53] Compiling Rainbow Rainbow.swift
[21/53] Compiling AEXML Builders.swift
[22/53] 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
[23/53] Compiling Rainbow BackgroundColor.swift
[24/53] Compiling Rainbow CodesParser.swift
[25/53] Compiling Rainbow ModesExtractor.swift
[26/53] Compiling Rainbow OutputTarget.swift
[27/53] Compiling Rainbow Color.swift
[28/53] Compiling Rainbow ControlCode.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
[31/54] 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
[32/54] 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
[33/54] Emitting module Moderator
[34/54] Compiling Moderator Moderator.swift
[35/55] Compiling AEXML Error.swift
[36/55] Compiling AEXML Document.swift
[37/55] 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
[38/55] Compiling AEXML Element.swift
[39/55] Compiling AEXML Parser.swift
[40/55] 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
/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
[43/55] 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
[44/55] Compiling AEXML Options.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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 Moderator SwiftCompat.swift
[3/44] 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
[4/45] Compiling Rainbow StringGenerator.swift
[5/45] Compiling Rainbow Style.swift
[6/46] 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
[7/46] Compiling AEXML Builders.swift
[8/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
[9/46] Emitting module Rainbow
[10/46] Compiling SwiftShell Bash.swift
[11/46] Compiling SwiftShell Command.swift
[12/46] Emitting module AEXML
[13/46] Compiling SwiftShell Context.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
[14/46] Compiling SwiftShell FileHandle.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
[15/46] 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
[16/46] 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
[17/46] 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
[18/46] Compiling Rainbow String+Rainbow.swift
[19/46] Compiling Rainbow Rainbow.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/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
[21/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
/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
[24/46] Emitting module Moderator
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/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
[26/46] Compiling AEXML Options.swift
[27/46] Compiling AEXML Error.swift
[28/46] Compiling Rainbow XcodeColorsSupport.swift
[29/46] Compiling AEXML Parser.swift
[30/46] Compiling Rainbow ModesExtractor.swift
[31/46] Compiling Rainbow OutputTarget.swift
[34/47] Compiling Moderator Moderator.swift
[35/47] Compiling Moderator Parsers.swift
[36/47] Compiling AEXML Document.swift
BUILD FAILURE 6.1 wasm