Build Information
Failed to build swift-chat, reference main (a85ec3), with Swift 6.1 for Wasm on 6 Jan 2026 17:18:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/akbashev/swift-chat.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/akbashev/swift-chat
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a85ec33 Updated event sourcing plugin
Cloned https://github.com/akbashev/swift-chat.git
Revision (git rev-parse @):
a85ec33416a53565eb6bf410f5d4b29e96da3d06
SUCCESS checkout https://github.com/akbashev/swift-chat.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/akbashev/swift-chat.git
https://github.com/akbashev/swift-chat.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-distributed-actors",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-distributed-actors.git"
},
{
"identity" : "cluster-virtual-actors",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/akbashev/cluster-virtual-actors.git"
},
{
"identity" : "cluster-event-sourcing",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/akbashev/cluster-event-sourcing.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swift-openapi-generator",
"requirement" : {
"range" : [
{
"lower_bound" : "1.10.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-openapi-generator.git"
},
{
"identity" : "swift-openapi-runtime",
"requirement" : {
"range" : [
{
"lower_bound" : "1.9.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-openapi-runtime.git"
},
{
"identity" : "swift-openapi-urlsession",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-openapi-urlsession.git"
},
{
"identity" : "swift-async-algorithms",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-async-algorithms.git"
},
{
"identity" : "swift-openapi-hummingbird",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/swift-openapi-hummingbird.git"
},
{
"identity" : "hummingbird",
"requirement" : {
"range" : [
{
"lower_bound" : "2.16.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/hummingbird-project/hummingbird.git"
},
{
"identity" : "hummingbird-auth",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/hummingbird-project/hummingbird-auth.git"
},
{
"identity" : "hummingbird-websocket",
"requirement" : {
"range" : [
{
"lower_bound" : "2.2.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/hummingbird-project/hummingbird-websocket.git"
},
{
"identity" : "hummingbird-elementary",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.2",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/hummingbird-community/hummingbird-elementary.git"
},
{
"identity" : "postgres-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "1.27.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/postgres-nio.git"
},
{
"identity" : "swift-composable-architecture",
"requirement" : {
"range" : [
{
"lower_bound" : "1.22.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-composable-architecture.git"
},
{
"identity" : "swift-dependencies",
"requirement" : {
"range" : [
{
"lower_bound" : "1.9.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-dependencies.git"
},
{
"identity" : "elementary-ui",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/elementary-swift/elementary-ui.git"
},
{
"identity" : "elementary",
"requirement" : {
"range" : [
{
"lower_bound" : "0.6.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/elementary-swift/elementary.git"
},
{
"identity" : "elementary-htmx",
"requirement" : {
"range" : [
{
"lower_bound" : "0.5.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/elementary-swift/elementary-htmx.git"
}
],
"manifest_display_name" : "swift-chat",
"name" : "swift-chat",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "26.0"
},
{
"name" : "ios",
"version" : "26.0"
}
],
"products" : [
{
"name" : "NativeApp",
"targets" : [
"NativeApp"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ServerApp",
"targets" : [
"ServerApp"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "WebApp",
"module_type" : "SwiftTarget",
"name" : "WebApp",
"path" : "Sources/WebApp",
"product_dependencies" : [
"Hummingbird",
"HummingbirdElementary",
"Elementary",
"ElementaryHTMX",
"ElementaryHTMXWS"
],
"product_memberships" : [
"ServerApp"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/WebApp/Public",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"PublicAssets.swift",
"Views.swift",
"WebAppRoutes.swift"
],
"target_dependencies" : [
"AuthCore",
"Models",
"Persistence"
],
"type" : "library"
},
{
"c99name" : "ServerApp",
"module_type" : "SwiftTarget",
"name" : "ServerApp",
"path" : "Sources/ServerApp",
"product_dependencies" : [
"ArgumentParser",
"Dependencies",
"AsyncAlgorithms"
],
"product_memberships" : [
"ServerApp"
],
"sources" : [
"App.swift",
"Auth/Auth.swift",
"Configuration/PostgresConfig.swift",
"Node/Daemon.swift",
"Node/Frontend.swift",
"Node/Room.swift"
],
"target_dependencies" : [
"AuthCore",
"Backend",
"WebApp"
],
"type" : "executable"
},
{
"c99name" : "Persistence",
"module_type" : "SwiftTarget",
"name" : "Persistence",
"path" : "Sources/Persistence",
"product_dependencies" : [
"EventSourcing",
"DistributedCluster",
"PostgresNIO"
],
"product_memberships" : [
"ServerApp"
],
"sources" : [
"Cache.swift",
"MemoryEventStore.swift",
"Model/CreateParticipant.swift",
"Model/ParticipantAuth.swift",
"Model/ParticipantModel.swift",
"Model/RoomModel.swift",
"Persistence.swift",
"Postgres.swift",
"PostgresEventStore.swift"
],
"type" : "library"
},
{
"c99name" : "NativeApp",
"module_type" : "SwiftTarget",
"name" : "NativeApp",
"path" : "Sources/NativeApp",
"product_dependencies" : [
"ComposableArchitecture",
"Dependencies",
"AsyncAlgorithms"
],
"product_memberships" : [
"NativeApp"
],
"sources" : [
"Clients/AuthClient.swift",
"Clients/AuthTokenMiddleware.swift",
"Clients/ChatClient.swift",
"Clients/Client.swift",
"Features/Entrance/CreateRoomView.swift",
"Features/Entrance/Entrance.swift",
"Features/Entrance/EntranceView.swift",
"Features/Entrance/LoginView.swift",
"Features/Entrance/RegisterView.swift",
"Features/Room/Room.swift",
"Features/Room/RoomView.swift",
"Model/Error/ParseMappingError.swift",
"Model/Presentation/ChatMessage+Presentation.swift",
"Model/Presentation/MessagePresentation.swift",
"Model/Presentation/ParticipantPresentation.swift",
"Model/Presentation/Response+Presentation.swift",
"Model/Presentation/RoomPresentation.swift"
],
"target_dependencies" : [
"Client"
],
"type" : "library"
},
{
"c99name" : "Models",
"module_type" : "SwiftTarget",
"name" : "Models",
"path" : "Sources/Models",
"product_dependencies" : [
"OpenAPIRuntime",
"OpenAPIGenerator"
],
"product_memberships" : [
"NativeApp",
"ServerApp"
],
"sources" : [
"Models.swift"
],
"type" : "library"
},
{
"c99name" : "Client",
"module_type" : "SwiftTarget",
"name" : "Client",
"path" : "Sources/Client",
"product_dependencies" : [
"OpenAPIURLSession",
"OpenAPIRuntime",
"OpenAPIGenerator"
],
"product_memberships" : [
"NativeApp"
],
"sources" : [
"Empty.swift"
],
"target_dependencies" : [
"Models"
],
"type" : "library"
},
{
"c99name" : "Backend",
"module_type" : "SwiftTarget",
"name" : "Backend",
"path" : "Sources/Backend",
"product_dependencies" : [
"OpenAPIRuntime",
"OpenAPIHummingbird",
"OpenAPIURLSession",
"HummingbirdWebSocket",
"HummingbirdWSCompression",
"VirtualActors",
"DistributedCluster",
"OpenAPIGenerator"
],
"product_memberships" : [
"ServerApp"
],
"sources" : [
"Connection/Api.swift",
"Connection/UserRoomConnections.swift",
"Mappers/Message+Action.swift",
"Model/MessageEnvelope.swift",
"Model/Participant+Models.swift",
"Model/Room+Models.swift",
"Room.swift",
"User.swift"
],
"target_dependencies" : [
"AuthCore",
"Models",
"Persistence"
],
"type" : "library"
},
{
"c99name" : "AuthCore",
"module_type" : "SwiftTarget",
"name" : "AuthCore",
"path" : "Sources/AuthCore",
"product_dependencies" : [
"HummingbirdBcrypt",
"HummingbirdAuth"
],
"product_memberships" : [
"ServerApp"
],
"sources" : [
"JWT.swift",
"PasswordHasher.swift"
],
"type" : "library"
}
],
"tools_version" : "6.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:dbcbf45695e2d1afcaee9a5a93239e71a6cc4a5872f338d6e993e9ceefe7df1b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.0
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.0
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:dbcbf45695e2d1afcaee9a5a93239e71a6cc4a5872f338d6e993e9ceefe7df1b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.0
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.0
BUILD FAILURE 6.1 wasm