The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftStomp with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.33.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Romixery/SwiftStomp.git
Reference: master
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/Romixery/SwiftStomp
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 2efa106 Merge pull request #18 from stuartcamerondeakin/force-starscream-4.0.6
Cloned https://github.com/Romixery/SwiftStomp.git
Revision (git rev-parse @):
2efa1062fa7d5f3daebc168025bd767bd961d404
SUCCESS checkout https://github.com/Romixery/SwiftStomp.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $workDir
https://github.com/Romixery/SwiftStomp.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/daltoniam/Starscream.git
Fetching https://github.com/ashleymills/Reachability.swift
[1/1867] Fetching reachability.swift
[1868/6709] Fetching reachability.swift, starscream
Fetched https://github.com/ashleymills/Reachability.swift (0.39s)
Fetched https://github.com/daltoniam/Starscream.git (0.40s)
Computing version for https://github.com/ashleymills/Reachability.swift
Computed https://github.com/ashleymills/Reachability.swift at 5.0.0 (1.14s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 4.0.6 (0.39s)
Creating working copy for https://github.com/daltoniam/Starscream.git
Working copy of https://github.com/daltoniam/Starscream.git resolved at 4.0.6
Creating working copy for https://github.com/ashleymills/Reachability.swift
Working copy of https://github.com/ashleymills/Reachability.swift resolved at 5.0.0
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/21] Emitting module Starscream
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/23] Emitting module Reachability
/host/spi-builder-workspace/.build/checkouts/Reachability.swift/Sources/Reachability.swift:28:8: error: no such module 'SystemConfiguration'
import SystemConfiguration
       ^
[3/23] Compiling Reachability Reachability.swift
/host/spi-builder-workspace/.build/checkouts/Reachability.swift/Sources/Reachability.swift:28:8: error: no such module 'SystemConfiguration'
import SystemConfiguration
       ^
error: fatalError
[4/23] Compiling Starscream WebSocket.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
       ^
[5/23] Compiling Starscream FoundationTransport.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
       ^
[6/23] Compiling Starscream Server.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
       ^
[7/23] Compiling Starscream WebSocketServer.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
       ^
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
       ^
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/21] Emitting module Starscream
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/23] Emitting module Reachability
/host/spi-builder-workspace/.build/checkouts/Reachability.swift/Sources/Reachability.swift:28:8: error: no such module 'SystemConfiguration'
import SystemConfiguration
       ^
[3/23] Compiling Reachability Reachability.swift
/host/spi-builder-workspace/.build/checkouts/Reachability.swift/Sources/Reachability.swift:28:8: error: no such module 'SystemConfiguration'
import SystemConfiguration
       ^
[4/23] Compiling Starscream Engine.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
       ^
[5/23] Compiling Starscream NativeEngine.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
       ^
[6/23] Compiling Starscream WSEngine.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2