The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftStomp 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/Romixery/SwiftStomp.git
Reference: 1.1.1
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/Romixery/SwiftStomp
 * tag               1.1.1      -> FETCH_HEAD
HEAD is now at 99dcfa7 Merge pull request #8 from aszter/master
Cloned https://github.com/Romixery/SwiftStomp.git
Revision (git rev-parse @):
99dcfa7f428485b92de2359c9df9c778fd2d5599
SUCCESS checkout https://github.com/Romixery/SwiftStomp.git at 1.1.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/Romixery/SwiftStomp.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version--423B1241ED78D482.txt
[5/25] Emitting module Starscream
[6/25] Compiling Starscream Engine.swift
[7/25] Compiling Starscream NativeEngine.swift
[8/25] Compiling Starscream WSEngine.swift
[9/27] Compiling Starscream FoundationSecurity.swift
[10/27] Compiling Starscream Security.swift
[11/27] Compiling Starscream Compression.swift
[12/27] Compiling Starscream WSCompression.swift
[13/27] Compiling Starscream Data+Extensions.swift
[14/27] Compiling Starscream FoundationHTTPHandler.swift
[15/27] Compiling Starscream FoundationHTTPServerHandler.swift
[16/27] Compiling Starscream FrameCollector.swift
[17/27] Compiling Starscream Framer.swift
[18/27] Compiling Starscream HTTPHandler.swift
[19/27] Compiling Starscream StringHTTPHandler.swift
[20/27] Compiling Starscream WebSocket.swift
[21/27] Compiling Starscream FoundationTransport.swift
[22/27] Compiling Starscream Server.swift
[23/27] Compiling Starscream WebSocketServer.swift
[24/27] Compiling Starscream TCPTransport.swift
[25/27] Compiling Starscream Transport.swift
[26/27] Compiling Reachability Reachability.swift
[27/27] Emitting module Reachability
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/29] Emitting module SwiftStomp
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/SwiftStomp/Classes/SwiftStomp.swift:525:1: error: type 'SwiftStomp' does not conform to protocol 'WebSocketDelegate'
extension SwiftStomp : WebSocketDelegate{
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/SwiftStomp/Classes/SwiftStomp.swift:527:17: note: candidate has non-matching type '(WebSocketEvent, WebSocket) -> ()'
    public func didReceive(event: WebSocketEvent, client: WebSocket) {
                ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/WebSocket.swift:92:10: note: protocol requires function 'didReceive(event:client:)' with type '(WebSocketEvent, any WebSocketClient) -> ()'
    func didReceive(event: WebSocketEvent, client: WebSocketClient)
         ^
[29/29] Compiling SwiftStomp SwiftStomp.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/SwiftStomp/Classes/SwiftStomp.swift:525:1: error: type 'SwiftStomp' does not conform to protocol 'WebSocketDelegate'
extension SwiftStomp : WebSocketDelegate{
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/SwiftStomp/Classes/SwiftStomp.swift:527:17: note: candidate has non-matching type '(WebSocketEvent, WebSocket) -> ()'
    public func didReceive(event: WebSocketEvent, client: WebSocket) {
                ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/WebSocket.swift:92:10: note: protocol requires function 'didReceive(event:client:)' with type '(WebSocketEvent, any WebSocketClient) -> ()'
    func didReceive(event: WebSocketEvent, client: WebSocketClient)
         ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/SwiftStomp/Classes/SwiftStomp.swift:528:9: error: switch must be exhaustive
        switch event {
        ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/SwiftStomp/Classes/SwiftStomp.swift:528:9: note: add missing case: '.peerClosed'
        switch event {
        ^
error: fatalError
Fetching https://github.com/ashleymills/Reachability.swift from cache
Fetching https://github.com/daltoniam/Starscream.git from cache
Fetched https://github.com/ashleymills/Reachability.swift from cache (0.21s)
Fetched https://github.com/daltoniam/Starscream.git from cache (0.21s)
Computing version for https://github.com/ashleymills/Reachability.swift
Computed https://github.com/ashleymills/Reachability.swift at 5.0.0 (0.40s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 4.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 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
[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/3] Emitting module SwiftStomp
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/SwiftStomp/Classes/SwiftStomp.swift:525:1: error: type 'SwiftStomp' does not conform to protocol 'WebSocketDelegate'
extension SwiftStomp : WebSocketDelegate{
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/SwiftStomp/Classes/SwiftStomp.swift:527:17: note: candidate has non-matching type '(WebSocketEvent, WebSocket) -> ()'
    public func didReceive(event: WebSocketEvent, client: WebSocket) {
                ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/WebSocket.swift:92:10: note: protocol requires function 'didReceive(event:client:)' with type '(WebSocketEvent, any WebSocketClient) -> ()'
    func didReceive(event: WebSocketEvent, client: WebSocketClient)
         ^
[3/3] Compiling SwiftStomp SwiftStomp.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/SwiftStomp/Classes/SwiftStomp.swift:525:1: error: type 'SwiftStomp' does not conform to protocol 'WebSocketDelegate'
extension SwiftStomp : WebSocketDelegate{
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/SwiftStomp/Classes/SwiftStomp.swift:527:17: note: candidate has non-matching type '(WebSocketEvent, WebSocket) -> ()'
    public func didReceive(event: WebSocketEvent, client: WebSocket) {
                ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/WebSocket.swift:92:10: note: protocol requires function 'didReceive(event:client:)' with type '(WebSocketEvent, any WebSocketClient) -> ()'
    func didReceive(event: WebSocketEvent, client: WebSocketClient)
         ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/SwiftStomp/Classes/SwiftStomp.swift:528:9: error: switch must be exhaustive
        switch event {
        ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/SwiftStomp/Classes/SwiftStomp.swift:528:9: note: add missing case: '.peerClosed'
        switch event {
        ^
error: fatalError
BUILD FAILURE 5.10 macosSpm

Build Machine: Mac 7