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 THOTP, reference master (0a97ed), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 10:11:24 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/ericlewis/THOTP.git
Reference: master
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/ericlewis/THOTP
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0a97ed7 Update README.md
Cloned https://github.com/ericlewis/THOTP.git
Revision (git rev-parse @):
0a97ed714dd7b2da6c8f3285a9c69395b83129c0
SUCCESS checkout https://github.com/ericlewis/THOTP.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ericlewis/THOTP.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/norio-nomura/Base32.git
Fetching https://github.com/ericlewis/URL-QueryItem.git
[1/1168] Fetching base32
[1169/1185] Fetching base32, url-queryitem
Fetched https://github.com/ericlewis/URL-QueryItem.git from cache (0.31s)
Fetched https://github.com/norio-nomura/Base32.git from cache (0.31s)
Computing version for https://github.com/ericlewis/URL-QueryItem.git
Computed https://github.com/ericlewis/URL-QueryItem.git at 1.0.0 (1.13s)
Computing version for https://github.com/norio-nomura/Base32.git
Computed https://github.com/norio-nomura/Base32.git at 0.9.0 (2.21s)
Creating working copy for https://github.com/ericlewis/URL-QueryItem.git
Working copy of https://github.com/ericlewis/URL-QueryItem.git resolved at 1.0.0
Creating working copy for https://github.com/norio-nomura/Base32.git
Working copy of https://github.com/norio-nomura/Base32.git resolved at 0.9.0
Building for debugging...
[0/11] Write sources
[3/11] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/21] Emitting module URL_QueryItem
/host/spi-builder-workspace/.build/checkouts/URL-QueryItem/Sources/URL-QueryItem/Collection+URLQueryItem.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public extension Collection where Element == URLQueryItem {
[6/21] Compiling URL_QueryItem Collection+URLQueryItem.swift
/host/spi-builder-workspace/.build/checkouts/URL-QueryItem/Sources/URL-QueryItem/Collection+URLQueryItem.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public extension Collection where Element == URLQueryItem {
[7/21] Compiling Base32 shim.swift
/host/spi-builder-workspace/.build/checkouts/Base32/Sources/Base32/Base16.swift:27:8: error: no such module 'Foundation'
 25 | //  THE SOFTWARE.
 26 |
 27 | import Foundation
    |        `- error: no such module 'Foundation'
 28 |
 29 | // MARK: - Base16 Data <-> String
[8/21] Compiling Base32 StringExtension.swift
/host/spi-builder-workspace/.build/checkouts/Base32/Sources/Base32/Base16.swift:27:8: error: no such module 'Foundation'
 25 | //  THE SOFTWARE.
 26 |
 27 | import Foundation
    |        `- error: no such module 'Foundation'
 28 |
 29 | // MARK: - Base16 Data <-> String
[9/21] Compiling URL_QueryItem URL+URLComponents.swift
/host/spi-builder-workspace/.build/checkouts/URL-QueryItem/Sources/URL-QueryItem/Collection+URLQueryItem.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public extension Collection where Element == URLQueryItem {
[10/21] Compiling URL_QueryItem URL+QueryItems.swift
/host/spi-builder-workspace/.build/checkouts/URL-QueryItem/Sources/URL-QueryItem/Collection+URLQueryItem.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public extension Collection where Element == URLQueryItem {
[11/21] Compiling URL_QueryItem URLQueryItem+CodingKey.swift
/host/spi-builder-workspace/.build/checkouts/URL-QueryItem/Sources/URL-QueryItem/Collection+URLQueryItem.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public extension Collection where Element == URLQueryItem {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/21] Emitting module Base32
/host/spi-builder-workspace/.build/checkouts/Base32/Sources/Base32/Base16.swift:27:8: error: no such module 'Foundation'
 25 | //  THE SOFTWARE.
 26 |
 27 | import Foundation
    |        `- error: no such module 'Foundation'
 28 |
 29 | // MARK: - Base16 Data <-> String
BUILD FAILURE 6.2 wasm