Build Information
Failed to build swift-telegram-client, reference 233.10.0 (710f3b), with Swift 6.4 for Wasm on 24 Nov 2026 21:01:17 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-58779149-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.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/UInt8Co/swift-telegram-client.git
Reference: 233.10.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/UInt8Co/swift-telegram-client
* tag 233.10.0 -> FETCH_HEAD
HEAD is now at 710f3b2 Decode business connections and delete through them
Cloned https://github.com/UInt8Co/swift-telegram-client.git
Revision (git rev-parse @):
710f3b202565e2aa4e539a5dc5278875262894a8
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/UInt8Co/swift-telegram-client.git at 233.10.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/UInt8Co/swift-telegram-client.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-58779149-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.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:6e96de89237e7c0ea2deedfd5eb0c8fe8422d29c0e185f62352b98a0ea224104
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/UInt8Co/swift-nio-mtproto.git
Fetching https://github.com/apple/swift-crypto.git
[1/19023] Fetching swift-crypto
[953/19211] Fetching swift-crypto, swift-nio-mtproto
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/UInt8Co/swift-mtproto.git
[19212/19586] Fetching swift-crypto, swift-nio-mtproto, swift-mtproto
Fetched https://github.com/UInt8Co/swift-nio-mtproto.git (1.11s)
Fetched https://github.com/UInt8Co/swift-mtproto.git (0.58s)
Fetched https://github.com/apple/swift-crypto.git (1.25s)
[1/30500] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.45s)
Computing version for https://github.com/UInt8Co/swift-nio-mtproto.git
Computed https://github.com/UInt8Co/swift-nio-mtproto.git at 2.1.0 (2.14s)
Fetching https://github.com/apple/swift-nio.git
[1/87133] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (3.91s)
Computing version for https://github.com/UInt8Co/swift-mtproto.git
Computed https://github.com/UInt8Co/swift-mtproto.git at 3.1.1 (4.07s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/19452] Fetching swift-argument-parser
[2/27053] Fetching swift-argument-parser, swift-system
[24915/109433] Fetching swift-argument-parser, swift-system, swift-syntax
Fetched https://github.com/apple/swift-system.git (0.69s)
[21100/101832] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git (2.77s)
Fetched https://github.com/swiftlang/swift-syntax.git (2.78s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (2.94s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 604.0.0 (0.95s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.9.0 (0.17s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.2 (0.26s)
Fetching https://github.com/apple/swift-atomics.git
[1/1936] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.55s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.70s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.6 (0.22s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.2.0 (0.92s)
Fetching https://github.com/apple/swift-asn1.git
[1/2088] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.49s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.5 (0.67s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.6
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.5
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 604.0.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.9.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.2.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.105.2
Creating working copy for https://github.com/UInt8Co/swift-nio-mtproto.git
Working copy of https://github.com/UInt8Co/swift-nio-mtproto.git resolved at 2.1.0
Creating working copy for https://github.com/UInt8Co/swift-mtproto.git
Working copy of https://github.com/UInt8Co/swift-mtproto.git resolved at 3.1.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/604.0.0/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/604.0.0/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz (0.28s)
Building for debugging...
[Computing dependencies]
[Provisioning 2 / 123]
[Pre-planning 1 / 3167]
[Planning 1071 / 3167]
[Planning 2096 / 3167]
[Planning 2906 / 3167]
[Planning deferred tasks]
[Constructing 294 / 6909]
[Constructing 6205 / 6909]
[Starting]
[6 / 1484]
[403 / 1484] NIOCore
[491 / 1523] SwiftASN1
[492 / 1523] TLCodingMacros
[510 / 1523] TLCodingMacros
[511 / 1523] SwiftASN1
[523 / 1523] TLCodingMacros
[524 / 1523] TLCodingMacros
[527 / 1524] _NIOBase64
[532 / 1524] _NIOBase64
[536 / 1525] _NIODataStructures
[542 / 1526] TLCodingMacros
[546 / 1526] NIOConcurrencyHelpers-product
[548 / 1526] NIOConcurrencyHelpers-product
[550 / 1526] MTProtoUtils-product
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-mtproto/Sources/CZlib/czlib.c:3:
[1m/host/spi-builder-workspace/.build/checkouts/swift-nio-mtproto/Sources/CZlib/include/czlib-shim.h:4:10: [0m[0;1;31mfatal error: [0m[1m'zlib.h' file not found[0m
4 | #include <zlib.h>[0m
| [0;1;32m ^~~~~~~~
[0m1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-mtproto.build/Debug-webassembly-wasm32/CZlib-t.build/Objects-normal/wasm32/czlib.o /host/spi-builder-workspace/.build/checkouts/swift-nio-mtproto/Sources/CZlib/czlib.c normal wasm32 c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line: cd /host
Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-mtproto.build/Debug-webassembly-wasm32/CZlib-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp
/usr/bin/clang -x c -target wasm32-unknown-wasip1 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-mtproto.build/Debug-webassembly-wasm32/CZlib-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-mtproto.build/Debug-webassembly-wasm32/CZlib-t.build/Objects-normal/wasm32/czlib.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-mtproto.build/Debug-webassembly-wasm32/CZlib-t.build/Objects-normal/wasm32/czlib.dia -c /host/spi-builder-workspace/.build/checkouts/swift-nio-mtproto/Sources/CZlib/czlib.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-mtproto.build/Debug-webassembly-wasm32/CZlib-t.build/Objects-normal/wasm32/czlib.o
[559 / 1548] InternalCollectionsUtilities
error: Build failed
BUILD FAILURE 6.4 wasm