Build Information
Failed to build SwiftTelegramBot, reference 10.4.1 (86c911), with Swift 6.4 for Wasm on 21 Nov 2026 10:35:30 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-1":/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/nerzh/swift-telegram-bot.git
Reference: 10.4.1
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-bot
* tag 10.4.1 -> FETCH_HEAD
HEAD is now at 86c9111 cleaning
Cloned https://github.com/nerzh/swift-telegram-bot.git
Revision (git rev-parse @):
86c9111fd7e5327e140bc476dc4bedcfc1a562a9
SUCCESS checkout https://github.com/nerzh/swift-telegram-bot.git at 10.4.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/nerzh/swift-telegram-bot.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-1":/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:d7b72fae8894fba3c2632fd7068ea480e9b111160d8dd7b4d9df5fbcfe7a40ee
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/nerzh/swift-extensions-pack.git
Fetching https://github.com/nerzh/swift-custom-logger
Fetching https://github.com/nerzh/swift-regular-expression
[1/37] Fetching swift-custom-logger
[38/98] Fetching swift-custom-logger, swift-regular-expression
[86/1603] Fetching swift-custom-logger, swift-regular-expression, swift-extensions-pack
Fetched https://github.com/nerzh/swift-regular-expression (0.33s)
Fetched https://github.com/nerzh/swift-custom-logger (0.33s)
[1370/1505] Fetching swift-extensions-pack
Fetched https://github.com/nerzh/swift-extensions-pack.git (0.36s)
Computing version for https://github.com/nerzh/swift-regular-expression
Computed https://github.com/nerzh/swift-regular-expression at 0.2.4 (1.27s)
Computing version for https://github.com/nerzh/swift-extensions-pack.git
Computed https://github.com/nerzh/swift-extensions-pack.git at 2.15.0 (0.16s)
Fetching https://github.com/bytehubio/ed25519
Fetching https://github.com/apple/swift-crypto
[1/18987] Fetching swift-crypto
[2090/19191] Fetching swift-crypto, ed25519
Fetched https://github.com/bytehubio/ed25519 (1.45s)
Fetched https://github.com/apple/swift-crypto (1.46s)
Computing version for https://github.com/bytehubio/ed25519
Computed https://github.com/bytehubio/ed25519 at 1.1.0 (1.61s)
Computing version for https://github.com/nerzh/swift-custom-logger
Computed https://github.com/nerzh/swift-custom-logger at 1.1.1 (0.14s)
Fetching https://github.com/apple/swift-log
[1/8544] Fetching swift-log
Fetched https://github.com/apple/swift-log (0.46s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 5.1.2 (1.41s)
Fetching https://github.com/apple/swift-asn1.git
[1/2082] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.42s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.61s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.17.2 (0.16s)
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-extensions-pack.git
Working copy of https://github.com/nerzh/swift-extensions-pack.git resolved at 2.15.0
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 5.1.2
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
Creating working copy for https://github.com/bytehubio/ed25519
Working copy of https://github.com/bytehubio/ed25519 resolved at 1.1.0
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.4
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.17.2
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 485]
[Planning deferred tasks]
[Constructing 769 / 1413]
[40 / 531] SwiftASN1
[86 / 547] CXKCP
[90 / 571] Ed25519
[92 / 571] Ed25519
[94 / 571] Logging
[109 / 571] SwiftASN1
[120 / 571] SwiftASN1-product
[122 / 571] SwiftASN1
[124 / 571] Logging
[126 / 571] Logging-product
[128 / 571] SwiftCustomLogger
[132 / 571] Ed25519
[139 / 573] SwiftASN1
[149 / 575] CryptoBoringWrapper
[153 / 575] SwiftRegularExpression
[155 / 575] Ed25519
[176 / 576] CCryptoBoringSSL
[184 / 576] CCryptoBoringSSL
[189 / 576] CCryptoBoringSSL
[193 / 576] CCryptoBoringSSL
[195 / 576] CCryptoBoringSSL
[197 / 576] CCryptoBoringSSL
[202 / 576] CCryptoBoringSSL
[205 / 576] CCryptoBoringSSL
[216 / 576] CCryptoBoringSSL
[221 / 576] CCryptoBoringSSL
[223 / 576] CCryptoBoringSSL
[227 / 576] CCryptoBoringSSL
[229 / 576] CCryptoBoringSSL
[231 / 576] CCryptoBoringSSL
[235 / 576] CCryptoBoringSSL
[237 / 576] CCryptoBoringSSL
[239 / 576] CCryptoBoringSSL
[245 / 576] CCryptoBoringSSL
[248 / 576] CCryptoBoringSSL
[250 / 576] CCryptoBoringSSL
[255 / 576] CCryptoBoringSSL
[256 / 576] CCryptoBoringSSL
[260 / 576] CCryptoBoringSSL
[261 / 576] CCryptoBoringSSL
[264 / 576] CCryptoBoringSSL
[267 / 576] CCryptoBoringSSL
[275 / 576] CCryptoBoringSSL
[290 / 576] CCryptoBoringSSL
[300 / 576] CCryptoBoringSSL
[303 / 576] CCryptoBoringSSL
[307 / 576] CCryptoBoringSSL
[310 / 576] CCryptoBoringSSL
[315 / 576] CCryptoBoringSSL
[318 / 576] CCryptoBoringSSL
[322 / 576] CCryptoBoringSSL
[327 / 576] CCryptoBoringSSL
[330 / 576] CCryptoBoringSSL
[335 / 576] CCryptoBoringSSL
[337 / 576] CCryptoBoringSSL
[339 / 576] CCryptoBoringSSL
[343 / 576] CCryptoBoringSSL
[346 / 576] CCryptoBoringSSL
[352 / 576] CCryptoBoringSSL
[358 / 576] CCryptoBoringSSL
[362 / 576] CCryptoBoringSSL
[366 / 576] CCryptoBoringSSL
[372 / 576] CCryptoBoringSSL
[374 / 576] CCryptoBoringSSL
[382 / 576] CCryptoBoringSSL
[396 / 576] CCryptoBoringSSL
[400 / 576] CCryptoBoringSSL
[403 / 576] CCryptoBoringSSL
[410 / 576] CCryptoBoringSSL
[415 / 576] CCryptoBoringSSL
[420 / 576] CCryptoBoringSSL
[423 / 576] CCryptoBoringSSL
[426 / 576] CCryptoBoringSSL
[430 / 576] CCryptoBoringSSL
[433 / 576] CCryptoBoringSSL
[436 / 576] CCryptoBoringSSL
[439 / 576] CCryptoBoringSSL
[442 / 576] CCryptoBoringSSL
[446 / 576] CCryptoBoringSSL
[447 / 576] CCryptoBoringSSL
[456 / 576] CCryptoBoringSSL
[463 / 576] CCryptoBoringSSL
[471 / 576] CCryptoBoringSSL
[472 / 576] CCryptoBoringSSL
[477 / 576] CCryptoBoringSSL
[483 / 576] CCryptoBoringSSL
[485 / 576] CCryptoBoringSSL
[487 / 576] CCryptoBoringSSL
[489 / 576] CCryptoBoringSSL
[491 / 576] CCryptoBoringSSL
[502 / 576] CCryptoBoringSSL
[514 / 576] CCryptoBoringSSL
[519 / 576] CCryptoBoringSSL
[520 / 576] CCryptoBoringSSL
[522 / 576] CCryptoBoringSSL
[525 / 576] CCryptoBoringSSL
[527 / 576] CCryptoBoringSSL
[529 / 576] CCryptoBoringSSL
[533 / 576] Logging
[540 / 582] SwiftCustomLogger
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/.build/checkouts/swift-custom-logger/Sources/SwiftCustomLogger/Printer.swift:51:43: [1;31merror: [1;39mcannot find type 'FILE' in scope[0;0m
[0;36m49 |[0;0m private struct OutputStream: TextOutputStream {
[0;36m50 |[0;0m
[0;36m51 |[0;0m public let file: UnsafeMutablePointer<[4;39mFILE[0;0m>
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'FILE' in scope[0;0m
[0;36m52 |[0;0m
[0;36m53 |[0;0m public func write(_ string: String) {
/host/spi-builder-workspace/.build/checkouts/swift-custom-logger/Sources/SwiftCustomLogger/Printer.swift:70:25: [1;31merror: [1;39mfailed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)[0;0m
[0;36m68 |[0;0m
[0;36m69 |[0;0m #elseif canImport(WASILibc)
[0;36m70 |[0;0m static let stderr = [4;39mOutputStream(file: WASILibc.stderr!)[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mfailed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)[0;0m
[0;36m71 |[0;0m static let stdout = OutputStream(file: WASILibc.stdout!)
[0;36m72 |[0;0m
/host/spi-builder-workspace/.build/checkouts/swift-custom-logger/Sources/SwiftCustomLogger/Printer.swift:71:25: [1;31merror: [1;39mfailed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)[0;0m
[0;36m69 |[0;0m #elseif canImport(WASILibc)
[0;36m70 |[0;0m static let stderr = OutputStream(file: WASILibc.stderr!)
[0;36m71 |[0;0m static let stdout = [4;39mOutputStream(file: WASILibc.stdout!)[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mfailed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)[0;0m
[0;36m72 |[0;0m
[0;36m73 |[0;0m #elseif canImport(Glibc)
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/checkouts/swift-custom-logger/Sources/SwiftCustomLogger/BasicFormatter.swift /host/spi-builder-workspace/.build/checkouts/swift-custom-logger/Sources/SwiftCustomLogger/CustomHandler.swift /host/spi-builder-workspace/.build/checkouts/swift-custom-logger/Sources/SwiftCustomLogger/LogFormatter.swift /host/spi-builder-workspace/.build/checkouts/swift-custom-logger/Sources/SwiftCustomLogger/Printer.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCustomLogger.build/Debug-webassembly-wasm32/SwiftCustomLogger-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCustomLogger.build/Debug-webassembly-wasm32/SwiftCustomLogger-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCustomLogger.build/Debug-webassembly-wasm32/SwiftCustomLogger-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftCustomLogger -package-name swift_custom_logger -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCustomLogger.build/Debug-webassembly-wasm32/SwiftCustomLogger-t.build/Objects-normal/wasm32/SwiftCustomLogger_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCustomLogger.build/Debug-webassembly-wasm32/SwiftCustomLogger-t.build/Objects-normal/wasm32/Modules/SwiftCustomLogger.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCustomLogger.build/Debug-webassembly-wasm32/SwiftCustomLogger-t.build/Objects-normal/wasm32/Modules/SwiftCustomLogger.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCustomLogger.build/Debug-webassembly-wasm32/SwiftCustomLogger-t.build/Objects-normal/wasm32/SwiftCustomLogger-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCustomLogger.build/Debug-webassembly-wasm32/SwiftCustomLogger-t.build/Objects-normal/wasm32/SwiftCustomLogger-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCustomLogger.build/Debug-webassembly-wasm32/SwiftCustomLogger-t.build/Objects-normal/wasm32/SwiftCustomLogger-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCustomLogger.build/Debug-webassembly-wasm32/SwiftCustomLogger-t.build/Objects-normal/wasm32/Modules/SwiftCustomLogger.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm