The Swift Package Index logo.Swift Package Index

Build Information

Failed to build QminderAPI with Swift 5.8 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Qminder/swift-api.git
Reference: 2.1.1
Cloned https://github.com/Qminder/swift-api.git into spi-builder-workspace
SUCCESS checkout https://github.com/Qminder/swift-api.git at 2.1.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/daltoniam/Starscream.git
[1/4760] Fetching starscream
Fetched https://github.com/daltoniam/Starscream.git (0.42s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 3.1.2 (1.03s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
Fetched https://github.com/apple/swift-nio-zlib-support.git (0.17s)
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 (1.03s)
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...
[1/5] Compiling Starscream WebSocket.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/Compression.swift:30:8: error: no such module 'zlib'
import zlib
       ^
[2/5] Compiling Starscream SSLSecurity.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/Compression.swift:30:8: error: no such module 'zlib'
import zlib
       ^
[3/5] Compiling Starscream SSLClientCertificate.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)
[4/5] Emitting module Starscream
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/Compression.swift:30:8: error: no such module 'zlib'
import zlib
       ^
[5/5] Compiling Starscream Compression.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/Compression.swift:30:8: error: no such module 'zlib'
import zlib
       ^
BUILD FAILURE 5.8 linux

Build Machine: Linux 2