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 swift-libs, reference main (fca5e0), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 09:34:18 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/rock-n-code/swift-libs.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/rock-n-code/swift-libs
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at fca5e03 [Bugfix] Reference to Coordination library amended (#25)
Cloned https://github.com/rock-n-code/swift-libs.git
Revision (git rev-parse @):
fca5e034d60bafeb450c9f23ab70c0712acc0c97
SUCCESS checkout https://github.com/rock-n-code/swift-libs.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/rock-n-code/swift-libs.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/apple/swift-docc-plugin
[1/2082] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.43s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (0.87s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3413] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.40s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.96s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/35] Emitting module SwiftLibsCommunication
/host/spi-builder-workspace/Libraries/Communication/Classes/MockURLProtocol.swift:13:8: error: no such module 'Foundation'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | #if canImport(FoundationNetworking)
[9/35] Compiling SwiftLibsFoundation TimeZone+Zone.swift
/host/spi-builder-workspace/Libraries/Foundation/Extensions/Bundle+LocalisationBundle.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
   |        `- error: no such module 'Foundation'
14 |
15 | public extension Bundle {
[10/35] Compiling SwiftLibsFoundation Bundle+LocalisationBundle.swift
/host/spi-builder-workspace/Libraries/Foundation/Extensions/Bundle+LocalisationBundle.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
   |        `- error: no such module 'Foundation'
14 |
15 | public extension Bundle {
[11/35] Compiling SwiftLibsFoundation BundleError.swift
/host/spi-builder-workspace/Libraries/Foundation/Extensions/Bundle+LocalisationBundle.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
   |        `- error: no such module 'Foundation'
14 |
15 | public extension Bundle {
[12/35] Compiling SwiftLibsFoundation Bool+Init.swift
/host/spi-builder-workspace/Libraries/Foundation/Extensions/Bundle+LocalisationBundle.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
   |        `- error: no such module 'Foundation'
14 |
15 | public extension Bundle {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/35] Emitting module SwiftLibsFoundation
/host/spi-builder-workspace/Libraries/Foundation/Extensions/Bundle+LocalisationBundle.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
   |        `- error: no such module 'Foundation'
14 |
15 | public extension Bundle {
[14/35] Compiling SwiftLibsFoundation String+Localisation.swift
/host/spi-builder-workspace/Libraries/Foundation/Extensions/Bundle+LocalisationBundle.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
   |        `- error: no such module 'Foundation'
14 |
15 | public extension Bundle {
[15/36] Compiling SwiftLibsFoundation LossyCodableList.swift
/host/spi-builder-workspace/Libraries/Foundation/Extensions/Bundle+LocalisationBundle.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
   |        `- error: no such module 'Foundation'
14 |
15 | public extension Bundle {
[16/36] Compiling SwiftLibsCoordination BaseNavigationRouter.swift
[17/36] Compiling SwiftLibsCoordination Router.swift
[18/36] Emitting module SwiftLibsCoordination
[19/36] Compiling SwiftLibsFoundation Optional+Nil.swift
/host/spi-builder-workspace/Libraries/Foundation/Extensions/Bundle+LocalisationBundle.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
   |        `- error: no such module 'Foundation'
14 |
15 | public extension Bundle {
[20/36] Compiling SwiftLibsCoordination PushNavigationRouter.swift
[21/36] Compiling SwiftLibsCoordination WindowRouter.swift
[22/36] Compiling SwiftLibsFoundation String+Empty.swift
/host/spi-builder-workspace/Libraries/Foundation/Extensions/Bundle+LocalisationBundle.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
   |        `- error: no such module 'Foundation'
14 |
15 | public extension Bundle {
[23/36] Compiling SwiftLibsFoundation Collection+Empty.swift
/host/spi-builder-workspace/Libraries/Foundation/Extensions/Bundle+LocalisationBundle.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
   |        `- error: no such module 'Foundation'
14 |
15 | public extension Bundle {
[24/36] Compiling SwiftLibsCommunication MakeURLRequestUseCase.swift
/host/spi-builder-workspace/Libraries/Communication/Classes/MockURLProtocol.swift:13:8: error: no such module 'Foundation'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | #if canImport(FoundationNetworking)
[25/36] Compiling SwiftLibsCommunication Endpoint.swift
/host/spi-builder-workspace/Libraries/Communication/Classes/MockURLProtocol.swift:13:8: error: no such module 'Foundation'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | #if canImport(FoundationNetworking)
[26/36] Compiling SwiftLibsCommunication Client.swift
/host/spi-builder-workspace/Libraries/Communication/Classes/MockURLProtocol.swift:13:8: error: no such module 'Foundation'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | #if canImport(FoundationNetworking)
[27/36] Compiling SwiftLibsCommunication HTTPRequestMethod.swift
/host/spi-builder-workspace/Libraries/Communication/Classes/MockURLProtocol.swift:13:8: error: no such module 'Foundation'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | #if canImport(FoundationNetworking)
[28/36] Compiling SwiftLibsCommunication HTTPResponseCode.swift
/host/spi-builder-workspace/Libraries/Communication/Classes/MockURLProtocol.swift:13:8: error: no such module 'Foundation'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | #if canImport(FoundationNetworking)
[29/36] Compiling SwiftLibsCommunication MockURLProtocol.swift
/host/spi-builder-workspace/Libraries/Communication/Classes/MockURLProtocol.swift:13:8: error: no such module 'Foundation'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | #if canImport(FoundationNetworking)
[30/36] Compiling SwiftLibsCommunication MakeURLRequestError.swift
/host/spi-builder-workspace/Libraries/Communication/Classes/MockURLProtocol.swift:13:8: error: no such module 'Foundation'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | #if canImport(FoundationNetworking)
[31/36] Compiling SwiftLibsDependency DependencyKey.swift
[32/36] Compiling SwiftLibsDependency Dependency.swift
[33/36] Compiling SwiftLibsDependency DependencyService.swift
[34/36] Emitting module SwiftLibsDependency
[35/37] Compiling SwiftLibsCoordination Coordinator.swift
[36/37] Compiling SwiftLibsCoordination ModalNavigationRouter.swift
BUILD FAILURE 6.2 wasm