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 StoryUI, reference 1.6.1 (d12820), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 16:45:26 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/tiskender2/StoryUI.git
Reference: 1.6.1
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/tiskender2/StoryUI
 * tag               1.6.1      -> FETCH_HEAD
HEAD is now at d12820a Merge pull request #31 from tiskender2/bug/VideoObserverAndIndex
Cloned https://github.com/tiskender2/StoryUI.git
Revision (git rev-parse @):
d12820a8a81ff323d7023b31baa61a8ab9084da5
SUCCESS checkout https://github.com/tiskender2/StoryUI.git at 1.6.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/tiskender2/StoryUI.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/26] Emitting module StoryUI
/host/spi-builder-workspace/Sources/StoryUI/Configuration/StoryConfiguration.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct StoryConfiguration: Equatable, Hashable {
[4/29] Compiling StoryUI MessageView.swift
/host/spi-builder-workspace/Sources/StoryUI/Configuration/StoryConfiguration.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct StoryConfiguration: Equatable, Hashable {
[5/29] Compiling StoryUI ProgressBarView.swift
/host/spi-builder-workspace/Sources/StoryUI/Configuration/StoryConfiguration.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct StoryConfiguration: Equatable, Hashable {
[6/29] Compiling StoryUI StoryDetailView.swift
/host/spi-builder-workspace/Sources/StoryUI/Configuration/StoryConfiguration.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct StoryConfiguration: Equatable, Hashable {
[7/29] Compiling StoryUI Constant.swift
/host/spi-builder-workspace/Sources/StoryUI/Configuration/StoryConfiguration.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct StoryConfiguration: Equatable, Hashable {
[8/29] Compiling StoryUI Enums.swift
/host/spi-builder-workspace/Sources/StoryUI/Configuration/StoryConfiguration.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct StoryConfiguration: Equatable, Hashable {
[9/29] Compiling StoryUI NSNotification-Extension.swift
/host/spi-builder-workspace/Sources/StoryUI/Configuration/StoryConfiguration.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct StoryConfiguration: Equatable, Hashable {
[10/29] Compiling StoryUI UserView.swift
/host/spi-builder-workspace/Sources/StoryUI/Configuration/StoryConfiguration.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct StoryConfiguration: Equatable, Hashable {
[11/29] Compiling StoryUI StoryView.swift
/host/spi-builder-workspace/Sources/StoryUI/Configuration/StoryConfiguration.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct StoryConfiguration: Equatable, Hashable {
[12/29] Compiling StoryUI StoryViewModel.swift
/host/spi-builder-workspace/Sources/StoryUI/Configuration/StoryConfiguration.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct StoryConfiguration: Equatable, Hashable {
[13/29] Compiling StoryUI StoryConfiguration.swift
/host/spi-builder-workspace/Sources/StoryUI/Configuration/StoryConfiguration.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct StoryConfiguration: Equatable, Hashable {
[14/29] Compiling StoryUI StoryInteractionConfig.swift
/host/spi-builder-workspace/Sources/StoryUI/Configuration/StoryConfiguration.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct StoryConfiguration: Equatable, Hashable {
[15/29] Compiling StoryUI Typealias.swift
/host/spi-builder-workspace/Sources/StoryUI/Configuration/StoryConfiguration.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct StoryConfiguration: Equatable, Hashable {
[16/29] Compiling StoryUI CacheAsyncImage.swift
/host/spi-builder-workspace/Sources/StoryUI/Configuration/StoryConfiguration.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct StoryConfiguration: Equatable, Hashable {
[17/29] Compiling StoryUI ImageLoader.swift
/host/spi-builder-workspace/Sources/StoryUI/Configuration/StoryConfiguration.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct StoryConfiguration: Equatable, Hashable {
[18/29] Compiling StoryUI ImageView.swift
/host/spi-builder-workspace/Sources/StoryUI/Configuration/StoryConfiguration.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct StoryConfiguration: Equatable, Hashable {
[19/29] Compiling StoryUI VideoLoader.swift
/host/spi-builder-workspace/Sources/StoryUI/Configuration/StoryConfiguration.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct StoryConfiguration: Equatable, Hashable {
[20/29] Compiling StoryUI VideoView.swift
/host/spi-builder-workspace/Sources/StoryUI/Configuration/StoryConfiguration.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct StoryConfiguration: Equatable, Hashable {
[21/29] Compiling StoryUI StoryUIUser.swift
/host/spi-builder-workspace/Sources/StoryUI/Configuration/StoryConfiguration.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct StoryConfiguration: Equatable, Hashable {
[22/29] Compiling StoryUI EmojiReactionView.swift
/host/spi-builder-workspace/Sources/StoryUI/Configuration/StoryConfiguration.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct StoryConfiguration: Equatable, Hashable {
[23/29] Compiling StoryUI EmojiView.swift
/host/spi-builder-workspace/Sources/StoryUI/Configuration/StoryConfiguration.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct StoryConfiguration: Equatable, Hashable {
[24/29] Compiling StoryUI TextField+Extension.swift
/host/spi-builder-workspace/Sources/StoryUI/Configuration/StoryConfiguration.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct StoryConfiguration: Equatable, Hashable {
[25/29] Compiling StoryUI UIApplication+Extension.swift
/host/spi-builder-workspace/Sources/StoryUI/Configuration/StoryConfiguration.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct StoryConfiguration: Equatable, Hashable {
[26/29] Compiling StoryUI CacheManager.swift
/host/spi-builder-workspace/Sources/StoryUI/Configuration/StoryConfiguration.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct StoryConfiguration: Equatable, Hashable {
[27/29] Compiling StoryUI KeyboardManager.swift
/host/spi-builder-workspace/Sources/StoryUI/Configuration/StoryConfiguration.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct StoryConfiguration: Equatable, Hashable {
[28/29] Compiling StoryUI Story.swift
/host/spi-builder-workspace/Sources/StoryUI/Configuration/StoryConfiguration.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct StoryConfiguration: Equatable, Hashable {
[29/29] Compiling StoryUI StoryUIModel.swift
/host/spi-builder-workspace/Sources/StoryUI/Configuration/StoryConfiguration.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public struct StoryConfiguration: Equatable, Hashable {
BUILD FAILURE 6.2 wasm