The Swift Package Index logo.Swift Package Index

Build Information

Successful build of ScClient, reference 2.0.1 (f14737), with Swift 6.4 for macOS (SPM) on 15 Sep 2026 22:51:02 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sacOO7/socketcluster-client-swift.git
Reference: 2.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sacOO7/socketcluster-client-swift
 * tag               2.0.1      -> FETCH_HEAD
HEAD is now at f14737e [sachin][added integration test framework, fixed unsubscribe bug for the client]
Cloned https://github.com/sacOO7/socketcluster-client-swift.git
Revision (git rev-parse @):
f14737e86619481e50e5ebced1c85a51c9d1ed38
SUCCESS checkout https://github.com/sacOO7/socketcluster-client-swift.git at 2.0.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/sacOO7/socketcluster-client-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[36 / 68]
[49 / 86] HandyJSON
[49 / 86] Starscream
[58 / 86] Starscream
[59 / 86] Starscream-product
[62 / 86] HandyJSON
[69 / 87] ScClient
[77 / 95] ScClient
[88 / 98] ScClient
[91 / 98] HandyJSON
[96 / 98] Main-product
Build complete! (9.57 sec)
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/daltoniam/Starscream.git
Fetching https://github.com/alibaba/HandyJSON.git
Fetching https://github.com/Quick/Quick.git
[1/2033] Fetching handyjson
[184/7230] Fetching handyjson, starscream
[2189/22155] Fetching handyjson, starscream, quick
[3373/42141] Fetching handyjson, starscream, quick, nimble
[3374/96669] Fetching handyjson, starscream, quick, nimble, rxswift
Fetched https://github.com/Quick/Nimble.git (2.84s)
[33526/76683] Fetching handyjson, starscream, quick, rxswift
Fetched https://github.com/daltoniam/Starscream.git (14.54s)
Fetched https://github.com/ReactiveX/RxSwift.git (14.54s)
Fetched https://github.com/Quick/Quick.git (14.54s)
Fetched https://github.com/alibaba/HandyJSON.git (14.54s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.0.2 (16.76s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.0 (0.64s)
Computing version for https://github.com/alibaba/HandyJSON.git
Computed https://github.com/alibaba/HandyJSON.git at 5.0.1 (0.62s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 3.1.1 (2.13s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git (0.67s)
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.31s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 5.1.3 (0.64s)
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 5.1.3
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/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/daltoniam/Starscream.git
Working copy of https://github.com/daltoniam/Starscream.git resolved at 3.1.1
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/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.0.2
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: 'swift-nio-zlib-support': failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: 'swift-nio-zlib-support': couldn't find pc file for zlib
/Users/admin/builder/spi-builder-workspace/Sources/Main/main.swift:13:47: warning: expression implicitly coerced from 'String?' to 'Any'
11 | var onDisconnect = {
12 |     (client :ScClient, error : Error?) in
13 |     print("Disconnected from server due to ", error?.localizedDescription)
   |                                               |      |- note: provide a default value to avoid this warning
   |                                               |      |- note: force-unwrap the value to avoid this warning
   |                                               |      `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
   |                                               `- warning: expression implicitly coerced from 'String?' to 'Any'
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Main/main.swift:18:32: warning: expression implicitly coerced from 'Bool?' to 'Any'
16 | var onAuthentication = {
17 |     (client :ScClient, isAuthenticated : Bool?) in
18 |     print("Authenticated is ", isAuthenticated)
   |                                |- warning: expression implicitly coerced from 'Bool?' to 'Any'
   |                                |- note: provide a default value to avoid this warning
   |                                |- note: force-unwrap the value to avoid this warning
   |                                `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Main/main.swift:23:24: warning: expression implicitly coerced from 'String?' to 'Any'
21 | var onSetAuthentication = {
22 |     (client : ScClient, token : String?) in
23 |     print("Token is ", token)
   |                        |- warning: expression implicitly coerced from 'String?' to 'Any'
   |                        |- note: provide a default value to avoid this warning
   |                        |- note: force-unwrap the value to avoid this warning
   |                        `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
24 |     client.subscribeAck(channelName: "yell", ack : {
25 |         (channelName : String, error : AnyObject?, data : AnyObject?) in
/Users/admin/builder/spi-builder-workspace/Sources/Main/main.swift:29:51: warning: expression implicitly coerced from 'AnyObject?' to 'Any'
27 |             print("Successfully subscribed to channel ", channelName)
28 |         } else {
29 |             print("Got error while subscribing ", error)
   |                                                   |- warning: expression implicitly coerced from 'AnyObject?' to 'Any'
   |                                                   |- note: provide a default value to avoid this warning
   |                                                   |- note: force-unwrap the value to avoid this warning
   |                                                   `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
30 |         }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/Main/main.swift:39:51: warning: expression implicitly coerced from 'AnyObject?' to 'Any'
37 |             print("Successfully published to channel ", channelName)
38 |         }else {
39 |              print("Got error while publishing ", error)
   |                                                   |- warning: expression implicitly coerced from 'AnyObject?' to 'Any'
   |                                                   |- note: provide a default value to avoid this warning
   |                                                   |- note: force-unwrap the value to avoid this warning
   |                                                   `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
40 |         }
41 |
/Users/admin/builder/spi-builder-workspace/Sources/Main/main.swift:50:69: warning: expression implicitly coerced from 'AnyObject?' to 'Any'
48 | client.onChannel(channelName: "yell", ack: {
49 |     (channelName : String , data : AnyObject?) in
50 |     print ("Got data for channel", channelName, " object data is ", data)
   |                                                                     |- warning: expression implicitly coerced from 'AnyObject?' to 'Any'
   |                                                                     |- note: provide a default value to avoid this warning
   |                                                                     |- note: force-unwrap the value to avoid this warning
   |                                                                     `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
51 | })
52 |
/Users/admin/builder/spi-builder-workspace/Sources/Main/main.swift:13:47: warning: expression implicitly coerced from 'String?' to 'Any'
11 | var onDisconnect = {
12 |     (client :ScClient, error : Error?) in
13 |     print("Disconnected from server due to ", error?.localizedDescription)
   |                                               |      |- note: provide a default value to avoid this warning
   |                                               |      |- note: force-unwrap the value to avoid this warning
   |                                               |      `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
   |                                               `- warning: expression implicitly coerced from 'String?' to 'Any'
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Main/main.swift:18:32: warning: expression implicitly coerced from 'Bool?' to 'Any'
16 | var onAuthentication = {
17 |     (client :ScClient, isAuthenticated : Bool?) in
18 |     print("Authenticated is ", isAuthenticated)
   |                                |- warning: expression implicitly coerced from 'Bool?' to 'Any'
   |                                |- note: provide a default value to avoid this warning
   |                                |- note: force-unwrap the value to avoid this warning
   |                                `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Main/main.swift:23:24: warning: expression implicitly coerced from 'String?' to 'Any'
21 | var onSetAuthentication = {
22 |     (client : ScClient, token : String?) in
23 |     print("Token is ", token)
   |                        |- warning: expression implicitly coerced from 'String?' to 'Any'
   |                        |- note: provide a default value to avoid this warning
   |                        |- note: force-unwrap the value to avoid this warning
   |                        `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
24 |     client.subscribeAck(channelName: "yell", ack : {
25 |         (channelName : String, error : AnyObject?, data : AnyObject?) in
/Users/admin/builder/spi-builder-workspace/Sources/Main/main.swift:29:51: warning: expression implicitly coerced from 'AnyObject?' to 'Any'
27 |             print("Successfully subscribed to channel ", channelName)
28 |         } else {
29 |             print("Got error while subscribing ", error)
   |                                                   |- warning: expression implicitly coerced from 'AnyObject?' to 'Any'
   |                                                   |- note: provide a default value to avoid this warning
   |                                                   |- note: force-unwrap the value to avoid this warning
   |                                                   `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
30 |         }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/Main/main.swift:39:51: warning: expression implicitly coerced from 'AnyObject?' to 'Any'
37 |             print("Successfully published to channel ", channelName)
38 |         }else {
39 |              print("Got error while publishing ", error)
   |                                                   |- warning: expression implicitly coerced from 'AnyObject?' to 'Any'
   |                                                   |- note: provide a default value to avoid this warning
   |                                                   |- note: force-unwrap the value to avoid this warning
   |                                                   `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
40 |         }
41 |
/Users/admin/builder/spi-builder-workspace/Sources/Main/main.swift:50:69: warning: expression implicitly coerced from 'AnyObject?' to 'Any'
48 | client.onChannel(channelName: "yell", ack: {
49 |     (channelName : String , data : AnyObject?) in
50 |     print ("Got data for channel", channelName, " object data is ", data)
   |                                                                     |- warning: expression implicitly coerced from 'AnyObject?' to 'Any'
   |                                                                     |- note: provide a default value to avoid this warning
   |                                                                     |- note: force-unwrap the value to avoid this warning
   |                                                                     `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
51 | })
52 |
Build complete.
{
  "dependencies" : [
    {
      "identity" : "starscream",
      "requirement" : {
        "exact" : [
          "3.1.1"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/daltoniam/Starscream.git"
    },
    {
      "identity" : "handyjson",
      "requirement" : {
        "exact" : [
          "5.0.1"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/alibaba/HandyJSON.git"
    },
    {
      "identity" : "quick",
      "requirement" : {
        "exact" : [
          "2.2.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Quick.git"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "exact" : [
          "8.0.2"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble.git"
    },
    {
      "identity" : "rxswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ReactiveX/RxSwift.git"
    }
  ],
  "manifest_display_name" : "ScClient",
  "name" : "ScClient",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ScClient",
      "targets" : [
        "ScClient"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Main",
      "targets" : [
        "Main"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Unit",
      "module_type" : "SwiftTarget",
      "name" : "Unit",
      "path" : "Tests/Unit",
      "sources" : [
        "ClientUtilsTest.swift",
        "MiscellaneousTest.swift",
        "ParserTest.swift",
        "UtilsTest.swift"
      ],
      "target_dependencies" : [
        "ScClient"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ScClient",
      "module_type" : "SwiftTarget",
      "name" : "ScClient",
      "path" : "Sources/ScClient",
      "product_dependencies" : [
        "Starscream",
        "HandyJSON"
      ],
      "product_memberships" : [
        "ScClient",
        "Main"
      ],
      "sources" : [
        "Emitter/Listener.swift",
        "Models/Event.swift",
        "Parser/Parser.swift",
        "Utils/AtomicInteger.swift",
        "Utils/ClientUtils.swift",
        "Utils/Miscellaneous.swift",
        "client.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Main",
      "module_type" : "SwiftTarget",
      "name" : "Main",
      "path" : "Sources/Main",
      "product_memberships" : [
        "Main"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "ScClient"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Integration",
      "module_type" : "SwiftTarget",
      "name" : "Integration",
      "path" : "Tests/Integration",
      "product_dependencies" : [
        "Quick",
        "Nimble",
        "RxSwift"
      ],
      "sources" : [
        "EmitReceiveTest.swift",
        "PubSubTest.swift",
        "SetUp/ClientBuilder.swift",
        "SetUp/ClientConfig.swift",
        "SetUp/ClientPool.swift",
        "SetUp/ClientPoolExecutor.swift"
      ],
      "target_dependencies" : [
        "ScClient"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "4.0"
}
Done.