Build Information
Failed to build TelegramBotSDK, reference v2.1.3 (7b1144
), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 09:44:09 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/rapierorg/telegram-bot-swift.git
Reference: v2.1.3
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/rapierorg/telegram-bot-swift
* tag v2.1.3 -> FETCH_HEAD
HEAD is now at 7b1144b Merge pull request #130 from fannur/master
Cloned https://github.com/rapierorg/telegram-bot-swift.git
Revision (git rev-parse @):
7b1144b867ca962e10b1de21c32ab7156e4a83ce
SUCCESS checkout https://github.com/rapierorg/telegram-bot-swift.git at v2.1.3
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/rapierorg/telegram-bot-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/3] Write sources
[1/3] Compiling CCurl shim.c
[1/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/43] Emitting module TelegramBotSDK
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[5/48] Compiling TelegramBotSDK PollType.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[6/48] Compiling TelegramBotSDK ReplyMarkup.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[7/48] Compiling TelegramBotSDK Response.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[8/48] Compiling TelegramBotSDK Utils.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[9/48] Compiling TelegramBotSDK WriteCallbackData.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[10/48] Compiling TelegramBotSDK InputMessageContent.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[11/48] Compiling TelegramBotSDK Message+Command.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[12/48] Compiling TelegramBotSDK MessageEntity+Utils.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[13/48] Compiling TelegramBotSDK MessageOrBool.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[14/48] Compiling TelegramBotSDK ParseMode.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[15/48] Compiling TelegramBotSDK ChatType.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[16/48] Compiling TelegramBotSDK InlineQueryResult.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[17/48] Compiling TelegramBotSDK InputFile.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[18/48] Compiling TelegramBotSDK InputFileOrString.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[19/48] Compiling TelegramBotSDK InputMedia.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[20/48] Compiling TelegramBotSDK TelegramBot+Requests.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[21/48] Compiling TelegramBotSDK TelegramBot+Utils.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[22/48] Compiling TelegramBotSDK TelegramBot.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[23/48] Compiling TelegramBotSDK ChatId.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[24/48] Compiling TelegramBotSDK ChatMember+Status.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[25/48] Compiling TelegramBotSDK BotName.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[26/48] Compiling TelegramBotSDK DataTaskError.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[27/48] Compiling TelegramBotSDK DictionaryUtils.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[28/48] Compiling TelegramBotSDK NSRunLoop+Utils.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[29/48] Compiling TelegramBotSDK Optional+Unwrap.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[30/48] Compiling TelegramBotSDK Scanner+Compatibility.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[31/48] Compiling TelegramBotSDK Types.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[32/48] Compiling TelegramBotSDK HTTPUtils.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[33/48] Compiling TelegramBotSDK TelegramBot+getUpdates+Utils.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[34/48] Compiling TelegramBotSDK TelegramBot+sendChatAction+Utils.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[35/48] Compiling TelegramBotSDK MimeTypes.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[36/48] Compiling TelegramBotSDK Arguments.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[37/48] Compiling TelegramBotSDK Command.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[38/48] Compiling TelegramBotSDK ContentType.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[39/48] Compiling TelegramBotSDK Context.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[40/48] Compiling TelegramBotSDK Router+Helpers.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[41/48] Compiling TelegramBotSDK Router.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[42/48] Compiling TelegramBotSDK TaskAssociatedData.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[43/48] Compiling TelegramBotSDK Scanner+Utils.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[44/48] Compiling TelegramBotSDK String+ExtractBotCommand.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[45/48] Compiling TelegramBotSDK String+HTTP.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[46/48] Compiling TelegramBotSDK String+Trim.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[47/48] Compiling TelegramBotSDK String+Utils.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
[48/48] Compiling TelegramBotSDK Methods.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/BotName.swift:13:8: error: no such module 'Foundation'
11 | //
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public class BotName {
BUILD FAILURE 6.2 wasm