The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GetStream with Swift 5.10 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/GetStream/stream-swift.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/GetStream/stream-swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0785e68 Fix broken and uncompilable GetStream with starscream 4.0.x (#48)
Cloned https://github.com/GetStream/stream-swift.git
Revision (git rev-parse @):
0785e68cbb3dda1092f65e2fc53d6eb91ba990a1
SUCCESS checkout https://github.com/GetStream/stream-swift.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/GetStream/stream-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version--423B1241ED78D482.txt
[8/58] Emitting module Alamofire
[9/62] Compiling Alamofire Protector.swift
[10/62] Compiling Alamofire RedirectHandler.swift
[11/62] Compiling Alamofire Request.swift
[12/64] Compiling Alamofire MultipartFormData.swift
[13/64] Compiling Alamofire MultipartUpload.swift
[14/64] Compiling Alamofire NetworkReachabilityManager.swift
[15/64] Compiling Alamofire Notifications.swift
[16/64] Compiling Alamofire ParameterEncoder.swift
[17/64] Compiling Alamofire ParameterEncoding.swift
[18/64] Compiling Alamofire DispatchQueue+Alamofire.swift
[19/64] Compiling Alamofire EventMonitor.swift
[20/64] Compiling Alamofire HTTPHeaders.swift
[21/64] Compiling Alamofire HTTPMethod.swift
[22/64] Compiling Alamofire AFError.swift
[23/64] Compiling Alamofire Alamofire.swift
[24/64] Compiling Alamofire AlamofireExtended.swift
[25/64] Compiling Alamofire CachedResponseHandler.swift
[35/64] Emitting module Starscream
[37/64] Compiling Alamofire OperationQueue+Alamofire.swift
[44/64] Compiling Alamofire URLEncodedFormEncoder.swift
[45/64] Compiling Alamofire URLRequest+Alamofire.swift
[46/64] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[47/64] Compiling Alamofire Validation.swift
[48/64] Compiling Alamofire Response.swift
[49/64] Compiling Alamofire ResponseSerialization.swift
[50/64] Compiling Alamofire Result+Alamofire.swift
[51/64] Compiling Alamofire RetryPolicy.swift
[52/64] Compiling Alamofire ServerTrustEvaluation.swift
[53/64] Compiling Alamofire Session.swift
[54/64] Compiling Alamofire SessionDelegate.swift
[55/64] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[58/64] Compiling Starscream TCPTransport.swift
[59/64] Compiling Starscream Transport.swift
[60/64] Compiling Swime Swime.swift
[61/64] Emitting module Swime
[62/64] Compiling Swime MimeType.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[65/92] Compiling Faye ChannelName.swift
[66/92] Compiling Faye RepeatingTimer.swift
[67/92] Emitting module Faye
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Faye/Client.swift:143:1: error: type 'Client' does not conform to protocol 'WebSocketDelegate'
extension Client: WebSocketDelegate {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Faye/Client.swift:144:17: note: candidate has non-matching type '(WebSocketEvent, any WebSocketClient) -> ()'
    public func didReceive(event: WebSocketEvent, client: WebSocketClient) {
                ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/WebSocket.swift:91:10: note: protocol requires function 'didReceive(event:client:)' with type '(WebSocketEvent, WebSocket) -> ()'
    func didReceive(event: WebSocketEvent, client: WebSocket)
         ^
[68/92] Compiling Faye Message.swift
[69/92] Compiling Faye Channel.swift
[70/92] Compiling Faye Client.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Faye/Client.swift:143:1: error: type 'Client' does not conform to protocol 'WebSocketDelegate'
extension Client: WebSocketDelegate {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Faye/Client.swift:144:17: note: candidate has non-matching type '(WebSocketEvent, any WebSocketClient) -> ()'
    public func didReceive(event: WebSocketEvent, client: WebSocketClient) {
                ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/WebSocket.swift:91:10: note: protocol requires function 'didReceive(event:client:)' with type '(WebSocketEvent, WebSocket) -> ()'
    func didReceive(event: WebSocketEvent, client: WebSocket)
         ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Faye/Client.swift:190:15: error: type 'WebSocketEvent' has no member 'peerClosed'
        case .peerClosed:
             ~^~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Faye/Client.swift:188:50: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
            log("❌ WS Disconnect with error: \(error)")
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Faye/Client.swift:188:50: note: use 'String(describing:)' to silence this warning
            log("❌ WS Disconnect with error: \(error)")
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Faye/Client.swift:188:50: note: provide a default value to avoid this warning
            log("❌ WS Disconnect with error: \(error)")
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Faye/Client.swift:146:29: warning: immutable value 'headers' was never used; consider replacing with '_' or removing it
        case .connected(let headers):
                        ~~~~^~~~~~~
                        _
error: fatalError
Fetching https://github.com/Quick/Quick from cache
Fetching https://github.com/sendyhalim/Swime
Fetching https://github.com/Alamofire/Alamofire.git from cache
Fetching https://github.com/daltoniam/Starscream.git from cache
Fetching https://github.com/Moya/ReactiveSwift.git from cache
Fetching https://github.com/Moya/Moya.git from cache
[1/422] Fetching swime
Fetched https://github.com/Moya/Moya.git from cache (2.92s)
Fetched https://github.com/daltoniam/Starscream.git from cache (2.92s)
Fetching https://github.com/ReactiveX/RxSwift.git from cache
Fetching https://github.com/Quick/Nimble from cache
Fetched https://github.com/Moya/ReactiveSwift.git from cache (2.92s)
Fetched https://github.com/Quick/Quick from cache (2.92s)
Fetched https://github.com/sendyhalim/Swime from cache (2.93s)
Computing version for https://github.com/sendyhalim/Swime
Fetched https://github.com/Alamofire/Alamofire.git from cache (2.94s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (0.26s)
Fetched https://github.com/Quick/Nimble from cache (0.26s)
Computed https://github.com/sendyhalim/Swime at 3.0.6 (0.83s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 4.0.4 (0.50s)
Computing version for https://github.com/Moya/Moya.git
Computed https://github.com/Moya/Moya.git at 14.0.0 (0.59s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 7.3.4 (0.53s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 1.3.4 (0.38s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 5.1.0 (0.57s)
Computing version for https://github.com/Moya/ReactiveSwift.git
Computed https://github.com/Moya/ReactiveSwift.git at 6.1.0 (0.59s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.0.4 (0.51s)
warning: /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/RxSwift-25ac69bd is not valid git repository for 'https://github.com/ReactiveX/RxSwift.git', will fetch again.
Fetching https://github.com/ReactiveX/RxSwift.git from cache
Fetched https://github.com/ReactiveX/RxSwift.git from cache (0.01s)
warning: /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/RxSwift-25ac69bd is not valid git repository for 'https://github.com/ReactiveX/RxSwift.git', will fetch again.
Fetching https://github.com/ReactiveX/RxSwift.git from cache
Fetched https://github.com/ReactiveX/RxSwift.git from cache (0.01s)
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 5.1.0
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 7.3.4
warning: /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/Quick-22a439cf is not valid git repository for 'https://github.com/Quick/Quick', will fetch again.
Fetching https://github.com/Quick/Quick from cache
Fetched https://github.com/Quick/Quick from cache (0.01s)
warning: /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/Quick-22a439cf is not valid git repository for 'https://github.com/Quick/Quick', will fetch again.
Fetching https://github.com/Quick/Quick from cache
Fetched https://github.com/Quick/Quick from cache (0.01s)
Creating working copy for https://github.com/Quick/Quick
Working copy of https://github.com/Quick/Quick resolved at 1.3.4
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.0.4
Creating working copy for https://github.com/Moya/ReactiveSwift.git
Working copy of https://github.com/Moya/ReactiveSwift.git resolved at 6.1.0
Creating working copy for https://github.com/Moya/Moya.git
Working copy of https://github.com/Moya/Moya.git resolved at 14.0.0
Creating working copy for https://github.com/sendyhalim/Swime
Working copy of https://github.com/sendyhalim/Swime resolved at 3.0.6
Creating working copy for https://github.com/daltoniam/Starscream.git
Working copy of https://github.com/daltoniam/Starscream.git resolved at 4.0.4
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/25] Compiling Faye Client.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Faye/Client.swift:143:1: error: type 'Client' does not conform to protocol 'WebSocketDelegate'
extension Client: WebSocketDelegate {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Faye/Client.swift:144:17: note: candidate has non-matching type '(WebSocketEvent, any WebSocketClient) -> ()'
    public func didReceive(event: WebSocketEvent, client: WebSocketClient) {
                ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/WebSocket.swift:91:10: note: protocol requires function 'didReceive(event:client:)' with type '(WebSocketEvent, WebSocket) -> ()'
    func didReceive(event: WebSocketEvent, client: WebSocket)
         ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Faye/Client.swift:190:15: error: type 'WebSocketEvent' has no member 'peerClosed'
        case .peerClosed:
             ~^~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Faye/Client.swift:188:50: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
            log("❌ WS Disconnect with error: \(error)")
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Faye/Client.swift:188:50: note: use 'String(describing:)' to silence this warning
            log("❌ WS Disconnect with error: \(error)")
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Faye/Client.swift:188:50: note: provide a default value to avoid this warning
            log("❌ WS Disconnect with error: \(error)")
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Faye/Client.swift:146:29: warning: immutable value 'headers' was never used; consider replacing with '_' or removing it
        case .connected(let headers):
                        ~~~~^~~~~~~
                        _
[3/25] Emitting module Faye
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Faye/Client.swift:143:1: error: type 'Client' does not conform to protocol 'WebSocketDelegate'
extension Client: WebSocketDelegate {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Faye/Client.swift:144:17: note: candidate has non-matching type '(WebSocketEvent, any WebSocketClient) -> ()'
    public func didReceive(event: WebSocketEvent, client: WebSocketClient) {
                ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/WebSocket.swift:91:10: note: protocol requires function 'didReceive(event:client:)' with type '(WebSocketEvent, WebSocket) -> ()'
    func didReceive(event: WebSocketEvent, client: WebSocket)
         ^
error: fatalError
BUILD FAILURE 5.10 macosSpm

Build Machine: Mac 7