Build Information
Failed to build RoomEngine, reference main (b3119c), with Swift 6.2 for Android on 5 Mar 2026 09:25:13 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Tencent-RTC/RTCRoomEngine_SwiftPM.git
Reference: main
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/Tencent-RTC/RTCRoomEngine_SwiftPM
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b3119c7 Update Package.swift to 3.6
Cloned https://github.com/Tencent-RTC/RTCRoomEngine_SwiftPM.git
Revision (git rev-parse @):
b3119c7b561346a51943b09a2b9d3c6002c57e21
SUCCESS checkout https://github.com/Tencent-RTC/RTCRoomEngine_SwiftPM.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/Tencent-RTC/RTCRoomEngine_SwiftPM.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:0e5e7915595da63d8208b049b9b111c031f8df8a6b9b79e3bba6f3737b8b2f25
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/Tencent-RTC/Professional_SwiftPM.git
Fetching https://github.com/Tencent-RTC/Chat_SDK_SwiftPM.git
[1/90] Fetching professional_swiftpm
[91/121] Fetching professional_swiftpm, chat_sdk_swiftpm
Fetched https://github.com/Tencent-RTC/Professional_SwiftPM.git from cache (0.35s)
Fetched https://github.com/Tencent-RTC/Chat_SDK_SwiftPM.git from cache (0.36s)
Computing version for https://github.com/Tencent-RTC/Professional_SwiftPM.git
Computed https://github.com/Tencent-RTC/Professional_SwiftPM.git at 12.9.0 (0.80s)
Computing version for https://github.com/Tencent-RTC/Chat_SDK_SwiftPM.git
Computed https://github.com/Tencent-RTC/Chat_SDK_SwiftPM.git at 8.7.7201 (0.45s)
Creating working copy for https://github.com/Tencent-RTC/Professional_SwiftPM.git
Working copy of https://github.com/Tencent-RTC/Professional_SwiftPM.git resolved at 12.9.0
Creating working copy for https://github.com/Tencent-RTC/Chat_SDK_SwiftPM.git
Working copy of https://github.com/Tencent-RTC/Chat_SDK_SwiftPM.git resolved at 8.7.7201
Downloading binary artifact https://im.sdk.cloud.tencent.cn/download/plus/8.7.7201/ImSDK_Plus_8.7.7201.xcframework.zip
Downloading binary artifact https://liteav.sdk.qcloud.com/app/tuikit/download/release/3.6/RTCRoomEngine_iOS_3.6.3.91_SDK.zip
Downloading binary artifact https://liteav.sdk.qcloud.com/download/spm/12.9/professional/TXFFmpeg.xcframework.zip
Downloading binary artifact https://liteav.sdk.qcloud.com/download/spm/12.9/professional/TXLiteAVSDK_ReplayKitExt.xcframework.zip
Downloading binary artifact https://liteav.sdk.qcloud.com/download/spm/12.9/professional/TXSoundTouch.xcframework.zip
Downloading binary artifact https://liteav.sdk.qcloud.com/download/spm/12.9/professional/TXLiteAVSDK_Professional.xcframework.zip
[16384/664792] Downloading https://liteav.sdk.qcloud.com/download/spm/12.9/professional/TXLiteAVSDK_ReplayKitExt.xcframework.zip
[114688/112090687] Downloading https://liteav.sdk.qcloud.com/download/spm/12.9/professional/TXLiteAVSDK_ReplayKitExt.xcframework.zip, https://liteav.sdk.qcloud.com/download/spm/12.9/professional/TXLiteAVSDK_Professional.xcframework.zip
[294912/119042301] Downloading https://liteav.sdk.qcloud.com/download/spm/12.9/professional/TXLiteAVSDK_ReplayKitExt.xcframework.zip, https://liteav.sdk.qcloud.com/download/spm/12.9/professional/TXLiteAVSDK_Professional.xcframework.zip, https://liteav.sdk.qcloud.com/download/spm/12.9/professional/TXFFmpeg.xcframework.zip
[327680/119136972] Downloading https://liteav.sdk.qcloud.com/download/spm/12.9/professional/TXLiteAVSDK_ReplayKitExt.xcframework.zip, https://liteav.sdk.qcloud.com/download/spm/12.9/professional/TXLiteAVSDK_Professional.xcframework.zip, https://liteav.sdk.qcloud.com/download/spm/12.9/professional/TXFFmpeg.xcframework.zip, https://liteav.sdk.qcloud.com/download/spm/12.9/professional/TXSoundTouch.xcframework.zip
Downloaded https://liteav.sdk.qcloud.com/download/spm/12.9/professional/TXSoundTouch.xcframework.zip (0.69s)
[1163264/119042301] Downloading https://liteav.sdk.qcloud.com/download/spm/12.9/professional/TXLiteAVSDK_ReplayKitExt.xcframework.zip, https://liteav.sdk.qcloud.com/download/spm/12.9/professional/TXLiteAVSDK_Professional.xcframework.zip, https://liteav.sdk.qcloud.com/download/spm/12.9/professional/TXFFmpeg.xcframework.zip
Downloaded https://liteav.sdk.qcloud.com/download/spm/12.9/professional/TXLiteAVSDK_ReplayKitExt.xcframework.zip (0.79s)
[4751360/118377509] Downloading https://liteav.sdk.qcloud.com/download/spm/12.9/professional/TXLiteAVSDK_Professional.xcframework.zip, https://liteav.sdk.qcloud.com/download/spm/12.9/professional/TXFFmpeg.xcframework.zip
[62333257/133538787] Downloading https://liteav.sdk.qcloud.com/download/spm/12.9/professional/TXLiteAVSDK_Professional.xcframework.zip, https://liteav.sdk.qcloud.com/download/spm/12.9/professional/TXFFmpeg.xcframework.zip, https://liteav.sdk.qcloud.com/app/tuikit/download/release/3.6/RTCRoomEngine_iOS_3.6.3.91_SDK.zip
Downloaded https://liteav.sdk.qcloud.com/download/spm/12.9/professional/TXFFmpeg.xcframework.zip (1.61s)
[57867844/126587173] Downloading https://liteav.sdk.qcloud.com/download/spm/12.9/professional/TXLiteAVSDK_Professional.xcframework.zip, https://liteav.sdk.qcloud.com/app/tuikit/download/release/3.6/RTCRoomEngine_iOS_3.6.3.91_SDK.zip
[75758932/138139146] Downloading https://liteav.sdk.qcloud.com/download/spm/12.9/professional/TXLiteAVSDK_Professional.xcframework.zip, https://liteav.sdk.qcloud.com/app/tuikit/download/release/3.6/RTCRoomEngine_iOS_3.6.3.91_SDK.zip, https://im.sdk.cloud.tencent.cn/download/plus/8.7.7201/ImSDK_Plus_8.7.7201.xcframework.zip
Downloaded https://im.sdk.cloud.tencent.cn/download/plus/8.7.7201/ImSDK_Plus_8.7.7201.xcframework.zip (4.25s)
Downloaded https://liteav.sdk.qcloud.com/app/tuikit/download/release/3.6/RTCRoomEngine_iOS_3.6.3.91_SDK.zip (5.98s)
Downloaded https://liteav.sdk.qcloud.com/download/spm/12.9/professional/TXLiteAVSDK_Professional.xcframework.zip (17.31s)
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--3EE9C60077A20DAF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] Emitting module Professional_SwiftPM
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.3 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64/android/Swift.swiftmodule/aarch64-unknown-linux-android.swiftmodule
[5/5] Compiling Professional_SwiftPM Professional_SwiftPM.swift
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.3 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64/android/Swift.swiftmodule/aarch64-unknown-linux-android.swiftmodule
BUILD FAILURE 6.2 android