The Swift Package Index logo.Swift Package Index

Build Information

Successful build of ScClient, reference 2.0.1 (f14737), with Swift 6.2 for macOS (SPM) on 17 Jun 2025 15:12:10 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: 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.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 SSLSecurity.swift
[8/47] Compiling Starscream WebSocket.swift
[9/47] Emitting module Starscream
[10/47] Compiling Starscream Compression.swift
[11/47] Compiling Starscream SSLClientCertificate.swift
[12/47] Compiling HandyJSON ReflectionHelper.swift
[13/47] Compiling HandyJSON Serializer.swift
[14/47] Compiling HandyJSON TransformOf.swift
[15/50] Compiling HandyJSON EnumType.swift
[16/50] Compiling HandyJSON Export.swift
[17/50] Compiling HandyJSON ExtendCustomBasicType.swift
[18/50] Compiling HandyJSON ExtendCustomModelType.swift
[19/50] Compiling HandyJSON TransformType.swift
[20/50] Compiling HandyJSON Transformable.swift
[21/50] Compiling HandyJSON URLTransform.swift
[22/50] Emitting module HandyJSON
[23/50] Compiling HandyJSON Metadata.swift
[24/50] Compiling HandyJSON NSDecimalNumberTransform.swift
[25/50] Compiling HandyJSON OtherExtension.swift
[26/50] Compiling HandyJSON Logger.swift
[27/50] Compiling HandyJSON MangledName.swift
[28/50] Compiling HandyJSON Measuable.swift
[29/50] Compiling HandyJSON AnyExtensions.swift
[30/50] Compiling HandyJSON BuiltInBasicType.swift
[31/50] Compiling HandyJSON BuiltInBridgeType.swift
[32/50] Compiling HandyJSON CBridge.swift
[33/50] Compiling HandyJSON Configuration.swift
[34/50] Compiling HandyJSON ContextDescriptorType.swift
[35/50] Compiling HandyJSON CustomDateFormatTransform.swift
[36/50] Compiling HandyJSON DataTransform.swift
[37/50] Compiling HandyJSON DateFormatterTransform.swift
[38/50] Compiling HandyJSON DateTransform.swift
[39/50] Compiling HandyJSON Deserializer.swift
[40/50] Compiling HandyJSON EnumTransform.swift
[41/50] Compiling HandyJSON PointerType.swift
[42/50] Compiling HandyJSON Properties.swift
[43/50] Compiling HandyJSON PropertyInfo.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 Parser.swift
[50/58] Compiling ScClient ClientUtils.swift
[51/58] Compiling ScClient Listener.swift
[52/58] Emitting module ScClient
[53/58] Compiling ScClient client.swift
[54/58] Compiling ScClient Event.swift
[55/58] Compiling ScClient AtomicInteger.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! (23.73s)
Fetching https://github.com/alibaba/HandyJSON.git
Fetching https://github.com/daltoniam/Starscream.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/Quick/Quick.git
[1/2013] Fetching handyjson
[364/7046] Fetching handyjson, starscream
[2145/26630] Fetching handyjson, starscream, nimble
[3192/41389] Fetching handyjson, starscream, nimble, quick
[6472/94075] Fetching handyjson, starscream, nimble, quick, rxswift
Fetched https://github.com/daltoniam/Starscream.git from cache (2.05s)
Fetched https://github.com/alibaba/HandyJSON.git from cache (2.05s)
Fetched https://github.com/Quick/Nimble.git from cache (2.05s)
[65791/67445] Fetching quick, rxswift
Fetched https://github.com/Quick/Quick.git from cache (4.35s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (4.35s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.0.2 (6.21s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.0 (0.49s)
Computing version for https://github.com/alibaba/HandyJSON.git
Computed https://github.com/alibaba/HandyJSON.git at 5.0.1 (0.48s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 3.1.1 (1.78s)
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.57s)
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.07s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 5.1.3 (0.49s)
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/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/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/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
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.