The Swift Package Index logo.Swift Package Index

Build Information

Successful build of ArtAdk, reference 1.0.0 (1b2938), with Swift 6.0 for macOS (SPM) on 4 May 2026 07:54:29 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aiotrixdev/art-objectivec-adk.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/aiotrixdev/art-objectivec-adk
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 1b29388 Merge pull request #4 from aiotrixdev/release/release-1
Cloned https://github.com/aiotrixdev/art-objectivec-adk.git
Revision (git rev-parse @):
1b29388dbf2b34ffd89c4b5480fdfbf3600f1548
SUCCESS checkout https://github.com/aiotrixdev/art-objectivec-adk.git at 1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/aiotrixdev/art-objectivec-adk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/20] Compiling ctweetnacl.c
[1/20] Compiling Constant.m
[2/20] Compiling CryptoBox.m
[3/20] Compiling Utils.m
/Users/admin/builder/spi-builder-workspace/Sources/ADK/WebSocket/Socket.m:23:40: warning: 'NSURLSessionWebSocketTask' is only available on macOS 10.15 or newer [-Wunguarded-availability-new]
   23 | @property(nonatomic, strong, nullable) NSURLSessionWebSocketTask *websocket;
      |                                        ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:645:12: note: 'NSURLSessionWebSocketTask' has been marked as being introduced in macOS 10.15 here, but the deployment target is macOS 10.13.0
  645 | @interface NSURLSessionWebSocketTask : NSURLSessionTask
      |            ^
/Users/admin/builder/spi-builder-workspace/Sources/ADK/WebSocket/Socket.m:21:12: note: annotate '' with an availability attribute to silence this warning
   21 | @interface Socket () <NSURLSessionWebSocketDelegate, NSURLSessionDataDelegate>
      |            ^
/Users/admin/builder/spi-builder-workspace/Sources/ADK/WebSocket/Socket.m:1186:26: warning: 'NSURLSessionWebSocketTask' is only available on macOS 10.15 or newer [-Wunguarded-availability-new]
 1186 |           webSocketTask:(NSURLSessionWebSocketTask *)webSocketTask
      |                          ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:645:12: note: 'NSURLSessionWebSocketTask' has been marked as being introduced in macOS 10.15 here, but the deployment target is macOS 10.13.0
  645 | @interface NSURLSessionWebSocketTask : NSURLSessionTask
      |            ^
/Users/admin/builder/spi-builder-workspace/Sources/ADK/WebSocket/Socket.m:1185:1: note: annotate 'URLSession:webSocketTask:didOpenWithProtocol:' with an availability attribute to silence this warning
 1185 | - (void)URLSession:(NSURLSession *)session
      | ^
 1186 |           webSocketTask:(NSURLSessionWebSocketTask *)webSocketTask
 1187 |     didOpenWithProtocol:(nullable NSString *)protocol_ {
      |                                                         API_AVAILABLE(macos(10.15))
/Users/admin/builder/spi-builder-workspace/Sources/ADK/WebSocket/Socket.m:1192:23: warning: 'NSURLSessionWebSocketTask' is only available on macOS 10.15 or newer [-Wunguarded-availability-new]
 1192 |        webSocketTask:(NSURLSessionWebSocketTask *)webSocketTask
      |                       ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:645:12: note: 'NSURLSessionWebSocketTask' has been marked as being introduced in macOS 10.15 here, but the deployment target is macOS 10.13.0
  645 | @interface NSURLSessionWebSocketTask : NSURLSessionTask
      |            ^
/Users/admin/builder/spi-builder-workspace/Sources/ADK/WebSocket/Socket.m:1191:1: note: annotate 'URLSession:webSocketTask:didCloseWithCode:reason:' with an availability attribute to silence this warning
 1191 | - (void)URLSession:(NSURLSession *)session
      | ^
 1192 |        webSocketTask:(NSURLSessionWebSocketTask *)webSocketTask
 1193 |     didCloseWithCode:(NSURLSessionWebSocketCloseCode)closeCode
 1194 |               reason:(nullable NSData *)reason {
      |                                                 API_AVAILABLE(macos(10.15))
/Users/admin/builder/spi-builder-workspace/Sources/ADK/WebSocket/Socket.m:1193:23: warning: 'NSURLSessionWebSocketCloseCode' is only available on macOS 10.15 or newer [-Wunguarded-availability-new]
 1193 |     didCloseWithCode:(NSURLSessionWebSocketCloseCode)closeCode
      |                       ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:616:28: note: 'NSURLSessionWebSocketCloseCode' has been marked as being introduced in macOS 10.15 here, but the deployment target is macOS 10.13.0
  616 | typedef NS_ENUM(NSInteger, NSURLSessionWebSocketCloseCode)
      |                            ^
/Users/admin/builder/spi-builder-workspace/Sources/ADK/WebSocket/Socket.m:1191:1: note: annotate 'URLSession:webSocketTask:didCloseWithCode:reason:' with an availability attribute to silence this warning
 1191 | - (void)URLSession:(NSURLSession *)session
      | ^
 1192 |        webSocketTask:(NSURLSessionWebSocketTask *)webSocketTask
 1193 |     didCloseWithCode:(NSURLSessionWebSocketCloseCode)closeCode
 1194 |               reason:(nullable NSData *)reason {
      |                                                 API_AVAILABLE(macos(10.15))
/Users/admin/builder/spi-builder-workspace/Sources/ADK/WebSocket/Socket.m:314:15: warning: 'NSURLSessionWebSocketTask' is only available on macOS 10.15 or newer [-Wunguarded-availability-new]
  314 |               NSURLSessionWebSocketTask *task =
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:645:12: note: 'NSURLSessionWebSocketTask' has been marked as being introduced in macOS 10.15 here, but the deployment target is macOS 10.13.0
  645 | @interface NSURLSessionWebSocketTask : NSURLSessionTask
      |            ^
/Users/admin/builder/spi-builder-workspace/Sources/ADK/WebSocket/Socket.m:314:15: note: enclose 'NSURLSessionWebSocketTask' in an @available check to silence this warning
  314 |               NSURLSessionWebSocketTask *task =
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~
  315 |                   [strongSelf2.wsSession webSocketTaskWithURL:wsURL];
      |
/Users/admin/builder/spi-builder-workspace/Sources/ADK/WebSocket/Socket.m:315:42: warning: 'webSocketTaskWithURL:' is only available on macOS 10.15 or newer [-Wunguarded-availability-new]
  315 |                   [strongSelf2.wsSession webSocketTaskWithURL:wsURL];
      |                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:227:1: note: 'webSocketTaskWithURL:' has been marked as being introduced in macOS 10.15 here, but the deployment target is macOS 10.13.0
  227 | - (NSURLSessionWebSocketTask *)webSocketTaskWithURL:(NSURL *)url API_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0), tvos(13.0));
      | ^
/Users/admin/builder/spi-builder-workspace/Sources/ADK/WebSocket/Socket.m:315:42: note: enclose 'webSocketTaskWithURL:' in an @available check to silence this warning
  314 |               NSURLSessionWebSocketTask *task =
  315 |                   [strongSelf2.wsSession webSocketTaskWithURL:wsURL];
      |                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  316 |               [task resume];
  317 |               strongSelf2.websocket = task;
      |
/Users/admin/builder/spi-builder-workspace/Sources/ADK/WebSocket/Socket.m:353:33: warning: 'NSURLSessionWebSocketCloseCodeGoingAway' is only available on macOS 10.15 or newer [-Wunguarded-availability-new]
  353 |                                 NSURLSessionWebSocketCloseCodeGoingAway
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:616:28: note: 'NSURLSessionWebSocketCloseCode' has been marked as being introduced in macOS 10.15 here, but the deployment target is macOS 10.13.0
  616 | typedef NS_ENUM(NSInteger, NSURLSessionWebSocketCloseCode)
      |                            ^
/Users/admin/builder/spi-builder-workspace/Sources/ADK/WebSocket/Socket.m:353:33: note: enclose 'NSURLSessionWebSocketCloseCodeGoingAway' in an @available check to silence this warning
  351 |                         [strongSelf3.websocket
  352 |                             cancelWithCloseCode:
  353 |                                 NSURLSessionWebSocketCloseCodeGoingAway
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  354 |                                          reason:nil];
      |
/Users/admin/builder/spi-builder-workspace/Sources/ADK/WebSocket/Socket.m:365:5: warning: 'NSURLSessionWebSocketTask' is only available on macOS 10.15 or newer [-Wunguarded-availability-new]
  365 |     NSURLSessionWebSocketTask *task = self.websocket;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:645:12: note: 'NSURLSessionWebSocketTask' has been marked as being introduced in macOS 10.15 here, but the deployment target is macOS 10.13.0
  645 | @interface NSURLSessionWebSocketTask : NSURLSessionTask
      |            ^
/Users/admin/builder/spi-builder-workspace/Sources/ADK/WebSocket/Socket.m:365:5: note: enclose 'NSURLSessionWebSocketTask' in an @available check to silence this warning
  365 |     NSURLSessionWebSocketTask *task = self.websocket;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ADK/WebSocket/Socket.m:378:31: warning: 'NSURLSessionWebSocketCloseCodeNormalClosure' is only available on macOS 10.15 or newer [-Wunguarded-availability-new]
  378 |     [task cancelWithCloseCode:NSURLSessionWebSocketCloseCodeNormalClosure
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:616:28: note: 'NSURLSessionWebSocketCloseCode' has been marked as being introduced in macOS 10.15 here, but the deployment target is macOS 10.13.0
  616 | typedef NS_ENUM(NSInteger, NSURLSessionWebSocketCloseCode)
      |                            ^
/Users/admin/builder/spi-builder-workspace/Sources/ADK/WebSocket/Socket.m:378:31: note: enclose 'NSURLSessionWebSocketCloseCodeNormalClosure' in an @available check to silence this warning
  378 |     [task cancelWithCloseCode:NSURLSessionWebSocketCloseCodeNormalClosure
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  379 |                        reason:nil];
      |
/Users/admin/builder/spi-builder-workspace/Sources/ADK/WebSocket/Socket.m:974:5: warning: 'NSURLSessionWebSocketTask' is only available on macOS 10.15 or newer [-Wunguarded-availability-new]
  974 |     NSURLSessionWebSocketTask *task = self.websocket;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:645:12: note: 'NSURLSessionWebSocketTask' has been marked as being introduced in macOS 10.15 here, but the deployment target is macOS 10.13.0
  645 | @interface NSURLSessionWebSocketTask : NSURLSessionTask
      |            ^
/Users/admin/builder/spi-builder-workspace/Sources/ADK/WebSocket/Socket.m:974:5: note: enclose 'NSURLSessionWebSocketTask' in an @available check to silence this warning
  974 |     NSURLSessionWebSocketTask *task = self.websocket;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ADK/WebSocket/Socket.m:982:5: warning: 'NSURLSessionWebSocketMessage' is only available on macOS 10.15 or newer [-Wunguarded-availability-new]
  982 |     NSURLSessionWebSocketMessage *wsMessage =
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:594:12: note: 'NSURLSessionWebSocketMessage' has been marked as being introduced in macOS 10.15 here, but the deployment target is macOS 10.13.0
  594 | @interface NSURLSessionWebSocketMessage : NSObject
      |            ^
/Users/admin/builder/spi-builder-workspace/Sources/ADK/WebSocket/Socket.m:982:5: note: enclose 'NSURLSessionWebSocketMessage' in an @available check to silence this warning
  982 |     NSURLSessionWebSocketMessage *wsMessage =
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  983 |         [[NSURLSessionWebSocketMessage alloc] initWithString:message];
      |
/Users/admin/builder/spi-builder-workspace/Sources/ADK/WebSocket/Socket.m:983:11: warning: 'NSURLSessionWebSocketMessage' is only available on macOS 10.15 or newer [-Wunguarded-availability-new]
  983 |         [[NSURLSessionWebSocketMessage alloc] initWithString:message];
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:594:12: note: 'NSURLSessionWebSocketMessage' has been marked as being introduced in macOS 10.15 here, but the deployment target is macOS 10.13.0
  594 | @interface NSURLSessionWebSocketMessage : NSObject
      |            ^
/Users/admin/builder/spi-builder-workspace/Sources/ADK/WebSocket/Socket.m:983:11: note: enclose 'NSURLSessionWebSocketMessage' in an @available check to silence this warning
  982 |     NSURLSessionWebSocketMessage *wsMessage =
  983 |         [[NSURLSessionWebSocketMessage alloc] initWithString:message];
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  984 |     __weak typeof(self) weakSelf = self;
  985 |     [task sendMessage:wsMessage
  986 |         completionHandler:^(NSError *_Nullable error) {
  987 |           if (error) {
  988 |               [weakSelf.emitter emit:@"error" data:error];
  989 |           }
  990 |         }];
      |
/Users/admin/builder/spi-builder-workspace/Sources/ADK/WebSocket/Socket.m:1138:5: warning: 'NSURLSessionWebSocketTask' is only available on macOS 10.15 or newer [-Wunguarded-availability-new]
 1138 |     NSURLSessionWebSocketTask *task = self.websocket;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:645:12: note: 'NSURLSessionWebSocketTask' has been marked as being introduced in macOS 10.15 here, but the deployment target is macOS 10.13.0
  645 | @interface NSURLSessionWebSocketTask : NSURLSessionTask
      |            ^
/Users/admin/builder/spi-builder-workspace/Sources/ADK/WebSocket/Socket.m:1138:5: note: enclose 'NSURLSessionWebSocketTask' in an @available check to silence this warning
 1138 |     NSURLSessionWebSocketTask *task = self.websocket;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ADK/WebSocket/Socket.m:1143:15: warning: 'NSURLSessionWebSocketMessage' is only available on macOS 10.15 or newer [-Wunguarded-availability-new]
 1143 |               NSURLSessionWebSocketMessage *message, NSError *error) {
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:594:12: note: 'NSURLSessionWebSocketMessage' has been marked as being introduced in macOS 10.15 here, but the deployment target is macOS 10.13.0
  594 | @interface NSURLSessionWebSocketMessage : NSObject
      |            ^
/Users/admin/builder/spi-builder-workspace/Sources/ADK/WebSocket/Socket.m:1143:15: note: enclose 'NSURLSessionWebSocketMessage' in an @available check to silence this warning
 1142 |     [task receiveMessageWithCompletionHandler:^(
 1143 |               NSURLSessionWebSocketMessage *message, NSError *error) {
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
14 warnings generated.
[4/20] Compiling Socket.m
[5/20] Compiling LiveObjSubscription.m
[6/20] Compiling HttpPoll.m
[7/20] Compiling CRDTTypes.m
[8/20] Compiling Interception.m
[9/20] Compiling CryptoTypes.m
[10/20] Compiling CRDT.m
[11/20] Compiling Auth.m
[12/20] Compiling Subscription.m
[13/20] Compiling HelperFunctions.m
[14/20] Compiling EventEmitter.m
[15/20] Compiling ChannelTypes.m
[16/20] Compiling SocketTypes.m
[17/20] Compiling AuthTypes.m
[18/20] Compiling BaseSubscription.m
[19/20] Compiling Adk.m
Build complete! (3.01s)
Build complete.
{
  "c_language_standard" : "gnu17",
  "dependencies" : [
  ],
  "manifest_display_name" : "ArtAdk",
  "name" : "ArtAdk",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "ArtAdkObjC",
      "targets" : [
        "ArtAdkObjC"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ArtAdkObjC",
      "module_type" : "ClangTarget",
      "name" : "ArtAdkObjC",
      "path" : "Sources/ADK",
      "product_memberships" : [
        "ArtAdkObjC"
      ],
      "sources" : [
        "Auth/Auth.m",
        "CRDT/CRDT.m",
        "CRDT/CRDTTypes.m",
        "CRDT/Utils.m",
        "Config/Constant.m",
        "Crypto/CryptoBox.m",
        "Crypto/TweetNaCl/ctweetnacl.c",
        "Types/AuthTypes.m",
        "Types/ChannelTypes.m",
        "Types/CryptoTypes.m",
        "Types/SocketTypes.m",
        "WebSocket/Adk.m",
        "WebSocket/BaseSubscription.m",
        "WebSocket/EventEmitter.m",
        "WebSocket/HelperFunctions.m",
        "WebSocket/HttpPoll.m",
        "WebSocket/Interception.m",
        "WebSocket/LiveObjSubscription.m",
        "WebSocket/Socket.m",
        "WebSocket/Subscription.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.