The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of ScClient, reference master (e97629), with Swift 6.2 (beta) for macOS (SPM) on 17 Jun 2025 15:10:33 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sacOO7/socketcluster-client-swift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sacOO7/socketcluster-client-swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e97629e [sachin][updated readme and podspec]
Cloned https://github.com/sacOO7/socketcluster-client-swift.git
Revision (git rev-parse @):
e97629e8cebfd7acf0b882856464a063327e4174
SUCCESS checkout https://github.com/sacOO7/socketcluster-client-swift.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/sacOO7/socketcluster-client-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/9] Write sources
[4/9] Write Main-entitlement.plist
[5/9] Write swift-version-1EA4D86E10B52AF.txt
[7/47] Compiling Starscream SSLClientCertificate.swift
[8/47] Emitting module Starscream
[9/47] Compiling Starscream WebSocket.swift
[10/47] Compiling Starscream SSLSecurity.swift
[11/47] Compiling Starscream Compression.swift
[12/47] Compiling HandyJSON ReflectionHelper.swift
[13/47] Compiling HandyJSON Serializer.swift
[14/47] Compiling HandyJSON TransformOf.swift
[15/50] Compiling HandyJSON Logger.swift
[16/50] Compiling HandyJSON MangledName.swift
[17/50] Compiling HandyJSON Measuable.swift
[18/50] Compiling HandyJSON EnumType.swift
[19/50] Compiling HandyJSON Export.swift
[20/50] Compiling HandyJSON ExtendCustomBasicType.swift
[21/50] Compiling HandyJSON ExtendCustomModelType.swift
[22/50] Compiling HandyJSON TransformType.swift
[23/50] Compiling HandyJSON Transformable.swift
[24/50] Compiling HandyJSON URLTransform.swift
[25/50] Compiling HandyJSON AnyExtensions.swift
[26/50] Compiling HandyJSON BuiltInBasicType.swift
[27/50] Compiling HandyJSON BuiltInBridgeType.swift
[28/50] Compiling HandyJSON CBridge.swift
[29/50] Compiling HandyJSON Configuration.swift
[30/50] Compiling HandyJSON ContextDescriptorType.swift
[31/50] Compiling HandyJSON CustomDateFormatTransform.swift
[32/50] Compiling HandyJSON DataTransform.swift
[33/50] Compiling HandyJSON PointerType.swift
[34/50] Compiling HandyJSON Properties.swift
[35/50] Compiling HandyJSON PropertyInfo.swift
[36/50] Compiling HandyJSON Metadata.swift
[37/50] Compiling HandyJSON NSDecimalNumberTransform.swift
[38/50] Compiling HandyJSON OtherExtension.swift
[39/50] Emitting module HandyJSON
[40/50] Compiling HandyJSON DateFormatterTransform.swift
[41/50] Compiling HandyJSON DateTransform.swift
[42/50] Compiling HandyJSON Deserializer.swift
[43/50] Compiling HandyJSON EnumTransform.swift
[44/50] Compiling HandyJSON FieldDescriptor.swift
[45/50] Compiling HandyJSON HelpingMapper.swift
[46/50] Compiling HandyJSON HexColorTransform.swift
[47/50] Compiling HandyJSON ISO8601DateTransform.swift
[48/58] Compiling ScClient Miscellaneous.swift
[49/58] Compiling ScClient ClientUtils.swift
[50/58] Compiling ScClient AtomicInteger.swift
[51/58] Compiling ScClient Event.swift
[52/58] Compiling ScClient Listener.swift
[53/58] Emitting module ScClient
[54/58] Compiling ScClient Parser.swift
[55/58] Compiling ScClient client.swift
[56/60] Compiling Main main.swift
/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 |
[57/60] Emitting module Main
/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 |
[57/60] Write Objects.LinkFileList
[58/60] Linking Main
[59/60] Applying Main
Build complete! (44.37s)
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/daltoniam/Starscream.git
Fetching https://github.com/alibaba/HandyJSON.git
[1/2013] Fetching handyjson
[364/7046] Fetching handyjson, starscream
[797/21805] Fetching handyjson, starscream, quick
[3106/41389] Fetching handyjson, starscream, quick, nimble
[6215/94075] Fetching handyjson, starscream, quick, nimble, rxswift
Fetched https://github.com/Quick/Quick.git from cache (1.78s)
[39499/79316] Fetching handyjson, starscream, nimble, rxswift
Fetched https://github.com/Quick/Nimble.git from cache (1.98s)
[27594/59732] Fetching handyjson, starscream, rxswift
Fetched https://github.com/daltoniam/Starscream.git from cache (23.19s)
Fetched https://github.com/alibaba/HandyJSON.git from cache (23.19s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (23.19s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.0.2 (25.28s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.0 (0.56s)
Computing version for https://github.com/alibaba/HandyJSON.git
Computed https://github.com/alibaba/HandyJSON.git at 5.0.1 (0.54s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 3.1.1 (1.99s)
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 from cache (0.66s)
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.18s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 5.1.3 (0.53s)
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
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/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.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
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for zlib
warning: couldn't find pc file for zlib
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.