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 SwiftTelegramSdk, reference 3.9.4 (bdb178), with Swift 6.2 (beta) for Wasm on 24 Jun 2025 07:34:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/nerzh/swift-telegram-sdk.git
Reference: 3.9.4
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/nerzh/swift-telegram-sdk
 * tag               3.9.4      -> FETCH_HEAD
HEAD is now at bdb178b try fix error protocol
Cloned https://github.com/nerzh/swift-telegram-sdk.git
Revision (git rev-parse @):
bdb178b6bd4ab3436453bd931e29be6a4a6f60a6
SUCCESS checkout https://github.com/nerzh/swift-telegram-sdk.git at 3.9.4
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/nerzh/swift-telegram-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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
Fetching https://github.com/nerzh/swift-regular-expression
Fetching https://github.com/nerzh/swift-custom-logger
[2/61] Fetching swift-regular-expression
[61/98] Fetching swift-regular-expression, swift-custom-logger
Fetched https://github.com/nerzh/swift-custom-logger from cache (0.42s)
Fetched https://github.com/nerzh/swift-regular-expression from cache (0.42s)
Computing version for https://github.com/nerzh/swift-regular-expression
Computed https://github.com/nerzh/swift-regular-expression at 0.2.4 (4.90s)
Computing version for https://github.com/nerzh/swift-custom-logger
Computed https://github.com/nerzh/swift-custom-logger at 1.1.1 (0.69s)
Fetching https://github.com/apple/swift-log
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (0.67s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (1.66s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
Creating working copy for https://github.com/nerzh/swift-custom-logger
Working copy of https://github.com/nerzh/swift-custom-logger resolved at 1.1.1
Creating working copy for https://github.com/nerzh/swift-regular-expression
Working copy of https://github.com/nerzh/swift-regular-expression resolved at 0.2.4
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/12] Compiling Logging LogHandler.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/12] Emitting module SwiftRegularExpression
/host/spi-builder-workspace/.build/checkouts/swift-regular-expression/Sources/SwiftRegularExpression/String/String+Regexp.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // MARK: REGEXP
[8/12] Compiling SwiftRegularExpression String+Regexp.swift
/host/spi-builder-workspace/.build/checkouts/swift-regular-expression/Sources/SwiftRegularExpression/String/String+Regexp.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // MARK: REGEXP
[9/12] Compiling Logging Locks.swift
[10/12] Emitting module Logging
BUILD FAILURE 6.2 wasm