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 SwiftSemantics, reference main (054130), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 23:40:57 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/SwiftDocOrg/SwiftSemantics.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/SwiftDocOrg/SwiftSemantics
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0541303 Update README.md
Cloned https://github.com/SwiftDocOrg/SwiftSemantics.git
Revision (git rev-parse @):
0541303c42f4ad92cb3b22618f3de4b6a1a836d2
SUCCESS checkout https://github.com/SwiftDocOrg/SwiftSemantics.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/SwiftDocOrg/SwiftSemantics.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/apple/swift-syntax.git
[1/70906] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (7.43s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50300.0 (8.06s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50300.0
Building for debugging...
[0/7] Write sources
[2/7] Compiling atomic-counter.c
[3/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/43] 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.
[6/48] 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.
[7/48] 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.
[8/48] 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.
[9/48] Compiling SwiftSyntax DiagnosticConsumer.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.
[10/48] Compiling SwiftSyntax DiagnosticEngine.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.
[11/48] Compiling SwiftSyntax IncrementalParseTransition.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.
[12/48] 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.
[13/48] 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.
[14/48] 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.
[15/48] 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.
[16/48] 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/48] 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/48] 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/48] 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/48] 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/48] Compiling SwiftSyntax Misc.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/48] Compiling SwiftSyntax SyntaxAnyVisitor.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/48] Compiling SwiftSyntax SyntaxBaseNodes.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.
[24/48] Compiling SwiftSyntax SyntaxBuilders.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.
[25/48] Compiling SwiftSyntax SyntaxClassification.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.
[26/48] Compiling SwiftSyntax SyntaxCollections.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.
[27/48] Compiling SwiftSyntax SyntaxEnum.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/48] Compiling SwiftSyntax SyntaxFactory.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/48] Compiling SwiftSyntax SyntaxKind.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/48] Compiling SwiftSyntax SyntaxRewriter.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/48] Compiling SwiftSyntax SyntaxData.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.
[32/48] Compiling SwiftSyntax SyntaxOtherNodes.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.
[33/48] Compiling SwiftSyntax SyntaxParser.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.
[34/48] Compiling SwiftSyntax SyntaxVerifier.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.
[35/48] Compiling SwiftSyntax Utils.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.
[36/48] Compiling SwiftSyntax SyntaxExprNodes.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.
[37/48] Compiling SwiftSyntax SyntaxNodes.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.
[38/48] Compiling SwiftSyntax SyntaxPatternNodes.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.
[39/48] Compiling SwiftSyntax SyntaxStmtNodes.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.
[40/48] Compiling SwiftSyntax SyntaxTypeNodes.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.
[41/48] Compiling SwiftSyntax SyntaxTraits.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.
[42/48] Compiling SwiftSyntax SyntaxVisitor.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.
[43/48] Compiling SwiftSyntax TokenKind.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.
[44/48] Compiling SwiftSyntax Trivia.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.
[45/48] Compiling SwiftSyntax SyntaxDeclNodes.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.
BUILD FAILURE 6.2 wasm