Build Information
Failed to build swift-telegram-client, reference main (710f3b), with Swift 6.4 for Wasm on 26 Nov 2026 02:55:54 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344849-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: 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/UInt8Co/swift-telegram-client
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
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-54344849-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/UInt8Co/swift-mtproto.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-crypto.git
[1/375] Fetching swift-mtproto
[361/563] Fetching swift-mtproto, swift-nio-mtproto
[480/19586] Fetching swift-mtproto, swift-nio-mtproto, swift-crypto
Fetched https://github.com/UInt8Co/swift-mtproto.git (0.38s)
[152/19211] Fetching swift-nio-mtproto, swift-crypto
[3804/49771] Fetching swift-nio-mtproto, swift-crypto, swift-collections
Fetched https://github.com/apple/swift-crypto.git (1.26s)
Fetched https://github.com/UInt8Co/swift-nio-mtproto.git (1.36s)
Fetched https://github.com/apple/swift-collections.git (1.37s)
Computing version for https://github.com/UInt8Co/swift-nio-mtproto.git
Computed https://github.com/UInt8Co/swift-nio-mtproto.git at 2.1.0 (1.53s)
Fetching https://github.com/apple/swift-nio.git
[1/87162] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (3.41s)
Computing version for https://github.com/UInt8Co/swift-mtproto.git
Computed https://github.com/UInt8Co/swift-mtproto.git at 3.1.1 (3.57s)
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
[17508/101829] Fetching swift-argument-parser, swift-syntax
[34281/109430] Fetching swift-argument-parser, swift-syntax, swift-system
Fetched https://github.com/apple/swift-system.git (2.91s)
Fetched https://github.com/apple/swift-argument-parser.git (2.91s)
Fetched https://github.com/swiftlang/swift-syntax.git (2.93s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (3.11s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 604.0.0 (0.96s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.9.0 (0.18s)
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.47s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.63s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.6 (0.23s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.2.0 (0.93s)
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.105.2
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/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
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-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-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-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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.9.0
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.16s)
Building for debugging...
[Computing dependencies]
[Provisioning 4 / 123]
[Pre-planning 1 / 3167]
[Planning 929 / 3167]
[Planning 2025 / 3167]
[Planning 2728 / 3167]
[Planning deferred tasks]
[Constructing 102 / 6909]
[Constructing 5872 / 6909]
[Starting]
[6 / 1484]
[347 / 1484] TelegramRichText
[492 / 1534] SwiftASN1
[493 / 1543] NIOConcurrencyHelpers
[505 / 1543] CryptoBoringWrapper
[508 / 1543] _NIODataStructures
[510 / 1543] _NIODataStructures
[526 / 1543] SwiftASN1
[537 / 1543] TLCodingMacros
[539 / 1543] SwiftASN1
[540 / 1544] _NIOBase64
[548 / 1545] SwiftASN1
[550 / 1545] SwiftASN1-product
[553 / 1545] NIOConcurrencyHelpers
[554 / 1546] TLCodingMacros
[556 / 1546] SwiftASN1
[559 / 1546] NIOConcurrencyHelpers
[565 / 1546] MTProtoUtils-product
[569 / 1546] InternalCollectionsUtilities
[572 / 1548] SwiftASN1
[581 / 1549] CryptoBoringWrapper
[585 / 1549] TLCodingMacros
[589 / 1549] CryptoBoringWrapper
[593 / 1549] SwiftASN1
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
error: Build failed
BUILD FAILURE 6.4 wasm