The Swift Package Index logo.Swift Package Index

Build Information

Failed to build HatangChat, reference 0.6.0 (c2ff7c), with Swift 6.3 for Wasm on 18 Nov 2026 19:43:00 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sota-labs/hatang-chat-ios.git
Reference: 0.6.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/sota-labs/hatang-chat-ios
 * tag               0.6.0      -> FETCH_HEAD
HEAD is now at c2ff7c8 ios: v0.6.0
Cloned https://github.com/sota-labs/hatang-chat-ios.git
Revision (git rev-parse @):
c2ff7c80a3a5b0bcf064eb4a0b782a6b6a80a5f7
SUCCESS checkout https://github.com/sota-labs/hatang-chat-ios.git at 0.6.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/sota-labs/hatang-chat-ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:d3f568d85e0aea9035607cd00c00b956e2abec4c377680cdb286c930e5f653a0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/34] Emitting module HatangChatCore
/host/spi-builder-workspace/Sources/HatangChatCore/Commerce/PurchaseToken.swift:1:8: error: no such module 'CryptoKit'
 1 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
 2 | import Foundation
 3 |
[5/38] Compiling HatangChatCore AppInfo.swift
/host/spi-builder-workspace/Sources/HatangChatCore/Commerce/PurchaseToken.swift:1:8: error: no such module 'CryptoKit'
 1 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
 2 | import Foundation
 3 |
[6/38] Compiling HatangChatCore Clock.swift
/host/spi-builder-workspace/Sources/HatangChatCore/Commerce/PurchaseToken.swift:1:8: error: no such module 'CryptoKit'
 1 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
 2 | import Foundation
 3 |
[7/38] Compiling HatangChatCore PurchaseToken.swift
/host/spi-builder-workspace/Sources/HatangChatCore/Commerce/PurchaseToken.swift:1:8: error: no such module 'CryptoKit'
 1 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
 2 | import Foundation
 3 |
[8/38] Compiling HatangChatCore Multipart.swift
/host/spi-builder-workspace/Sources/HatangChatCore/Commerce/PurchaseToken.swift:1:8: error: no such module 'CryptoKit'
 1 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
 2 | import Foundation
 3 |
[9/38] Compiling HatangChatCore WidgetAPI.swift
/host/spi-builder-workspace/Sources/HatangChatCore/Commerce/PurchaseToken.swift:1:8: error: no such module 'CryptoKit'
 1 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
 2 | import Foundation
 3 |
[10/38] Compiling HatangChatCore Frames.swift
/host/spi-builder-workspace/Sources/HatangChatCore/Commerce/PurchaseToken.swift:1:8: error: no such module 'CryptoKit'
 1 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
 2 | import Foundation
 3 |
[11/38] Compiling HatangChatCore JSONValue.swift
/host/spi-builder-workspace/Sources/HatangChatCore/Commerce/PurchaseToken.swift:1:8: error: no such module 'CryptoKit'
 1 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
 2 | import Foundation
 3 |
[12/38] Compiling HatangChatCore MessageFormat.swift
/host/spi-builder-workspace/Sources/HatangChatCore/Commerce/PurchaseToken.swift:1:8: error: no such module 'CryptoKit'
 1 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
 2 | import Foundation
 3 |
[13/38] Compiling HatangChatCore PaymentQR.swift
/host/spi-builder-workspace/Sources/HatangChatCore/Commerce/PurchaseToken.swift:1:8: error: no such module 'CryptoKit'
 1 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
 2 | import Foundation
 3 |
[14/38] Compiling HatangChatCore ChatEngine.swift
/host/spi-builder-workspace/Sources/HatangChatCore/Commerce/PurchaseToken.swift:1:8: error: no such module 'CryptoKit'
 1 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
 2 | import Foundation
 3 |
[15/38] Compiling HatangChatCore ChatState.swift
/host/spi-builder-workspace/Sources/HatangChatCore/Commerce/PurchaseToken.swift:1:8: error: no such module 'CryptoKit'
 1 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
 2 | import Foundation
 3 |
[16/38] Compiling HatangChatCore Events.swift
/host/spi-builder-workspace/Sources/HatangChatCore/Commerce/PurchaseToken.swift:1:8: error: no such module 'CryptoKit'
 1 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
 2 | import Foundation
 3 |
[17/38] Compiling HatangChatCore Pending.swift
/host/spi-builder-workspace/Sources/HatangChatCore/Commerce/PurchaseToken.swift:1:8: error: no such module 'CryptoKit'
 1 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
 2 | import Foundation
 3 |
[18/38] Compiling HatangChatCore Cards.swift
/host/spi-builder-workspace/Sources/HatangChatCore/Commerce/PurchaseToken.swift:1:8: error: no such module 'CryptoKit'
 1 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
 2 | import Foundation
 3 |
[19/38] Compiling HatangChatCore Codec.swift
/host/spi-builder-workspace/Sources/HatangChatCore/Commerce/PurchaseToken.swift:1:8: error: no such module 'CryptoKit'
 1 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
 2 | import Foundation
 3 |
[20/38] Compiling HatangChatCore Dates.swift
/host/spi-builder-workspace/Sources/HatangChatCore/Commerce/PurchaseToken.swift:1:8: error: no such module 'CryptoKit'
 1 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
 2 | import Foundation
 3 |
[21/38] Compiling HatangChatCore Errors.swift
/host/spi-builder-workspace/Sources/HatangChatCore/Commerce/PurchaseToken.swift:1:8: error: no such module 'CryptoKit'
 1 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
 2 | import Foundation
 3 |
[22/38] Compiling HatangChatCore Format.swift
/host/spi-builder-workspace/Sources/HatangChatCore/Commerce/PurchaseToken.swift:1:8: error: no such module 'CryptoKit'
 1 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
 2 | import Foundation
 3 |
[23/38] Compiling HatangChatCore Strings.swift
/host/spi-builder-workspace/Sources/HatangChatCore/Commerce/PurchaseToken.swift:1:8: error: no such module 'CryptoKit'
 1 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
 2 | import Foundation
 3 |
[24/38] Compiling HatangChatCore Translate.swift
/host/spi-builder-workspace/Sources/HatangChatCore/Commerce/PurchaseToken.swift:1:8: error: no such module 'CryptoKit'
 1 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
 2 | import Foundation
 3 |
[25/38] Compiling HatangChatCore Locked.swift
/host/spi-builder-workspace/Sources/HatangChatCore/Commerce/PurchaseToken.swift:1:8: error: no such module 'CryptoKit'
 1 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
 2 | import Foundation
 3 |
[26/38] Compiling HatangChatCore Logger.swift
/host/spi-builder-workspace/Sources/HatangChatCore/Commerce/PurchaseToken.swift:1:8: error: no such module 'CryptoKit'
 1 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
 2 | import Foundation
 3 |
[27/38] Compiling HatangChatCore Timeline.swift
/host/spi-builder-workspace/Sources/HatangChatCore/Commerce/PurchaseToken.swift:1:8: error: no such module 'CryptoKit'
 1 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
 2 | import Foundation
 3 |
[28/38] Compiling HatangChatCore VoiceNote.swift
/host/spi-builder-workspace/Sources/HatangChatCore/Commerce/PurchaseToken.swift:1:8: error: no such module 'CryptoKit'
 1 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
 2 | import Foundation
 3 |
[29/38] Compiling HatangChatCore UserAgent.swift
/host/spi-builder-workspace/Sources/HatangChatCore/Commerce/PurchaseToken.swift:1:8: error: no such module 'CryptoKit'
 1 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
 2 | import Foundation
 3 |
[30/38] Compiling HatangChatCore Version.swift
/host/spi-builder-workspace/Sources/HatangChatCore/Commerce/PurchaseToken.swift:1:8: error: no such module 'CryptoKit'
 1 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
 2 | import Foundation
 3 |
[31/38] Compiling HatangChatCore StoredSession.swift
/host/spi-builder-workspace/Sources/HatangChatCore/Commerce/PurchaseToken.swift:1:8: error: no such module 'CryptoKit'
 1 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
 2 | import Foundation
 3 |
[32/38] Compiling HatangChatCore Backoff.swift
/host/spi-builder-workspace/Sources/HatangChatCore/Commerce/PurchaseToken.swift:1:8: error: no such module 'CryptoKit'
 1 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
 2 | import Foundation
 3 |
[33/38] Compiling HatangChatCore ChatSocket.swift
/host/spi-builder-workspace/Sources/HatangChatCore/Commerce/PurchaseToken.swift:1:8: error: no such module 'CryptoKit'
 1 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
 2 | import Foundation
 3 |
[34/38] Compiling HatangChatCore SocketConnection.swift
/host/spi-builder-workspace/Sources/HatangChatCore/Commerce/PurchaseToken.swift:1:8: error: no such module 'CryptoKit'
 1 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
 2 | import Foundation
 3 |
[35/38] Compiling HatangChatCore Types.swift
/host/spi-builder-workspace/Sources/HatangChatCore/Commerce/PurchaseToken.swift:1:8: error: no such module 'CryptoKit'
 1 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
 2 | import Foundation
 3 |
[36/38] Compiling HatangChatCore HatangUser.swift
/host/spi-builder-workspace/Sources/HatangChatCore/Commerce/PurchaseToken.swift:1:8: error: no such module 'CryptoKit'
 1 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
 2 | import Foundation
 3 |
[37/38] Compiling HatangChatCore Ids.swift
/host/spi-builder-workspace/Sources/HatangChatCore/Commerce/PurchaseToken.swift:1:8: error: no such module 'CryptoKit'
 1 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
 2 | import Foundation
 3 |
[38/38] Compiling HatangChatCore KeyValueStore.swift
/host/spi-builder-workspace/Sources/HatangChatCore/Commerce/PurchaseToken.swift:1:8: error: no such module 'CryptoKit'
 1 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
 2 | import Foundation
 3 |
BUILD FAILURE 6.3 wasm