Build Information
Failed to build StreamChat, reference develop (a8a729), with Swift 6.2 for Wasm on 8 Dec 2025 18:28:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/GetStream/stream-chat-swift.git
Reference: develop
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
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at a8a729b Updated README (#3893)
Cloned https://github.com/GetStream/stream-chat-swift.git
Revision (git rev-parse @):
a8a729b43394221dbacfa4131b968633e1fc06b1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/GetStream/stream-chat-swift.git at develop
========================================
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-4609320-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.72s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.0.0 (1.34s)
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_reaction.json
[4/170] Copying http_channel_removal.json
[4/170] Copying Localizable.strings
[4/170] Copying Localizable.stringsdict
[4/170] Copying vader.jpg
[5/170] Copying yoda.jpg
[6/170] Copying chewbacca.jpg
[7/170] Copying r2.jpg
[7/170] Copying UsersQuery.json
[10/170] Copying UserUpdated.json
[11/170] Copying UserUpdateResponse.json
[12/170] Copying UserUpdateResponse+MissingUser.json
[13/170] Copying UserUnbanned.json
[16/170] Copying UserStopWatching.json
[17/170] Copying UserStopTypingThread.json
[17/170] Copying UserStopTyping.json
[17/170] Copying UserStartWatching.json
[17/170] Copying UserStartTyping.json
[21/170] Copying Info.plist
[21/170] Copying yoda_with_long_file_name.txt
[21/170] Copying UserPayloadWithCustom.json
[21/170] Write sources
[21/170] Copying UserGloballyBanned.json
[21/170] Copying UserGloballyUnbanned.json
[21/170] Copying UserBanned.json
[21/170] Copying Unread.json
[21/170] Copying ThreadUpdated.json
[21/170] Copying ThreadMessageNew.json
[22/170] Copying ThreadList.json
[25/170] Copying Thread.json
[30/170] Copying ReminderUpdated.json
[31/170] Copying ReminderPayload.json
[34/170] Copying ReminderDue.json
[35/170] Copying ReminderDeleted.json
[36/170] Copying ReminderCreated.json
[37/170] Copying ReactionUpdated.json
[38/170] Copying ReactionNew.json
[38/170] Copying ReactionDeleted.json
[40/170] Copying Poll.json
[41/170] Copying OtherUser.json
[43/170] Copying NotificationRemovedFromChannel.json
[43/170] Copying NotificationMessageNew.json
[43/170] Copying NotificationMessageNew+MissingFields.json
[43/170] Copying PartiallyFailingChannelListPayload.json
[43/170] Copying NotificationMarkUnread.json
[43/170] Copying NotificationMarkUnread+MissingFields.json
[43/170] Copying NotificationMarkRead.json
[43/170] Copying NotificationMarkAllRead.json
[43/170] Copying NotificationInvited.json
[44/170] Copying NotificationInviteAccepted.json
[45/170] Copying NotificationInviteRejected.json
[46/170] Copying NotificationChannelMutesUpdatedWithSomeMutedChannels.json
[46/170] Copying NotificationChannelMutesUpdatedWithNoMutedChannels.json
[48/170] Copying NotificationChannelDeleted.json
[57/170] Copying NotificationAddedToChannel.json
[57/170] Copying NotificationAddedToChannel+MissingFields.json
[57/170] Copying MutedChannelPayload.json
[57/170] Copying MissingEventsPayload.json
[57/170] Copying MissingEventsPayload-IncompleteChannel.json
[57/170] Copying Messages.json
[57/170] Copying MessageUpdated.json
[57/170] Copying MessageWithBrokenAttachments.json
[57/170] Copying MessageRead.json
[57/170] Copying MessageRead+MissingUnreadCount.json
[57/170] Copying MessageReactionsPayload.json
[57/170] Copying MessageReactionPayloadWithCustom.json
[57/170] Copying MessageReactionPayload.json
[58/170] Copying MessageReactionPayload+NoExtraData.json
[59/170] Copying MessageReactionPayload+DefaultExtraData.json
[60/170] Copying MessageReactionPayload+CustomExtraData.json
[61/170] Copying MessagePayloadWithCustom.json
[61/170] Copying MessagePayload.json
[63/170] Copying MessageNew.json
[65/170] Copying MessageNew+MissingFields.json
[66/170] Copying MessageDelivered.json
[68/170] Copying MessageDeletedHard.json
[70/170] Copying MessageDeletedForMe.json
[70/170] Copying MessageDeleted.json
[72/170] Copying MessageDeleted+MissingUser.json
[73/170] Copying MemberUpdated.json
[73/170] Copying Message.json
[75/170] Copying MemberRole.json
[76/170] Copying MemberRemoved.json
[77/170] Copying MemberAdded.json
[80/170] Copying Member.json
[80/170] Copying Info.plist
[80/170] Copying HealthCheck.json
[84/170] Copying GuestUser+InvalidToken.json
[85/170] Copying GuestUser+DefaultExtraData.json
[86/170] Copying GuestUser+CustomExtraData.json
[87/170] Copying FlagUserPayload+NoExtraData.json
[88/170] Copying FlagUserPayload+DefaultExtraData.json
[89/170] Copying FlagUserPayload+CustomExtraData.json
[90/170] Copying FlagMessagePayload+NoExtraData.json
[91/170] Copying FlagMessagePayload+DefaultExtraData.json
[93/170] Copying FlagMessagePayload+CustomExtraData.json
[95/170] Copying FileUploadPayload.json
[97/170] Copying DraftUpdated.json
[98/170] Copying DraftMessage.json
[102/170] Copying DraftDeleted.json
[102/170] Copying Devices.json
[102/170] Copying FailingChannelListPayload.json
[102/170] Copying DeactivatedUser.json
[102/170] Copying CurrentUserPayloadWithCustom.json
[103/170] Copying CurrentUserPayload.json
[104/170] Copying CurrentUserCustomRole.json
[105/170] Copying CurrentUser.json
[107/170] Copying ChannelVisible.json
[108/170] Copying ChannelUpdated_ServerSide.json
[109/170] Copying ChannelUpdated.json
[110/170] Copying ChannelTruncated_with_message.json
[111/170] Copying ChannelTruncated.json
[112/170] Copying ChannelPayloadWithCustom.json
[113/170] Copying ChannelPayload.json
[115/170] Copying ChannelOnly-ChannelPayload.json
[117/170] Copying ChannelsQuery.json
[118/170] Copying ChannelMembersQuery.json
[120/170] Copying ChannelHidden.json
[120/170] Copying ChannelDeleted.json
[120/170] Copying ChannelHidden+HistoryCleared.json
[120/170] Copying ChannelCreated.json
[120/170] Copying Channel.json
[120/170] Copying AttachmentPayloadLink_without_title_link.json
[120/170] Copying AttachmentPayloadLink_with_title_link.json
[120/170] Copying AttachmentPayloadLinkWithoutImagePreview.json
[120/170] Copying AttachmentPayloadLink.json
[120/170] Copying AttachmentPayloadImage.json
[120/170] Copying UserPayload.json
[120/170] Copying UserPresence.json
[120/170] Copying AttachmentPayloadGiphyWithActions.json
[120/170] Copying AttachmentPayload.json
[120/170] Copying AttachmentPayloadCustom.json
[120/170] Copying AttachmentPayload+NoType.json
[120/170] Copying AIIndicatorUpdate.json
[120/170] Copying AppSettings.json
[120/170] Copying AIIndicatorStop.json
[120/170] Copying ws_reaction.json
[120/170] Copying AIIndicatorClear.json
[120/170] Copying ws_message.json
[120/170] Copying ws_health_check.json
[120/170] Copying AttachmentPayloadGiphyWithoutActions.json
[120/170] Copying UserStartTypingThread.json
[120/170] Copying ws_events.json
[120/170] Copying http_youtube_link.json
[120/170] Copying ws_events_channel.json
[120/170] Copying http_unsplash_link.json
[120/170] Copying http_message_ephemeral.json
[120/170] Copying http_truncate.json
[120/170] Copying yoda.txt
[120/170] Copying http_giphy_link.json
[120/170] Copying http_member.json
[120/170] Copying push_notification.json
[120/170] Copying http_events.json
[120/170] Copying http_channels.json
[120/170] Copying http_channel_creation.json
[120/170] Copying http_attachment.json
[120/170] Copying http_add_member.json
[120/170] Copying Info.plist
[120/170] Write sources
[121/170] Copying ws_events_member.json
[122/170] Write sources
[126/170] Copying http_message.json
[140/170] Write sources
[166/170] Copying StreamChatModel.xcdatamodeld
[167/170] Copying BigChannelListPayload.json
[168/170] Copying Assets.xcassets
[169/170] Write swift-version-24593BA9C3E375BF.txt
[171/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.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[172/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.
BUILD FAILURE 6.2 wasm