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 twitter-text, reference 0.0.3 (b96594), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 21:46:47 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/nysander/twitter-text.git
Reference: 0.0.3
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/nysander/twitter-text
 * tag               0.0.3      -> FETCH_HEAD
HEAD is now at b965940 Merge pull request #15 from Kyome22/solve-config-path-and-access-control
Cloned https://github.com/nysander/twitter-text.git
Revision (git rev-parse @):
b96594027464bf5ea0fe66d24666c878b94d6a15
SUCCESS checkout https://github.com/nysander/twitter-text.git at 0.0.3
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/nysander/twitter-text.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/nysander/UnicodeURL.git
[1/125] Fetching unicodeurl
Fetched https://github.com/nysander/UnicodeURL.git from cache (0.27s)
Computing version for https://github.com/nysander/UnicodeURL.git
Computed https://github.com/nysander/UnicodeURL.git at 0.1.0 (0.72s)
Creating working copy for https://github.com/nysander/UnicodeURL.git
Working copy of https://github.com/nysander/UnicodeURL.git resolved at 0.1.0
Building for debugging...
[0/11] Write sources
[1/11] Copying v2.json
[1/11] Copying v1.json
[2/11] Copying v3.json
[5/11] Compiling IDNSDK puny.c
[6/11] Compiling IDNSDK toxxx.c
[7/11] Compiling IDNSDK race.c
[8/11] Compiling IDNSDK util.c
[9/11] Write swift-version-24593BA9C3E375BF.txt
[10/11] Compiling IDNSDK nameprep.c
[12/16] Compiling UnicodeURL UnicodeURL.swift
/host/spi-builder-workspace/.build/checkouts/UnicodeURL/Sources/UnicodeURL/String+Unicode.swift:6:8: error: no such module 'Foundation'
 4 | //  License: MIT (see LICENCE files for details)
 5 |
 6 | import Foundation
   |        `- error: no such module 'Foundation'
 7 | import CoreFoundation
 8 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/16] Emitting module UnicodeURL
/host/spi-builder-workspace/.build/checkouts/UnicodeURL/Sources/UnicodeURL/String+Unicode.swift:6:8: error: no such module 'Foundation'
 4 | //  License: MIT (see LICENCE files for details)
 5 |
 6 | import Foundation
   |        `- error: no such module 'Foundation'
 7 | import CoreFoundation
 8 |
[14/16] Compiling UnicodeURL String+Unicode.swift
/host/spi-builder-workspace/.build/checkouts/UnicodeURL/Sources/UnicodeURL/String+Unicode.swift:6:8: error: no such module 'Foundation'
 4 | //  License: MIT (see LICENCE files for details)
 5 |
 6 | import Foundation
   |        `- error: no such module 'Foundation'
 7 | import CoreFoundation
 8 |
[15/16] Compiling UnicodeURL URL+Unicode.swift
/host/spi-builder-workspace/.build/checkouts/UnicodeURL/Sources/UnicodeURL/String+Unicode.swift:6:8: error: no such module 'Foundation'
 4 | //  License: MIT (see LICENCE files for details)
 5 |
 6 | import Foundation
   |        `- error: no such module 'Foundation'
 7 | import CoreFoundation
 8 |
[16/16] Compiling UnicodeURL ConvertError.swift
/host/spi-builder-workspace/.build/checkouts/UnicodeURL/Sources/UnicodeURL/String+Unicode.swift:6:8: error: no such module 'Foundation'
 4 | //  License: MIT (see LICENCE files for details)
 5 |
 6 | import Foundation
   |        `- error: no such module 'Foundation'
 7 | import CoreFoundation
 8 |
BUILD FAILURE 6.2 wasm