The Swift Package Index logo.Swift Package Index

Build Information

Successful build of NetworkXI, reference main (e2e301), with Swift 6.4 for macOS (SPM) on 19 Sep 2026 17:16:44 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/presscorp/NetworkXI.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/presscorp/NetworkXI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e2e3010 major: Made setup of adapter's additionalHTTPHeaders via session configuration (#5)
Cloned https://github.com/presscorp/NetworkXI.git
Revision (git rev-parse @):
e2e3010ccdb96e3fccde2c4a79d73adf4a8290ed
SUCCESS checkout https://github.com/presscorp/NetworkXI.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/presscorp/NetworkXI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[31 / 46] NetworkXI_NetworkXITests
[36 / 46]
[37 / 47] NetworkXI
[47 / 96]
[52 / 96]
[56 / 96]
[57 / 96]
[61 / 96]
[63 / 96]
[67 / 96]
[71 / 96]
[73 / 96]
[74 / 96]
[86 / 96] NetworkXI
[87 / 96] NetworkXI
Build complete! (10.65 sec)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:25:26: warning: reference to property 'task' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
 23 |             self?.streamContinuation = continuation
 24 |
 25 |             Task { [weak task] in
    |                          `- warning: reference to property 'task' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
 26 |                 guard let task else { return }
 27 |                 do {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:30:28: warning: reference to property 'sessionInterface' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
 28 |                     while task.closeCode == .invalid {
 29 |                         let message = try await task.receive()
 30 |                         if sessionInterface.loggingEnabled {
    |                            `- warning: reference to property 'sessionInterface' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
 31 |                             if case .string(let string) = message {
 32 |                                 WebSocketLogger.log(receivedMessage: string)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:41:24: warning: reference to property 'sessionInterface' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
 39 |                     }
 40 |                 } catch {
 41 |                     if sessionInterface.loggingEnabled { WebSocketLogger.log(error: error) }
    |                        `- warning: reference to property 'sessionInterface' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
 42 |                     continuation.finish(throwing: error)
 43 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:55:9: warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
 53 |
 54 |     deinit {
 55 |         Task { try await disconnect() }
    |         |- warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
    |         `- note: to silence this warning, handle the error inside the task, or store/discard the task value explicitly
 56 |     }
 57 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:55:14: warning: capture of 'self' in a closure that outlives deinit; this is an error in the Swift 6 language mode
 53 |
 54 |     deinit {
 55 |         Task { try await disconnect() }
    |              `- warning: capture of 'self' in a closure that outlives deinit; this is an error in the Swift 6 language mode
 56 |     }
 57 |
[#NoUseUnstructuredThrowingTask]: <https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session/SessionAuthChallenger.swift:30:51: warning: 'SecTrustGetCertificateAtIndex' was deprecated in macOS 12.0: renamed to 'SecTrustCopyCertificateChain(_:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
28 |             let isTrusted = SecTrustEvaluateWithError(serverTrust, nil)
29 |
30 |             if isTrusted, let serverCertificate = SecTrustGetCertificateAtIndex(serverTrust, 0) {
   |                                                   |- warning: 'SecTrustGetCertificateAtIndex' was deprecated in macOS 12.0: renamed to 'SecTrustCopyCertificateChain(_:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
   |                                                   `- note: use 'SecTrustCopyCertificateChain(_:)' instead
31 |                 let serverCertificateData = SecCertificateCopyData(serverCertificate)
32 |                 let data = CFDataGetBytePtr(serverCertificateData)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "NetworkXI",
  "name" : "NetworkXI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "NetworkXI",
      "targets" : [
        "NetworkXI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NetworkXITests",
      "module_type" : "SwiftTarget",
      "name" : "NetworkXITests",
      "path" : "Tests/NetworkXITests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/NetworkXITests/Assets.xcassets",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/NetworkXITests/httpbin.org.cer",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Requests/AnythingRequest.swift",
        "Requests/MockRequest.swift",
        "Requests/PngImageRequest.swift",
        "Requests/SocketRequest.swift",
        "Requests/StatusRequest.swift",
        "Requests/UploadRequest.swift",
        "Tests/AuthChallengeRequestTests.swift",
        "Tests/CachedResponseTests.swift",
        "Tests/GroupRequestTests.swift",
        "Tests/MockRequestTests.swift",
        "Tests/NetworkXITests.swift",
        "Tests/RequestTests.swift",
        "Tests/SessionRenewalTest.swift",
        "Tests/WebSocketTests.swift",
        "URLs/FreeBlr2PiesocketComURL.swift",
        "URLs/HttpbinOrgURL.swift",
        "URLs/MockURL.swift"
      ],
      "target_dependencies" : [
        "NetworkXI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NetworkXI",
      "module_type" : "SwiftTarget",
      "name" : "NetworkXI",
      "path" : "Sources/NetworkXI",
      "product_memberships" : [
        "NetworkXI"
      ],
      "sources" : [
        "ConsoleLogger.swift",
        "FailureResponse.swift",
        "MultipartFormDataRequest.swift",
        "NetworkCompose.swift",
        "NetworkConnectionChecker.swift",
        "NetworkError.swift",
        "NetworkLogger.swift",
        "NetworkRequest.swift",
        "NetworkResponse.swift",
        "NetworkService.swift",
        "NetworkWorker.swift",
        "RequestContentEncoding.swift",
        "RequestMethod.swift",
        "RequestURL.swift",
        "Session interface/ClassicNetworkSessionAdapter.swift",
        "Session interface/NetworkSessionAdapter.swift",
        "Session interface/NetworkSessionInterface.swift",
        "Session/SessionAuthChallengeService.swift",
        "Session/SessionAuthChallenger.swift",
        "Session/SessionDelegationHandler.swift",
        "Session/SessionLifeCycle.swift",
        "Session/SessionLifeCycleService.swift",
        "Session/SessionRenewalService.swift",
        "Session/SessionTaskKeeper.swift",
        "SuccessResponse.swift",
        "Utils/Data+extension.swift",
        "Utils/PathInitializable.swift",
        "Utils/String+extension.swift",
        "WebSocket/WebSocketLifeCycleService.swift",
        "WebSocket/WebSocketLogger.swift",
        "WebSocket/WebSocketRequest.swift",
        "WebSocket/WebSocketService.swift",
        "WebSocket/WebSocketSessionAdapter.swift",
        "WebSocket/WebSocketSessionInterface.swift",
        "WebSocket/WebSocketTask.swift",
        "WebSocket/WebSocketURL.swift",
        "WebSocket/WebSocketWorker.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.