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 XcodeSelectiveTesting, reference main (314962), with Swift 6.2 (beta) for Wasm on 24 Jun 2025 01:07:37 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.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mikeger/XcodeSelectiveTesting.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/mikeger/XcodeSelectiveTesting
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3149624 Update README.md
Cloned https://github.com/mikeger/XcodeSelectiveTesting.git
Revision (git rev-parse @):
31496247fb467de76e862982a69c7282c48b1a67
SUCCESS checkout https://github.com/mikeger/XcodeSelectiveTesting.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/mikeger/XcodeSelectiveTesting.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/tuist/XcodeProj.git
[1/1196] Fetching rainbow
[791/2607] Fetching rainbow, pathkit
[1252/25948] Fetching rainbow, pathkit, xcodeproj
[4697/36884] Fetching rainbow, pathkit, xcodeproj, yams
[18473/52264] Fetching rainbow, pathkit, xcodeproj, yams, swift-argument-parser
Fetched https://github.com/kylef/PathKit.git from cache (3.86s)
Fetched https://github.com/onevcat/Rainbow from cache (3.86s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.87s)
Fetched https://github.com/tuist/XcodeProj.git from cache (3.90s)
Fetched https://github.com/jpsim/Yams.git from cache (3.90s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (6.61s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.42s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.11s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (2.27s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 9.4.2 (0.38s)
Fetching https://github.com/tadija/AEXML.git
[1/2127] Fetching aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.28s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (0.62s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.38s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.41s)
Creating working copy for https://github.com/tuist/XcodeProj.git
Working copy of https://github.com/tuist/XcodeProj.git resolved at 9.4.2
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.0
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/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.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
/host/spi-builder-workspace/Plugins/SelectiveTestingPlugin/SelectiveTestingPlugin.swift:27:23: warning: result of call to 'changeCurrentDirectoryPath' is unused [#no-usage]
25 |
26 |     func performCommand(context: PluginContext, arguments: [String]) async throws {
27 |         FileManager().changeCurrentDirectoryPath(context.package.directory.string)
   |                       `- warning: result of call to 'changeCurrentDirectoryPath' is unused [#no-usage]
28 |         let tool = try context.tool(named: "xcode-selective-test")
29 |
[1/1] Compiling plugin SelectiveTestingPlugin
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/79] Write sources
[29/79] Compiling writer.c
[31/79] Compiling reader.c
[32/79] Write swift-version-24593BA9C3E375BF.txt
[33/79] Compiling parser.c
[34/79] Compiling reader.c
[35/79] Compiling api.c
[36/79] Compiling emitter.c
[37/96] Compiling parser.c
[38/107] Compiling scanner.c
[39/107] Compiling emitter.c
[40/131] Compiling scanner.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[42/133] 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
[43/133] Emitting module Rainbow
[44/134] Emitting module Yams
[45/136] Compiling Rainbow String+Rainbow.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[46/136] Compiling Rainbow OutputTarget.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[47/136] Compiling Yams Emitter.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[48/136] Compiling Yams Encoder.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[49/136] Compiling Rainbow StringGenerator.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[50/137] Compiling Rainbow Rainbow.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[51/137] Compiling Rainbow Style.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[52/137] 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
[53/137] Emitting module SelectiveTestShell
/host/spi-builder-workspace/Sources/SelectiveTestShell/Shell.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public enum Shell {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[54/137] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[55/137] Compiling Yams Parser.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[56/137] Compiling Yams RedundancyAliasingStrategy.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[57/137] Compiling Yams Representer.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[58/137] Compiling Yams Decoder.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[59/137] Compiling SelectiveTestShell Shell.swift
/host/spi-builder-workspace/Sources/SelectiveTestShell/Shell.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public enum Shell {
[60/137] Compiling SelectiveTestShell String+Error.swift
/host/spi-builder-workspace/Sources/SelectiveTestShell/Shell.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public enum Shell {
[61/137] Emitting module SelectiveTestShell
[62/137] Emitting module PathKit
[63/137] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.2 wasm