Build Information
Failed to build pyTanks.SwiftPlayer, reference 2.0.0 (908e73), with Swift 6.1 for Wasm on 27 May 2025 07:16:52 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/matthewseaman/pytanks.swiftplayer.git
Reference: 2.0.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/matthewseaman/pytanks.swiftplayer
* tag 2.0.0 -> FETCH_HEAD
HEAD is now at 908e736 Merge pull request #9 from matthewseaman/fps-access
Cloned https://github.com/matthewseaman/pytanks.swiftplayer.git
Revision (git rev-parse @):
908e736375545bc89c14256968236a500f00b06a
SUCCESS checkout https://github.com/matthewseaman/pytanks.swiftplayer.git at 2.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/matthewseaman/pytanks.swiftplayer.git
https://github.com/matthewseaman/pytanks.swiftplayer.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "starscream",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/daltoniam/Starscream.git"
}
],
"manifest_display_name" : "pyTanks.SwiftPlayer",
"name" : "pyTanks.SwiftPlayer",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "pyTanks",
"targets" : [
"pyTanks"
],
"type" : {
"executable" : null
}
},
{
"name" : "PlayerSupport",
"targets" : [
"PlayerSupport"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ClientControl",
"targets" : [
"ClientControl"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "pyTanks",
"module_type" : "SwiftTarget",
"name" : "pyTanks",
"path" : "Sources/pyTanks",
"product_memberships" : [
"pyTanks"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"ClientControl",
"SimplePlayer"
],
"type" : "executable"
},
{
"c99name" : "Utils",
"module_type" : "SwiftTarget",
"name" : "Utils",
"path" : "Sources/Utils",
"product_memberships" : [
"pyTanks",
"ClientControl"
],
"sources" : [
"CommandLineArgumentParser.swift",
"Operators.swift"
],
"type" : "library"
},
{
"c99name" : "SimplePlayer",
"module_type" : "SwiftTarget",
"name" : "SimplePlayer",
"path" : "Sources/SimplePlayer",
"product_memberships" : [
"pyTanks"
],
"sources" : [
"SimplePlayer.swift"
],
"target_dependencies" : [
"PlayerSupport"
],
"type" : "library"
},
{
"c99name" : "PlayerSupport",
"module_type" : "SwiftTarget",
"name" : "PlayerSupport",
"path" : "Sources/PlayerSupport",
"product_memberships" : [
"pyTanks",
"PlayerSupport",
"ClientControl"
],
"sources" : [
"Command.swift",
"GameConfiguration.swift",
"GameState.swift",
"Log.swift",
"Player.swift"
],
"type" : "library"
},
{
"c99name" : "ClientControl",
"module_type" : "SwiftTarget",
"name" : "ClientControl",
"path" : "Sources/ClientControl",
"product_memberships" : [
"pyTanks",
"ClientControl"
],
"sources" : [
"Game.swift"
],
"target_dependencies" : [
"Client",
"PlayerSupport"
],
"type" : "library"
},
{
"c99name" : "Client",
"module_type" : "SwiftTarget",
"name" : "Client",
"path" : "Sources/Client",
"product_dependencies" : [
"Starscream"
],
"product_memberships" : [
"pyTanks",
"ClientControl"
],
"sources" : [
"ClientConfig+parse.swift",
"ClientConfiguration.swift",
"Command+JSON.swift",
"GameClient.swift",
"GameLoop.swift",
"GameState+JSON.swift"
],
"target_dependencies" : [
"PlayerSupport",
"Utils"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/daltoniam/Starscream.git
[1/5033] Fetching starscream
Fetched https://github.com/daltoniam/Starscream.git from cache (0.62s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 3.1.2 (1.27s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.39s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (2.59s)
Creating working copy for https://github.com/daltoniam/Starscream.git
Working copy of https://github.com/daltoniam/Starscream.git resolved at 3.1.2
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
Building for debugging...
[0/17] Write sources
[7/17] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/31] Emitting module PlayerSupport
/host/spi-builder-workspace/Sources/PlayerSupport/Log.swift:9:8: error: no such module 'Dispatch'
7 | //
8 |
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 |
[10/31] Compiling PlayerSupport Log.swift
/host/spi-builder-workspace/Sources/PlayerSupport/Log.swift:9:8: error: no such module 'Dispatch'
7 | //
8 |
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 |
[11/31] Compiling PlayerSupport Player.swift
/host/spi-builder-workspace/Sources/PlayerSupport/Log.swift:9:8: error: no such module 'Dispatch'
7 | //
8 |
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 |
[12/31] Compiling Utils Operators.swift
[13/31] Compiling PlayerSupport GameConfiguration.swift
/host/spi-builder-workspace/Sources/PlayerSupport/Log.swift:9:8: error: no such module 'Dispatch'
7 | //
8 |
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 |
[14/31] Compiling PlayerSupport Command.swift
/host/spi-builder-workspace/Sources/PlayerSupport/Log.swift:9:8: error: no such module 'Dispatch'
7 | //
8 |
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 |
[15/31] Compiling PlayerSupport GameState.swift
/host/spi-builder-workspace/Sources/PlayerSupport/Log.swift:9:8: error: no such module 'Dispatch'
7 | //
8 |
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 |
[16/31] Compiling Starscream SSLClientCertificate.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/Compression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | class Decompressor {
[17/31] Compiling Starscream WebSocket.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/Compression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | class Decompressor {
[18/31] Compiling Starscream SSLSecurity.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/Compression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | class Decompressor {
[19/31] Emitting module Utils
[20/31] Compiling Utils CommandLineArgumentParser.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/32] Emitting module Starscream
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/Compression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | class Decompressor {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
[0/1] Planning build
Building for debugging...
[0/10] Write swift-version-24593BA9C3E375BF.txt
[2/24] Compiling PlayerSupport Player.swift
/host/spi-builder-workspace/Sources/PlayerSupport/Log.swift:9:8: error: no such module 'Dispatch'
7 | //
8 |
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 |
[3/24] Compiling PlayerSupport Log.swift
/host/spi-builder-workspace/Sources/PlayerSupport/Log.swift:9:8: error: no such module 'Dispatch'
7 | //
8 |
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 |
[4/24] Compiling Utils Operators.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/24] Compiling PlayerSupport GameConfiguration.swift
/host/spi-builder-workspace/Sources/PlayerSupport/Log.swift:9:8: error: no such module 'Dispatch'
7 | //
8 |
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 |
[6/24] Emitting module PlayerSupport
/host/spi-builder-workspace/Sources/PlayerSupport/Log.swift:9:8: error: no such module 'Dispatch'
7 | //
8 |
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 |
[7/24] Compiling PlayerSupport Command.swift
/host/spi-builder-workspace/Sources/PlayerSupport/Log.swift:9:8: error: no such module 'Dispatch'
7 | //
8 |
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 |
[8/24] Compiling PlayerSupport GameState.swift
/host/spi-builder-workspace/Sources/PlayerSupport/Log.swift:9:8: error: no such module 'Dispatch'
7 | //
8 |
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 |
[9/24] Emitting module Utils
BUILD FAILURE 6.1 wasm