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 StreamChat, reference 4.94.0 (e320a8), with Swift 6.2 for Wasm on 2 Dec 2025 21:48:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/GetStream/stream-chat-swift.git
Reference: 4.94.0
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/GetStream/stream-chat-swift
 * tag               4.94.0     -> FETCH_HEAD
HEAD is now at e320a85 Bump 4.94.0
Cloned https://github.com/GetStream/stream-chat-swift.git
Revision (git rev-parse @):
e320a85eeefb95f5402b1c2f31264e8d519cddc1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/GetStream/stream-chat-swift.git at 4.94.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/GetStream/stream-chat-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/apple/swift-docc-plugin
[1/2158] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.94s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.0.0 (1.87s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.0.0
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/TestTools/StreamChatTestTools/DatabaseModels/TestDataModel2.xcdatamodeld
    /host/spi-builder-workspace/TestTools/StreamChatTestTools/DatabaseModels/TestDataModel.xcdatamodeld
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[1/1] Compiling plugin Swift-DocC Preview
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/170] Copying Info.plist
[2/170] Copying http_attachment.json
[2/170] Write sources
[2/170] Copying http_giphy_link.json
[2/170] Write sources
[2/170] Copying vader.jpg
[2/170] Copying yoda.txt
[2/170] Copying yoda_with_long_file_name.txt
[2/170] Copying yoda.jpg
[2/170] Write sources
[2/170] Copying r2.jpg
[2/170] Copying Info.plist
[2/170] Copying Localizable.stringsdict
[2/170] Copying Localizable.strings
[3/170] Copying chewbacca.jpg
[5/170] Copying UsersQuery.json
[7/170] Copying UserUpdateResponse.json
[7/170] Copying UserUpdated.json
[9/170] Copying UserUpdateResponse+MissingUser.json
[10/170] Copying UserUnbanned.json
[13/170] Copying UserStopWatching.json
[18/170] Copying UserStartTypingThread.json
[18/170] Copying UserStartWatching.json
[19/170] Copying UserStopTypingThread.json
[21/170] Copying UserStartTyping.json
[23/170] Copying UserPresence.json
[25/170] Copying UserStopTyping.json
[26/170] Copying UserPayloadWithCustom.json
[28/170] Copying UserPayload.json
[28/170] Copying UserGloballyUnbanned.json
[31/170] Copying UserGloballyBanned.json
[34/170] Copying UserBanned.json
[34/170] Copying ThreadUpdated.json
[34/170] Copying ThreadMessageNew.json
[34/170] Copying Unread.json
[34/170] Copying Thread.json
[34/170] Copying ReminderUpdated.json
[34/170] Copying ThreadList.json
[34/170] Copying ReminderPayload.json
[34/170] Copying ReminderDue.json
[34/170] Copying ReminderDeleted.json
[36/170] Copying ReminderCreated.json
[37/170] Copying ReactionUpdated.json
[38/170] Copying ReactionDeleted.json
[38/170] Copying Poll.json
[39/170] Copying ReactionNew.json
[40/170] Copying OtherUser.json
[42/170] Copying NotificationRemovedFromChannel.json
[43/170] Copying NotificationMessageNew.json
[43/170] Copying NotificationMarkUnread.json
[44/170] Copying NotificationMessageNew+MissingFields.json
[46/170] Copying NotificationMarkUnread+MissingFields.json
[48/170] Copying NotificationMarkRead.json
[56/170] Copying NotificationMarkAllRead.json
[56/170] Copying NotificationInviteRejected.json
[56/170] Copying PartiallyFailingChannelListPayload.json
[56/170] Copying NotificationInvited.json
[56/170] Copying NotificationInviteAccepted.json
[56/170] Copying NotificationChannelMutesUpdatedWithSomeMutedChannels.json
[56/170] Copying NotificationChannelMutesUpdatedWithNoMutedChannels.json
[56/170] Copying NotificationAddedToChannel.json
[56/170] Copying NotificationChannelDeleted.json
[56/170] Copying MutedChannelPayload.json
[56/170] Copying NotificationAddedToChannel+MissingFields.json
[57/170] Copying MissingEventsPayload.json
[58/170] Copying MissingEventsPayload-IncompleteChannel.json
[58/170] Copying Messages.json
[60/170] Copying MessageRead.json
[61/170] Copying MessageWithBrokenAttachments.json
[61/170] Copying MessageUpdated.json
[63/170] Copying MessageRead+MissingUnreadCount.json
[65/170] Copying MessageReactionsPayload.json
[65/170] Copying MessageReactionPayloadWithCustom.json
[67/170] Copying MessageReactionPayload.json
[69/170] Copying MessageReactionPayload+CustomExtraData.json
[71/170] Copying MessageReactionPayload+DefaultExtraData.json
[71/170] Copying MessageReactionPayload+NoExtraData.json
[73/170] Copying MessageNew.json
[74/170] Copying MessagePayloadWithCustom.json
[75/170] Copying MessagePayload.json
[77/170] Copying MessageNew+MissingFields.json
[78/170] Copying MessageDelivered.json
[78/170] Copying MessageDeletedHard.json
[79/170] Copying MessageDeletedForMe.json
[81/170] Copying MessageDeleted.json
[82/170] Copying MessageDeleted+MissingUser.json
[83/170] Copying Message.json
[84/170] Copying MemberRemoved.json
[85/170] Copying MemberRole.json
[85/170] Copying MemberUpdated.json
[86/170] Copying MemberAdded.json
[89/170] Copying Member.json
[90/170] Copying Info.plist
[91/170] Copying HealthCheck.json
[92/170] Copying GuestUser+CustomExtraData.json
[93/170] Copying GuestUser+InvalidToken.json
[93/170] Copying GuestUser+DefaultExtraData.json
[96/170] Copying FlagUserPayload+NoExtraData.json
[98/170] Copying FlagUserPayload+DefaultExtraData.json
[99/170] Copying FlagUserPayload+CustomExtraData.json
[101/170] Copying FlagMessagePayload+NoExtraData.json
[104/170] Copying FlagMessagePayload+DefaultExtraData.json
[104/170] Copying FlagMessagePayload+CustomExtraData.json
[104/170] Copying FileUploadPayload.json
[104/170] Copying DraftUpdated.json
[104/170] Copying DraftMessage.json
[104/170] Copying DeactivatedUser.json
[104/170] Copying Devices.json
[104/170] Copying DraftDeleted.json
[104/170] Copying CurrentUserPayloadWithCustom.json
[104/170] Copying CurrentUserPayload.json
[105/170] Copying CurrentUserCustomRole.json
[107/170] Copying FailingChannelListPayload.json
[108/170] Copying CurrentUser.json
[109/170] Copying ChannelVisible.json
[109/170] Copying ChannelUpdated_ServerSide.json
[111/170] Copying ChannelUpdated.json
[112/170] Copying ChannelTruncated_with_message.json
[112/170] Copying ChannelPayloadWithCustom.json
[114/170] Copying ChannelTruncated.json
[115/170] Copying ChannelPayload.json
[116/170] Copying ChannelOnly-ChannelPayload.json
[117/170] Copying ChannelMembersQuery.json
[117/170] Copying ChannelHidden.json
[119/170] Copying ChannelDeleted.json
[120/170] Copying ChannelCreated.json
[121/170] Copying ChannelHidden+HistoryCleared.json
[127/170] Copying Channel.json
[130/170] Copying AttachmentPayloadLink_without_title_link.json
[131/170] Copying AttachmentPayloadLink_with_title_link.json
[131/170] Copying AttachmentPayloadLinkWithoutImagePreview.json
[134/170] Copying AttachmentPayloadLink.json
[134/170] Copying AttachmentPayloadImage.json
[134/170] Copying ChannelsQuery.json
[134/170] Copying AttachmentPayloadGiphyWithoutActions.json
[134/170] Copying AttachmentPayloadGiphyWithActions.json
[134/170] Copying AttachmentPayloadCustom.json
[134/170] Copying AttachmentPayload.json
[134/170] Copying AttachmentPayload+NoType.json
[134/170] Copying AppSettings.json
[134/170] Copying AIIndicatorUpdate.json
[134/170] Copying AIIndicatorStop.json
[134/170] Copying AIIndicatorClear.json
[134/170] Copying ws_reaction.json
[134/170] Copying ws_message.json
[134/170] Copying ws_health_check.json
[134/170] Copying ws_events_member.json
[134/170] Copying ws_events_channel.json
[134/170] Copying ws_events.json
[134/170] Copying push_notification.json
[134/170] Copying http_youtube_link.json
[134/170] Copying http_unsplash_link.json
[134/170] Copying http_truncate.json
[134/170] Copying http_reaction.json
[134/170] Copying http_member.json
[134/170] Copying http_message.json
[134/170] Copying http_message_ephemeral.json
[134/170] Copying http_events.json
[134/170] Copying http_channels.json
[134/170] Copying http_channel_removal.json
[134/170] Copying Info.plist
[134/170] Copying http_add_member.json
[134/170] Copying http_channel_creation.json
[166/170] Copying BigChannelListPayload.json
[167/170] Copying StreamChatModel.xcdatamodeld
[168/170] Copying Assets.xcassets
[169/170] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[171/172] Emitting module StreamChat
/host/spi-builder-workspace/Sources/StreamChat/APIClient/APIClient.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 |
  7 | /// An object allowing making request to Stream Chat servers.
[172/172] Compiling StreamChat APIClient.swift
/host/spi-builder-workspace/Sources/StreamChat/APIClient/APIClient.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 |
  7 | /// An object allowing making request to Stream Chat servers.
BUILD FAILURE 6.2 wasm