The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ScClient with Swift 5.9 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sacOO7/socketcluster-client-swift.git
Reference: master
Cloned https://github.com/sacOO7/socketcluster-client-swift.git into spi-builder-workspace
SUCCESS checkout https://github.com/sacOO7/socketcluster-client-swift.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/daltoniam/Starscream.git
Fetching https://github.com/alibaba/HandyJSON.git
Fetching https://github.com/Quick/Quick.git
[1/4662] Fetching starscream
[328/18360] Fetching starscream, quick
[3222/20346] Fetching starscream, quick, handyjson
Fetched https://github.com/alibaba/HandyJSON.git (0.37s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[16169/18360] Fetching starscream, quick
Fetched https://github.com/apple/swift-nio-zlib-support.git (0.20s)
Fetching https://github.com/ReactiveX/RxSwift.git
Fetched https://github.com/daltoniam/Starscream.git (0.60s)
Fetching https://github.com/Quick/Nimble.git
Fetched https://github.com/Quick/Quick.git (0.60s)
[1/50678] Fetching rxswift
[6590/66424] Fetching rxswift, nimble
Fetched https://github.com/Quick/Nimble.git (1.03s)
Fetched https://github.com/ReactiveX/RxSwift.git (2.16s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 5.0.1 (1.09s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.0.2 (0.31s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.0 (0.31s)
Computing version for https://github.com/alibaba/HandyJSON.git
Computed https://github.com/alibaba/HandyJSON.git at 5.0.1 (0.26s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 3.1.1 (0.92s)
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 (0.27s)
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.2.0
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
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 5.0.1
Creating working copy for https://github.com/alibaba/HandyJSON.git
Working copy of https://github.com/alibaba/HandyJSON.git resolved at 5.0.1
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.0.2
Creating working copy for https://github.com/daltoniam/Starscream.git
Working copy of https://github.com/daltoniam/Starscream.git resolved at 3.1.1
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/42] Emitting module HandyJSON
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
[2/46] 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/46] Compiling HandyJSON TransformOf.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
[4/46] Compiling HandyJSON TransformType.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
[5/46] Compiling HandyJSON Transformable.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
[6/46] Compiling HandyJSON URLTransform.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
[7/46] Compiling Starscream SSLClientCertificate.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/Compression.swift:30:8: error: no such module 'zlib'
import zlib
       ^
[8/46] Compiling Starscream WebSocket.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/Compression.swift:30:8: error: no such module 'zlib'
import zlib
       ^
[9/46] Compiling HandyJSON AnyExtensions.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
[10/46] Compiling HandyJSON BuiltInBasicType.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
[11/46] Compiling HandyJSON BuiltInBridgeType.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
[12/46] Compiling HandyJSON CBridge.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
[13/46] Compiling HandyJSON Configuration.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
[14/46] Compiling HandyJSON Properties.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
[15/46] Compiling HandyJSON PropertyInfo.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
[16/46] Compiling HandyJSON ReflectionHelper.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
[17/46] Compiling HandyJSON Serializer.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
[18/46] Compiling HandyJSON Metadata.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
[19/46] Compiling HandyJSON NSDecimalNumberTransform.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
[20/46] Compiling HandyJSON OtherExtension.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
[21/46] Compiling HandyJSON PointerType.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
[22/46] Compiling HandyJSON ExtendCustomModelType.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
[23/46] Compiling HandyJSON FieldDescriptor.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
[24/46] Compiling HandyJSON HelpingMapper.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
[25/46] Compiling HandyJSON HexColorTransform.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
[26/46] Compiling HandyJSON ISO8601DateTransform.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
[27/46] Compiling HandyJSON Logger.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
[28/46] Compiling HandyJSON MangledName.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
[29/46] Compiling HandyJSON Measuable.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
[30/46] Compiling HandyJSON Deserializer.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
[31/46] Compiling HandyJSON EnumTransform.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
[32/46] Compiling HandyJSON EnumType.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
[33/46] Compiling HandyJSON Export.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
[34/46] Compiling HandyJSON ExtendCustomBasicType.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
[35/46] Compiling HandyJSON ContextDescriptorType.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
[36/46] Compiling HandyJSON CustomDateFormatTransform.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
[37/46] Compiling HandyJSON DataTransform.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
[38/46] Compiling HandyJSON DateFormatterTransform.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
[39/46] Compiling HandyJSON DateTransform.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/HexColorTransform.swift:12:8: error: no such module 'Cocoa'
import Cocoa
       ^
error: fatalError
error: emit-module command failed with exit code 1 (use -v to see invocation)
[40/46] Emitting module Starscream
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/Compression.swift:30:8: error: no such module 'zlib'
import zlib
       ^
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/Compression.swift:30:8: error: no such module 'zlib'
import zlib
       ^
BUILD FAILURE 5.9 linux

Build Machine: Linux 1