The Swift Package Index logo.Swift Package Index

Build Information

Failed to build pyTanks.SwiftPlayer with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
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:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/matthewseaman/pytanks.swiftplayer.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/daltoniam/Starscream.git
[1/4795] Fetching starscream
Fetched https://github.com/daltoniam/Starscream.git from cache (0.47s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 3.0.6 (0.41s)
Creating working copy for https://github.com/daltoniam/Starscream.git
Working copy of https://github.com/daltoniam/Starscream.git resolved at 3.0.6
Building for debugging...
[0/17] Write sources
[7/17] Write swift-version-24593BA9C3E375BF.txt
[9/31] Compiling PlayerSupport Log.swift
[10/31] Compiling PlayerSupport Player.swift
[11/31] Compiling Starscream WebSocket.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/Compression.swift:30:8: error: no such module 'zlib'
import zlib
       ^
[12/31] Compiling Starscream SSLSecurity.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/Compression.swift:30:8: error: no such module 'zlib'
import zlib
       ^
[13/31] Compiling Starscream SSLClientCertificate.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/Compression.swift:30:8: error: no such module 'zlib'
import zlib
       ^
[14/31] Compiling PlayerSupport GameConfiguration.swift
[15/31] Compiling PlayerSupport Command.swift
[16/31] Emitting module PlayerSupport
[17/31] Compiling PlayerSupport GameState.swift
[19/32] Emitting module Utils
[20/32] Compiling Utils Operators.swift
[21/32] Compiling Utils CommandLineArgumentParser.swift
[21/32] Wrapping AST for PlayerSupport for debugging
[23/35] Wrapping AST for Utils for debugging
[25/35] Emitting module SimplePlayer
[26/35] Compiling SimplePlayer SimplePlayer.swift
[27/36] Wrapping AST for SimplePlayer for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/36] Emitting module Starscream
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/Compression.swift:30:8: error: no such module 'zlib'
import zlib
       ^
[30/36] Compiling Starscream Compression.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/Compression.swift:30:8: error: no such module 'zlib'
import zlib
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/10] Write swift-version-24593BA9C3E375BF.txt
[2/12] Compiling Starscream SSLClientCertificate.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/Compression.swift:30:8: error: no such module 'zlib'
import zlib
       ^
[3/12] Compiling Starscream WebSocket.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/Compression.swift:30:8: error: no such module 'zlib'
import zlib
       ^
[4/12] Compiling Starscream SSLSecurity.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/Compression.swift:30:8: error: no such module 'zlib'
import zlib
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/12] Emitting module Starscream
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/Compression.swift:30:8: error: no such module 'zlib'
import zlib
       ^
[6/12] Compiling Starscream Compression.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/Compression.swift:30:8: error: no such module 'zlib'
import zlib
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2