Build Information
Failed to build baton, reference main (c5f1f4), with Swift 6.4 for Wasm on 25 Sep 2026 15:48:44 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexey1312/baton.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/alexey1312/baton
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c5f1f41 ci: bust stale SPM cache after swift-baton -> baton rename
Cloned https://github.com/alexey1312/baton.git
Revision (git rev-parse @):
c5f1f41cfae3811856aeac2d9d7534204cce3cdd
SUCCESS checkout https://github.com/alexey1312/baton.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/alexey1312/baton.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/stephencelis/SQLite.swift
Fetching https://github.com/tuist/Noora
Fetching https://github.com/mattt/swift-yyjson
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/mattt/swift-toml
[1/2345] Fetching swift-docc-plugin
[213/2676] Fetching swift-docc-plugin, swift-toml
[801/13983] Fetching swift-docc-plugin, swift-toml, sqlite.swift
[802/15359] Fetching swift-docc-plugin, swift-toml, sqlite.swift, swift-jinja
Fetched https://github.com/mattt/swift-toml (0.55s)
[1411/15028] Fetching swift-docc-plugin, sqlite.swift, swift-jinja
Fetching https://github.com/apple/swift-log.git
[5532/34688] Fetching swift-docc-plugin, sqlite.swift, swift-jinja, noora
Fetched https://github.com/swiftlang/swift-docc-plugin (0.88s)
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/stephencelis/SQLite.swift (0.88s)
[10421/21592] Fetching swift-jinja, noora, swift-yyjson
[10777/29757] Fetching swift-jinja, noora, swift-yyjson, swift-log
Fetched https://github.com/apple/swift-log.git (0.58s)
[10977/40533] Fetching swift-jinja, noora, swift-yyjson, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.83s)
[11369/21592] Fetching swift-jinja, noora, swift-yyjson
Fetched https://github.com/mattt/swift-yyjson (2.74s)
Fetched https://github.com/huggingface/swift-jinja.git (2.74s)
Fetched https://github.com/tuist/Noora (2.79s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (3.87s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3830] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.68s)
Computing version for https://github.com/stephencelis/SQLite.swift
warning: 'sqlite.swift': /Package.swift:41:19: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
39 | .iOS(.v12),
40 | .macOS(.v10_13),
41 | .watchOS(.v4),
| `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
42 | .tvOS(.v12),
43 | .visionOS(.v1)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/stephencelis/SQLite.swift at 0.16.0 (0.87s)
Fetching https://github.com/stephencelis/CSQLite
[1/295] Fetching csqlite
Fetched https://github.com/stephencelis/CSQLite (0.82s)
Computing version for https://github.com/mattt/swift-toml
Computed https://github.com/mattt/swift-toml at 2.0.0 (0.98s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.21s)
Computing version for https://github.com/mattt/swift-yyjson
Computed https://github.com/mattt/swift-yyjson at 0.6.0 (0.17s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.16s)
Computing version for https://github.com/stephencelis/CSQLite
Computed https://github.com/stephencelis/CSQLite at 3.53.3 (0.15s)
Computing version for https://github.com/tuist/Noora
Computed https://github.com/tuist/Noora at 0.57.3 (0.15s)
Fetching https://github.com/tuist/path
Fetching https://github.com/onevcat/Rainbow
[1/412] Fetching path
[405/1922] Fetching path, rainbow
Fetched https://github.com/tuist/path (0.48s)
[1284/1510] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow (0.51s)
Computing version for https://github.com/tuist/path
Computed https://github.com/tuist/path at 0.3.8 (0.70s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.2 (1.04s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.0 (0.19s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.5.1 (0.15s)
Fetching https://github.com/apple/swift-collections.git
[1/27723] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.23s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (1.53s)
Creating working copy for https://github.com/mattt/swift-yyjson
Working copy of https://github.com/mattt/swift-yyjson resolved at 0.6.0
Creating working copy for https://github.com/mattt/swift-toml
Working copy of https://github.com/mattt/swift-toml resolved at 2.0.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.5.1
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
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.0
Creating working copy for https://github.com/tuist/Noora
Working copy of https://github.com/tuist/Noora resolved at 0.57.3
Creating working copy for https://github.com/tuist/path
Working copy of https://github.com/tuist/path resolved at 0.3.8
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.2
Creating working copy for https://github.com/stephencelis/SQLite.swift
Working copy of https://github.com/stephencelis/SQLite.swift resolved at 0.16.0
Creating working copy for https://github.com/stephencelis/CSQLite
Working copy of https://github.com/stephencelis/CSQLite resolved at 3.53.3
warning: 'sqlite.swift': /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Package.swift:41:19: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
39 | .iOS(.v12),
40 | .macOS(.v10_13),
41 | .watchOS(.v4),
| `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
42 | .tvOS(.v12),
43 | .visionOS(.v1)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 602]
[Planning deferred tasks]
[102 / 210]
[111 / 230] Logging
[114 / 268] SQLite
[114 / 268] Logging
[125 / 268] Rainbow
[127 / 268] Rainbow
[137 / 268] InternalCollectionsUtilities
[147 / 268] InternalCollectionsUtilities
[150 / 268] YYJSON
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Core/Backup.swift:26:8: [1;31merror: [1;39mno such module 'Dispatch'[0;0m
[0;36m24 |[0;0m
[0;36m25 |[0;0m import Foundation
[0;36m26 |[0;0m import Dispatch
[0;36m|[0;0m `- [1;31merror: [1;39mno such module 'Dispatch'[0;0m
[0;36m27 |[0;0m #if StandaloneSQLite
[0;36m28 |[0;0m import sqlite3
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/out/Intermediates.noindex/SQLite.swift.build/Debug-webassembly-wasm32/SQLite-t.build/DerivedSources/resource_bundle_accessor.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Core/Backup.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Core/Blob.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Core/Connection+Aggregation.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Core/Connection+Attach.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Core/Connection+Pragmas.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Core/Connection.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Core/Errors.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Core/Result.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Core/SQLiteFeature.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Core/SQLiteVersion.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Core/Statement.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Core/URIQueryParameter.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Core/Value.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Extensions/Cipher.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Extensions/FTS4.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Extensions/FTS5.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Extensions/RTree.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Foundation.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Helpers.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Schema/Connection+Schema.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Schema/SchemaChanger.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Schema/SchemaDefinitions.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Schema/SchemaReader.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Typed/AggregateFunctions.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Typed/Coding.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Typed/Collation.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Typed/CoreFunctions.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Typed/CustomFunctions.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Typed/DateAndTimeFunctions.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Typed/Expression.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Typed/Operators.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Typed/Query+with.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Typed/Query.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Typed/Schema.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Typed/Setter.swift /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Typed/WindowFunctions.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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_AVAILABLE -D SQLiteSwiftCSQLite -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 -user-module-version 0.16.0 -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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/CSQLite/Sources/CSQLite/include/module.modulemap -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/checkouts/CSQLite/Sources/CSQLite/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SQLite.swift.build/Debug-webassembly-wasm32/SQLite-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SQLite.swift.build/Debug-webassembly-wasm32/SQLite-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SQLite.swift.build/Debug-webassembly-wasm32/SQLite-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SQLite -package-name sqlite_swift -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SQLite.swift.build/Debug-webassembly-wasm32/SQLite-t.build/Objects-normal/wasm32/SQLite_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/SQLite.swift.build/Debug-webassembly-wasm32/SQLite-t.build/Objects-normal/wasm32/Modules/SQLite.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SQLite.swift.build/Debug-webassembly-wasm32/SQLite-t.build/Objects-normal/wasm32/Modules/SQLite.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SQLite.swift.build/Debug-webassembly-wasm32/SQLite-t.build/Objects-normal/wasm32/SQLite-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SQLite.swift.build/Debug-webassembly-wasm32/SQLite-t.build/Objects-normal/wasm32/SQLite-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SQLite.swift.build/Debug-webassembly-wasm32/SQLite-t.build/Objects-normal/wasm32/SQLite-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SQLite.swift.build/Debug-webassembly-wasm32/SQLite-t.build/Objects-normal/wasm32/Modules/SQLite.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm