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 Typology, reference main (dab32c), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 07:37:03 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/MaxDesiatov/typology.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/MaxDesiatov/typology
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at dab32c6 Update README.md
Cloned https://github.com/MaxDesiatov/typology.git
Revision (git rev-parse @):
dab32c64d12b433e3ebc59ffbce3c60faafa724c
SUCCESS checkout https://github.com/MaxDesiatov/typology.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/MaxDesiatov/typology.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/onevcat/Rainbow
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/jakeheis/SwiftCLI
[1/1196] Fetching rainbow
[1197/6270] Fetching rainbow, swiftcli
Fetched https://github.com/jakeheis/SwiftCLI from cache (0.49s)
[1/70882] Fetching swift-syntax
Fetched https://github.com/onevcat/Rainbow from cache (7.49s)
Fetched https://github.com/apple/swift-syntax.git from cache (7.55s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50400.0 (8.31s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (2.43s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 5.3.3 (0.53s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50400.0
Creating working copy for https://github.com/jakeheis/SwiftCLI
Working copy of https://github.com/jakeheis/SwiftCLI resolved at 5.3.3
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
Building for debugging...
[0/16] Write sources
[5/16] Compiling atomic-counter.c
[6/16] Write swift-version-24593BA9C3E375BF.txt
[8/84] Compiling Rainbow Rainbow.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | //  THE SOFTWARE.
26 |
27 | import Foundation
   |        `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
[9/85] Compiling Rainbow Style.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | //  THE SOFTWARE.
26 |
27 | import Foundation
   |        `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
[10/85] Compiling SwiftSyntax SyntaxVerifier.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[11/85] Compiling SwiftSyntax Utils.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[12/87] Compiling Rainbow XcodeColorsSupport.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | //  THE SOFTWARE.
26 |
27 | import Foundation
   |        `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
[13/87] Compiling SwiftSyntax DiagnosticConsumer.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[14/87] Compiling SwiftSyntax DiagnosticEngine.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[15/87] Compiling SwiftSyntax IncrementalParseTransition.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[16/87] Compiling SwiftSyntax SourceLocation.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/DiagnosticEngine.swift:16:8: error: no such module 'Foundation'
 14 | //===----------------------------------------------------------------------===//
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | /// The DiagnosticEngine allows Swift tools to emit diagnostics.
[17/87] Compiling SwiftSyntax SourcePresence.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/DiagnosticEngine.swift:16:8: error: no such module 'Foundation'
 14 | //===----------------------------------------------------------------------===//
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | /// The DiagnosticEngine allows Swift tools to emit diagnostics.
[18/87] Compiling SwiftSyntax Syntax.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/DiagnosticEngine.swift:16:8: error: no such module 'Foundation'
 14 | //===----------------------------------------------------------------------===//
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | /// The DiagnosticEngine allows Swift tools to emit diagnostics.
[19/87] Compiling SwiftSyntax SyntaxChildren.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/DiagnosticEngine.swift:16:8: error: no such module 'Foundation'
 14 | //===----------------------------------------------------------------------===//
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | /// The DiagnosticEngine allows Swift tools to emit diagnostics.
[20/87] Compiling SwiftSyntax SyntaxClassifier.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/DiagnosticEngine.swift:16:8: error: no such module 'Foundation'
 14 | //===----------------------------------------------------------------------===//
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | /// The DiagnosticEngine allows Swift tools to emit diagnostics.
[21/87] Compiling SwiftSyntax AbsolutePosition.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/DiagnosticEngine.swift:16:8: error: no such module 'Foundation'
 14 | //===----------------------------------------------------------------------===//
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | /// The DiagnosticEngine allows Swift tools to emit diagnostics.
[22/87] Compiling SwiftSyntax AtomicCounter.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/DiagnosticEngine.swift:16:8: error: no such module 'Foundation'
 14 | //===----------------------------------------------------------------------===//
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | /// The DiagnosticEngine allows Swift tools to emit diagnostics.
[23/87] Compiling SwiftSyntax Diagnostic.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/DiagnosticEngine.swift:16:8: error: no such module 'Foundation'
 14 | //===----------------------------------------------------------------------===//
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | /// The DiagnosticEngine allows Swift tools to emit diagnostics.
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/DiagnosticEngine.swift:16:8: error: no such module 'Foundation'
 14 | //===----------------------------------------------------------------------===//
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | /// The DiagnosticEngine allows Swift tools to emit diagnostics.
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/DiagnosticEngine.swift:16:8: error: no such module 'Foundation'
 14 | //===----------------------------------------------------------------------===//
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | /// The DiagnosticEngine allows Swift tools to emit diagnostics.
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/DiagnosticEngine.swift:16:8: error: no such module 'Foundation'
 14 | //===----------------------------------------------------------------------===//
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | /// The DiagnosticEngine allows Swift tools to emit diagnostics.
[27/87] Compiling SwiftSyntax JSONDiagnosticConsumer.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/DiagnosticEngine.swift:16:8: error: no such module 'Foundation'
 14 | //===----------------------------------------------------------------------===//
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | /// The DiagnosticEngine allows Swift tools to emit diagnostics.
[28/87] Compiling SwiftSyntax PrintingDiagnosticConsumer.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/DiagnosticEngine.swift:16:8: error: no such module 'Foundation'
 14 | //===----------------------------------------------------------------------===//
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | /// The DiagnosticEngine allows Swift tools to emit diagnostics.
[29/87] Compiling SwiftSyntax RawSyntax.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/DiagnosticEngine.swift:16:8: error: no such module 'Foundation'
 14 | //===----------------------------------------------------------------------===//
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | /// The DiagnosticEngine allows Swift tools to emit diagnostics.
[30/87] Compiling SwiftSyntax SourceLength.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/DiagnosticEngine.swift:16:8: error: no such module 'Foundation'
 14 | //===----------------------------------------------------------------------===//
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | /// The DiagnosticEngine allows Swift tools to emit diagnostics.
[31/92] Compiling Rainbow String+Rainbow.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | //  THE SOFTWARE.
26 |
27 | import Foundation
   |        `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
[32/92] Compiling Rainbow StringGenerator.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | //  THE SOFTWARE.
26 |
27 | import Foundation
   |        `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
[33/92] Compiling SwiftCLI ValueBox.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[34/92] Compiling SwiftCLI VersionCommand.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/92] Emitting module SwiftCLI
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[39/92] Compiling SwiftSyntax SyntaxData.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[40/92] Compiling SwiftSyntax SyntaxOtherNodes.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[41/92] Compiling SwiftSyntax SyntaxParser.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | //  THE SOFTWARE.
26 |
27 | import Foundation
   |        `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | //  THE SOFTWARE.
26 |
27 | import Foundation
   |        `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | //  THE SOFTWARE.
26 |
27 | import Foundation
   |        `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | //  THE SOFTWARE.
26 |
27 | import Foundation
   |        `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[49/92] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | //  THE SOFTWARE.
26 |
27 | import Foundation
   |        `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | //  THE SOFTWARE.
26 |
27 | import Foundation
   |        `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | //  THE SOFTWARE.
26 |
27 | import Foundation
   |        `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[52/92] Emitting module SwiftSyntax
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/DiagnosticEngine.swift:16:8: error: no such module 'Foundation'
 14 | //===----------------------------------------------------------------------===//
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | /// The DiagnosticEngine allows Swift tools to emit diagnostics.
BUILD FAILURE 6.2 wasm