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 WikipediaKit, reference 3.0.4 (09538e), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 12:57:29 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/raureif/wikipediakit.git
Reference: 3.0.4
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/raureif/wikipediakit
 * tag               3.0.4      -> FETCH_HEAD
HEAD is now at 09538e1 Update copyright year. Bump version to 3.0.4.
Cloned https://github.com/raureif/wikipediakit.git
Revision (git rev-parse @):
09538e1383017e50a2a940ebc72d0c62c8b4488c
SUCCESS checkout https://github.com/raureif/wikipediakit.git at 3.0.4
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/raureif/wikipediakit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/28] Compiling WikipediaKit WikipediaRandomArticlesBuffer.swift
/host/spi-builder-workspace/Sources/String+Wikipedia.swift:30:8: error: no such module 'Foundation'
28 | //
29 |
30 | import Foundation
   |        `- error: no such module 'Foundation'
31 |
32 | extension String {
[4/28] Compiling WikipediaKit WikipediaSearchMethod.swift
/host/spi-builder-workspace/Sources/String+Wikipedia.swift:30:8: error: no such module 'Foundation'
28 | //
29 |
30 | import Foundation
   |        `- error: no such module 'Foundation'
31 |
32 | extension String {
[5/28] Compiling WikipediaKit WikipediaSearchResults.swift
/host/spi-builder-workspace/Sources/String+Wikipedia.swift:30:8: error: no such module 'Foundation'
28 | //
29 |
30 | import Foundation
   |        `- error: no such module 'Foundation'
31 |
32 | extension String {
[6/28] Compiling WikipediaKit Wikipedia+RandomArticles.swift
/host/spi-builder-workspace/Sources/String+Wikipedia.swift:30:8: error: no such module 'Foundation'
28 | //
29 |
30 | import Foundation
   |        `- error: no such module 'Foundation'
31 |
32 | extension String {
[7/28] Compiling WikipediaKit Wikipedia+Search.swift
/host/spi-builder-workspace/Sources/String+Wikipedia.swift:30:8: error: no such module 'Foundation'
28 | //
29 |
30 | import Foundation
   |        `- error: no such module 'Foundation'
31 |
32 | extension String {
[8/28] Compiling WikipediaKit Wikipedia.swift
/host/spi-builder-workspace/Sources/String+Wikipedia.swift:30:8: error: no such module 'Foundation'
28 | //
29 |
30 | import Foundation
   |        `- error: no such module 'Foundation'
31 |
32 | extension String {
[9/28] Compiling WikipediaKit WikipediaArticle.swift
/host/spi-builder-workspace/Sources/String+Wikipedia.swift:30:8: error: no such module 'Foundation'
28 | //
29 |
30 | import Foundation
   |        `- error: no such module 'Foundation'
31 |
32 | extension String {
[10/28] Compiling WikipediaKit Wikipedia+Featured.swift
/host/spi-builder-workspace/Sources/String+Wikipedia.swift:30:8: error: no such module 'Foundation'
28 | //
29 |
30 | import Foundation
   |        `- error: no such module 'Foundation'
31 |
32 | extension String {
[11/28] Compiling WikipediaKit Wikipedia+ImageMeta.swift
/host/spi-builder-workspace/Sources/String+Wikipedia.swift:30:8: error: no such module 'Foundation'
28 | //
29 |
30 | import Foundation
   |        `- error: no such module 'Foundation'
31 |
32 | extension String {
[12/28] Compiling WikipediaKit Wikipedia+Languages.swift
/host/spi-builder-workspace/Sources/String+Wikipedia.swift:30:8: error: no such module 'Foundation'
28 | //
29 |
30 | import Foundation
   |        `- error: no such module 'Foundation'
31 |
32 | extension String {
[13/28] Compiling WikipediaKit Wikipedia+NearbySearch.swift
/host/spi-builder-workspace/Sources/String+Wikipedia.swift:30:8: error: no such module 'Foundation'
28 | //
29 |
30 | import Foundation
   |        `- error: no such module 'Foundation'
31 |
32 | extension String {
[14/31] Compiling WikipediaKit String+Wikipedia.swift
/host/spi-builder-workspace/Sources/String+Wikipedia.swift:30:8: error: no such module 'Foundation'
28 | //
29 |
30 | import Foundation
   |        `- error: no such module 'Foundation'
31 |
32 | extension String {
[15/31] Compiling WikipediaKit URL+Wikipedia.swift
/host/spi-builder-workspace/Sources/String+Wikipedia.swift:30:8: error: no such module 'Foundation'
28 | //
29 |
30 | import Foundation
   |        `- error: no such module 'Foundation'
31 |
32 | extension String {
[16/31] Compiling WikipediaKit Wikipedia+Article.swift
/host/spi-builder-workspace/Sources/String+Wikipedia.swift:30:8: error: no such module 'Foundation'
28 | //
29 |
30 | import Foundation
   |        `- error: no such module 'Foundation'
31 |
32 | extension String {
[17/31] Compiling WikipediaKit Wikipedia+ArticleSummary.swift
/host/spi-builder-workspace/Sources/String+Wikipedia.swift:30:8: error: no such module 'Foundation'
28 | //
29 |
30 | import Foundation
   |        `- error: no such module 'Foundation'
31 |
32 | extension String {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/31] Emitting module WikipediaKit
/host/spi-builder-workspace/Sources/String+Wikipedia.swift:30:8: error: no such module 'Foundation'
28 | //
29 |
30 | import Foundation
   |        `- error: no such module 'Foundation'
31 |
32 | extension String {
[19/31] Compiling WikipediaKit WikipediaArticleCache.swift
/host/spi-builder-workspace/Sources/String+Wikipedia.swift:30:8: error: no such module 'Foundation'
28 | //
29 |
30 | import Foundation
   |        `- error: no such module 'Foundation'
31 |
32 | extension String {
[20/31] Compiling WikipediaKit WikipediaArticleLanguageLink.swift
/host/spi-builder-workspace/Sources/String+Wikipedia.swift:30:8: error: no such module 'Foundation'
28 | //
29 |
30 | import Foundation
   |        `- error: no such module 'Foundation'
31 |
32 | extension String {
[21/31] Compiling WikipediaKit WikipediaArticlePreview.swift
/host/spi-builder-workspace/Sources/String+Wikipedia.swift:30:8: error: no such module 'Foundation'
28 | //
29 |
30 | import Foundation
   |        `- error: no such module 'Foundation'
31 |
32 | extension String {
[22/31] Compiling WikipediaKit WikipediaError.swift
/host/spi-builder-workspace/Sources/String+Wikipedia.swift:30:8: error: no such module 'Foundation'
28 | //
29 |
30 | import Foundation
   |        `- error: no such module 'Foundation'
31 |
32 | extension String {
[23/31] Compiling WikipediaKit WikipediaFeatured.swift
/host/spi-builder-workspace/Sources/String+Wikipedia.swift:30:8: error: no such module 'Foundation'
28 | //
29 |
30 | import Foundation
   |        `- error: no such module 'Foundation'
31 |
32 | extension String {
[24/31] Compiling WikipediaKit WikipediaImage.swift
/host/spi-builder-workspace/Sources/String+Wikipedia.swift:30:8: error: no such module 'Foundation'
28 | //
29 |
30 | import Foundation
   |        `- error: no such module 'Foundation'
31 |
32 | extension String {
[25/31] Compiling WikipediaKit WikipediaLanguage.swift
/host/spi-builder-workspace/Sources/String+Wikipedia.swift:30:8: error: no such module 'Foundation'
28 | //
29 |
30 | import Foundation
   |        `- error: no such module 'Foundation'
31 |
32 | extension String {
[26/31] Compiling WikipediaKit WikipediaNamespace.swift
/host/spi-builder-workspace/Sources/String+Wikipedia.swift:30:8: error: no such module 'Foundation'
28 | //
29 |
30 | import Foundation
   |        `- error: no such module 'Foundation'
31 |
32 | extension String {
[27/31] Compiling WikipediaKit WikipediaNetworking.swift
/host/spi-builder-workspace/Sources/String+Wikipedia.swift:30:8: error: no such module 'Foundation'
28 | //
29 |
30 | import Foundation
   |        `- error: no such module 'Foundation'
31 |
32 | extension String {
[28/31] Compiling WikipediaKit WikipediaNetworkingActivityDelegate.swift
/host/spi-builder-workspace/Sources/String+Wikipedia.swift:30:8: error: no such module 'Foundation'
28 | //
29 |
30 | import Foundation
   |        `- error: no such module 'Foundation'
31 |
32 | extension String {
[29/31] Compiling WikipediaKit WikipediaSearchResultsCache.swift
/host/spi-builder-workspace/Sources/String+Wikipedia.swift:30:8: error: no such module 'Foundation'
28 | //
29 |
30 | import Foundation
   |        `- error: no such module 'Foundation'
31 |
32 | extension String {
[30/31] Compiling WikipediaKit WikipediaTOCItem.swift
/host/spi-builder-workspace/Sources/String+Wikipedia.swift:30:8: error: no such module 'Foundation'
28 | //
29 |
30 | import Foundation
   |        `- error: no such module 'Foundation'
31 |
32 | extension String {
[31/31] Compiling WikipediaKit WikipediaTextFormattingDelegate.swift
/host/spi-builder-workspace/Sources/String+Wikipedia.swift:30:8: error: no such module 'Foundation'
28 | //
29 |
30 | import Foundation
   |        `- error: no such module 'Foundation'
31 |
32 | extension String {
BUILD FAILURE 6.2 wasm