The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of NetworkReachability, reference 1.5.1 (1234f9), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 13:32:33 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vsanthanam/NetworkReachability.git
Reference: 1.5.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/vsanthanam/NetworkReachability
 * tag               1.5.1      -> FETCH_HEAD
HEAD is now at 1234f9b Fix missing trailing parenthesis in sample code (#48)
Cloned https://github.com/vsanthanam/NetworkReachability.git
Revision (git rev-parse @):
1234f9b33515671f3a1bbbe4b9d9da198ce41e70
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vsanthanam/NetworkReachability.git at 1.5.1
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
[227/5426] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.27s)
[1/46730] Fetching swiftformat
Fetched https://github.com/apple/swift-docc-plugin from cache (20.61s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (20.61s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.51.7 (21.61s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.2.0 (0.61s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.67s)
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.51.7
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "networkreachability",
      "name": "NetworkReachability",
      "url": "https://github.com/vsanthanam/NetworkReachability.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/NetworkReachability",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/vsanthanam/NetworkReachability.git
[1/2295] Fetching networkreachability
Fetched https://github.com/vsanthanam/NetworkReachability.git from cache (1.49s)
Creating working copy for https://github.com/vsanthanam/NetworkReachability.git
Working copy of https://github.com/vsanthanam/NetworkReachability.git resolved at 1.5.1 (1234f9b)
warning: '.resolve-product-dependencies': dependency 'networkreachability' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/vsanthanam/NetworkReachability.git
https://github.com/vsanthanam/NetworkReachability.git
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    },
    {
      "identity" : "swiftformat",
      "requirement" : {
        "exact" : [
          "0.51.7"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nicklockwood/SwiftFormat"
    }
  ],
  "manifest_display_name" : "NetworkReachability",
  "name" : "NetworkReachability",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "5.0"
    }
  ],
  "products" : [
    {
      "name" : "NetworkReachability",
      "targets" : [
        "NetworkReachability"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NetworkReachabilityTests",
      "module_type" : "SwiftTarget",
      "name" : "NetworkReachabilityTests",
      "path" : "Tests/NetworkReachabilityTests",
      "sources" : [
        "NetworkMonitorCombineTests.swift",
        "NetworkMonitorConcurrencyTests.swift",
        "NetworkMonitorTests.swift",
        "ReachabilityMonitorCombineTests.swift",
        "ReachabilityMonitorConcurrencyTests.swift",
        "ReachabilityMonitorTests.swift"
      ],
      "target_dependencies" : [
        "NetworkReachability"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NetworkReachability",
      "module_type" : "SwiftTarget",
      "name" : "NetworkReachability",
      "path" : "Sources/NetworkReachability",
      "product_memberships" : [
        "NetworkReachability"
      ],
      "sources" : [
        "API/Extensions/NotificationExtensions.swift",
        "API/Extensions/PublishersExtensions.swift",
        "API/NetworkMonitor/NetworkMonitor+Combine.swift",
        "API/NetworkMonitor/NetworkMonitor+Concurrency.swift",
        "API/NetworkMonitor/NetworkMonitor+Notification.swift",
        "API/NetworkMonitor/NetworkMonitor.swift",
        "API/NetworkMonitor/NetworkMonitorDelegate.swift",
        "API/ReachabilityMonitor/Reachability.swift",
        "API/ReachabilityMonitor/ReachabilityMonitor+Combine.swift",
        "API/ReachabilityMonitor/ReachabilityMonitor+Concurrency.swift",
        "API/ReachabilityMonitor/ReachabilityMonitor+Error.swift",
        "API/ReachabilityMonitor/ReachabilityMonitor+Notification.swift",
        "API/ReachabilityMonitor/ReachabilityMonitor.swift",
        "API/ReachabilityMonitor/ReachabilityMonitorDelegate.swift",
        "Internal/DispatchQueue+NetworkReachability.swift",
        "Internal/SCNetworkReachability+NetworkReachability.swift",
        "Internal/SCNetworkReachabilityFlags+NetworkReachability.swift",
        "Internal/WeakReference.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin SwiftFormatPlugin
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
Building for debugging...
[3/5] Write sources
[4/5] Write swift-version-2F0A5646E1D333AE.txt
[6/23] Compiling NetworkReachability SCNetworkReachabilityFlags+NetworkReachability.swift
[7/23] Compiling NetworkReachability DispatchQueue+NetworkReachability.swift
[8/23] Compiling NetworkReachability SCNetworkReachability+NetworkReachability.swift
[9/23] Compiling NetworkReachability ReachabilityMonitor.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/ReachabilityMonitor/ReachabilityMonitor.swift:509:46: warning: conditional cast from 'ReachabilityMonitor.Error' to 'ReachabilityMonitor.Error' always succeeds
507 |                         succeed(with: flags)
508 |                     } catch {
509 |                         if let error = error as? Error {
    |                                              `- warning: conditional cast from 'ReachabilityMonitor.Error' to 'ReachabilityMonitor.Error' always succeeds
510 |                             fail(with: error)
511 |                         } else {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/ReachabilityMonitor/ReachabilityMonitor.swift:573:38: warning: capture of 'self' with non-sendable type 'ReachabilityMonitor?' in a '@Sendable' closure
 98 |     /// - ``reachability(forAddress:)``
 99 |     @available(macOS 10.13, iOS 11, tvOS 11, *)
100 |     public final class ReachabilityMonitor {
    |                        `- note: class 'ReachabilityMonitor' does not conform to the 'Sendable' protocol
101 |
102 |         // MARK: - Initializers
    :
571 |             } else if let updateQueue = updateQueue {
572 |                 updateQueue.async { [weak self] in
573 |                     guard let self = self else { return }
    |                                      `- warning: capture of 'self' with non-sendable type 'ReachabilityMonitor?' in a '@Sendable' closure
574 |                     self.postNotification()
575 |                     self.updateDelegate(reachability: reachability)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/ReachabilityMonitor/ReachabilityMonitor.swift:601:38: warning: capture of 'self' with non-sendable type 'ReachabilityMonitor?' in a '@Sendable' closure
 98 |     /// - ``reachability(forAddress:)``
 99 |     @available(macOS 10.13, iOS 11, tvOS 11, *)
100 |     public final class ReachabilityMonitor {
    |                        `- note: class 'ReachabilityMonitor' does not conform to the 'Sendable' protocol
101 |
102 |         // MARK: - Initializers
    :
599 |             } else if let updateQueue = updateQueue {
600 |                 updateQueue.async { [weak self] in
601 |                     guard let self = self else { return }
    |                                      `- warning: capture of 'self' with non-sendable type 'ReachabilityMonitor?' in a '@Sendable' closure
602 |                     self.postNotification()
603 |                     self.failDelegate(error)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/ReachabilityMonitor/ReachabilityMonitor.swift:579:22: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
577 |                 }
578 |             } else if #available(macOS 10.15, iOS 13, tvOS 13, *) {
579 |                 Task {
    |                      `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
580 |                     await MainActor.run {
581 |                         postNotification()
    |                         `- note: closure captures 'self' which is accessible to code in the current task
582 |                         updateDelegate(reachability: reachability)
583 |                         updateHandler?(self, .success(reachability))
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/ReachabilityMonitor/ReachabilityMonitor.swift:588:38: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
586 |             } else {
587 |                 DispatchQueue.main.async { [weak self] in
588 |                     guard let self = self else { return }
    |                                      |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
589 |                     self.postNotification()
590 |                     self.updateDelegate(reachability: reachability)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/ReachabilityMonitor/ReachabilityMonitor.swift:607:22: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
605 |                 }
606 |             } else if #available(macOS 10.15, iOS 13, tvOS 13, *) {
607 |                 Task {
    |                      `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
608 |                     await MainActor.run {
609 |                         postNotification()
    |                         `- note: closure captures 'self' which is accessible to code in the current task
610 |                         failDelegate(error)
611 |                         updateHandler?(self, .failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/ReachabilityMonitor/ReachabilityMonitor.swift:616:38: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
614 |             } else {
615 |                 DispatchQueue.main.async { [weak self] in
616 |                     guard let self = self else { return }
    |                                      |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
617 |                     self.postNotification()
618 |                     self.failDelegate(error)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/ReachabilityMonitor/ReachabilityMonitor.swift:581:25: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
579 |                 Task {
580 |                     await MainActor.run {
581 |                         postNotification()
    |                         |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                         `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
582 |                         updateDelegate(reachability: reachability)
583 |                         updateHandler?(self, .success(reachability))
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/ReachabilityMonitor/ReachabilityMonitor.swift:609:25: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
607 |                 Task {
608 |                     await MainActor.run {
609 |                         postNotification()
    |                         |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                         `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
610 |                         failDelegate(error)
611 |                         updateHandler?(self, .failure(error))
[10/23] Compiling NetworkReachability ReachabilityMonitorDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/ReachabilityMonitor/ReachabilityMonitor.swift:509:46: warning: conditional cast from 'ReachabilityMonitor.Error' to 'ReachabilityMonitor.Error' always succeeds
507 |                         succeed(with: flags)
508 |                     } catch {
509 |                         if let error = error as? Error {
    |                                              `- warning: conditional cast from 'ReachabilityMonitor.Error' to 'ReachabilityMonitor.Error' always succeeds
510 |                             fail(with: error)
511 |                         } else {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/ReachabilityMonitor/ReachabilityMonitor.swift:573:38: warning: capture of 'self' with non-sendable type 'ReachabilityMonitor?' in a '@Sendable' closure
 98 |     /// - ``reachability(forAddress:)``
 99 |     @available(macOS 10.13, iOS 11, tvOS 11, *)
100 |     public final class ReachabilityMonitor {
    |                        `- note: class 'ReachabilityMonitor' does not conform to the 'Sendable' protocol
101 |
102 |         // MARK: - Initializers
    :
571 |             } else if let updateQueue = updateQueue {
572 |                 updateQueue.async { [weak self] in
573 |                     guard let self = self else { return }
    |                                      `- warning: capture of 'self' with non-sendable type 'ReachabilityMonitor?' in a '@Sendable' closure
574 |                     self.postNotification()
575 |                     self.updateDelegate(reachability: reachability)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/ReachabilityMonitor/ReachabilityMonitor.swift:601:38: warning: capture of 'self' with non-sendable type 'ReachabilityMonitor?' in a '@Sendable' closure
 98 |     /// - ``reachability(forAddress:)``
 99 |     @available(macOS 10.13, iOS 11, tvOS 11, *)
100 |     public final class ReachabilityMonitor {
    |                        `- note: class 'ReachabilityMonitor' does not conform to the 'Sendable' protocol
101 |
102 |         // MARK: - Initializers
    :
599 |             } else if let updateQueue = updateQueue {
600 |                 updateQueue.async { [weak self] in
601 |                     guard let self = self else { return }
    |                                      `- warning: capture of 'self' with non-sendable type 'ReachabilityMonitor?' in a '@Sendable' closure
602 |                     self.postNotification()
603 |                     self.failDelegate(error)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/ReachabilityMonitor/ReachabilityMonitor.swift:579:22: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
577 |                 }
578 |             } else if #available(macOS 10.15, iOS 13, tvOS 13, *) {
579 |                 Task {
    |                      `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
580 |                     await MainActor.run {
581 |                         postNotification()
    |                         `- note: closure captures 'self' which is accessible to code in the current task
582 |                         updateDelegate(reachability: reachability)
583 |                         updateHandler?(self, .success(reachability))
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/ReachabilityMonitor/ReachabilityMonitor.swift:588:38: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
586 |             } else {
587 |                 DispatchQueue.main.async { [weak self] in
588 |                     guard let self = self else { return }
    |                                      |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
589 |                     self.postNotification()
590 |                     self.updateDelegate(reachability: reachability)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/ReachabilityMonitor/ReachabilityMonitor.swift:607:22: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
605 |                 }
606 |             } else if #available(macOS 10.15, iOS 13, tvOS 13, *) {
607 |                 Task {
    |                      `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
608 |                     await MainActor.run {
609 |                         postNotification()
    |                         `- note: closure captures 'self' which is accessible to code in the current task
610 |                         failDelegate(error)
611 |                         updateHandler?(self, .failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/ReachabilityMonitor/ReachabilityMonitor.swift:616:38: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
614 |             } else {
615 |                 DispatchQueue.main.async { [weak self] in
616 |                     guard let self = self else { return }
    |                                      |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
617 |                     self.postNotification()
618 |                     self.failDelegate(error)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/ReachabilityMonitor/ReachabilityMonitor.swift:581:25: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
579 |                 Task {
580 |                     await MainActor.run {
581 |                         postNotification()
    |                         |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                         `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
582 |                         updateDelegate(reachability: reachability)
583 |                         updateHandler?(self, .success(reachability))
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/ReachabilityMonitor/ReachabilityMonitor.swift:609:25: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
607 |                 Task {
608 |                     await MainActor.run {
609 |                         postNotification()
    |                         |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                         `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
610 |                         failDelegate(error)
611 |                         updateHandler?(self, .failure(error))
[11/23] Compiling NetworkReachability ReachabilityMonitor+Combine.swift
[12/23] Compiling NetworkReachability ReachabilityMonitor+Concurrency.swift
[13/23] Compiling NetworkReachability ReachabilityMonitor+Error.swift
[14/23] Compiling NetworkReachability ReachabilityMonitor+Notification.swift
[15/24] Compiling NetworkReachability NetworkMonitorDelegate.swift
[16/24] Compiling NetworkReachability Reachability.swift
[17/24] Compiling NetworkReachability NetworkMonitor+Notification.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/NetworkMonitor/NetworkMonitor.swift:345:21: warning: capture of 'completionHandler' with non-sendable type '(NWPath) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
343 |             if let dispatchQueue = dispatchQueue {
344 |                 dispatchQueue.async {
345 |                     completionHandler(path)
    |                     |- warning: capture of 'completionHandler' with non-sendable type '(NWPath) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
346 |                 }
347 |             } else if #available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *) {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/NetworkMonitor/NetworkMonitor.swift:345:21: warning: capture of 'completionHandler' with non-sendable type '(NWPath) -> Void' in a '@Sendable' closure
343 |             if let dispatchQueue = dispatchQueue {
344 |                 dispatchQueue.async {
345 |                     completionHandler(path)
    |                     |- warning: capture of 'completionHandler' with non-sendable type '(NWPath) -> Void' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
346 |                 }
347 |             } else if #available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *) {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/NetworkMonitor/NetworkMonitor.swift:349:21: warning: capture of 'completionHandler' with non-sendable type '(NWPath) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
347 |             } else if #available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *) {
348 |                 Task {
349 |                     completionHandler(path)
    |                     |- warning: capture of 'completionHandler' with non-sendable type '(NWPath) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
350 |                 }
351 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/NetworkMonitor/NetworkMonitor.swift:415:13: warning: capture of 'self' with non-sendable type 'NetworkMonitor?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 89 | /// - ``Publisher``
 90 | @available(macOS 10.14, iOS 12.0, watchOS 5.0, tvOS 12.0, *)
 91 | public final class NetworkMonitor {
    |                    `- note: class 'NetworkMonitor' does not conform to the 'Sendable' protocol
 92 |
 93 |     // MARK: - Initializers
    :
413 |     private func setUp() {
414 |         pathMonitor.pathUpdateHandler = { [weak self] path in
415 |             self?.forward(path: path)
    |             `- warning: capture of 'self' with non-sendable type 'NetworkMonitor?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
416 |         }
417 |         pathMonitor.start(queue: .networkMonitorQueue)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/NetworkMonitor/NetworkMonitor.swift:425:34: warning: capture of 'self' with non-sendable type 'NetworkMonitor?' in a '@Sendable' closure
 89 | /// - ``Publisher``
 90 | @available(macOS 10.14, iOS 12.0, watchOS 5.0, tvOS 12.0, *)
 91 | public final class NetworkMonitor {
    |                    `- note: class 'NetworkMonitor' does not conform to the 'Sendable' protocol
 92 |
 93 |     // MARK: - Initializers
    :
423 |         } else if let updateQueue = updateQueue {
424 |             updateQueue.async { [weak self] in
425 |                 guard let self = self else { return }
    |                                  `- warning: capture of 'self' with non-sendable type 'NetworkMonitor?' in a '@Sendable' closure
426 |                 self.postNotification()
427 |                 self.updateDelegate(path: path)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/NetworkMonitor/NetworkMonitor.swift:431:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
429 |             }
430 |         } else if #available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *) {
431 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
432 |                 await MainActor.run {
433 |                     postNotification()
    |                     `- note: closure captures 'self' which is accessible to code in the current task
434 |                     updateDelegate(path: path)
435 |                     updateHandler?(self, path)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/NetworkMonitor/NetworkMonitor.swift:440:34: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
438 |         } else {
439 |             DispatchQueue.main.async { [weak self] in
440 |                 guard let self = self else { return }
    |                                  |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
441 |                 self.postNotification()
442 |                 self.updateDelegate(path: path)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/NetworkMonitor/NetworkMonitor.swift:433:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
431 |             Task {
432 |                 await MainActor.run {
433 |                     postNotification()
    |                     |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
434 |                     updateDelegate(path: path)
435 |                     updateHandler?(self, path)
[18/24] Compiling NetworkReachability NetworkMonitor.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/NetworkMonitor/NetworkMonitor.swift:345:21: warning: capture of 'completionHandler' with non-sendable type '(NWPath) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
343 |             if let dispatchQueue = dispatchQueue {
344 |                 dispatchQueue.async {
345 |                     completionHandler(path)
    |                     |- warning: capture of 'completionHandler' with non-sendable type '(NWPath) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
346 |                 }
347 |             } else if #available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *) {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/NetworkMonitor/NetworkMonitor.swift:345:21: warning: capture of 'completionHandler' with non-sendable type '(NWPath) -> Void' in a '@Sendable' closure
343 |             if let dispatchQueue = dispatchQueue {
344 |                 dispatchQueue.async {
345 |                     completionHandler(path)
    |                     |- warning: capture of 'completionHandler' with non-sendable type '(NWPath) -> Void' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
346 |                 }
347 |             } else if #available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *) {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/NetworkMonitor/NetworkMonitor.swift:349:21: warning: capture of 'completionHandler' with non-sendable type '(NWPath) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
347 |             } else if #available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *) {
348 |                 Task {
349 |                     completionHandler(path)
    |                     |- warning: capture of 'completionHandler' with non-sendable type '(NWPath) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
350 |                 }
351 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/NetworkMonitor/NetworkMonitor.swift:415:13: warning: capture of 'self' with non-sendable type 'NetworkMonitor?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 89 | /// - ``Publisher``
 90 | @available(macOS 10.14, iOS 12.0, watchOS 5.0, tvOS 12.0, *)
 91 | public final class NetworkMonitor {
    |                    `- note: class 'NetworkMonitor' does not conform to the 'Sendable' protocol
 92 |
 93 |     // MARK: - Initializers
    :
413 |     private func setUp() {
414 |         pathMonitor.pathUpdateHandler = { [weak self] path in
415 |             self?.forward(path: path)
    |             `- warning: capture of 'self' with non-sendable type 'NetworkMonitor?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
416 |         }
417 |         pathMonitor.start(queue: .networkMonitorQueue)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/NetworkMonitor/NetworkMonitor.swift:425:34: warning: capture of 'self' with non-sendable type 'NetworkMonitor?' in a '@Sendable' closure
 89 | /// - ``Publisher``
 90 | @available(macOS 10.14, iOS 12.0, watchOS 5.0, tvOS 12.0, *)
 91 | public final class NetworkMonitor {
    |                    `- note: class 'NetworkMonitor' does not conform to the 'Sendable' protocol
 92 |
 93 |     // MARK: - Initializers
    :
423 |         } else if let updateQueue = updateQueue {
424 |             updateQueue.async { [weak self] in
425 |                 guard let self = self else { return }
    |                                  `- warning: capture of 'self' with non-sendable type 'NetworkMonitor?' in a '@Sendable' closure
426 |                 self.postNotification()
427 |                 self.updateDelegate(path: path)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/NetworkMonitor/NetworkMonitor.swift:431:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
429 |             }
430 |         } else if #available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *) {
431 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
432 |                 await MainActor.run {
433 |                     postNotification()
    |                     `- note: closure captures 'self' which is accessible to code in the current task
434 |                     updateDelegate(path: path)
435 |                     updateHandler?(self, path)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/NetworkMonitor/NetworkMonitor.swift:440:34: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
438 |         } else {
439 |             DispatchQueue.main.async { [weak self] in
440 |                 guard let self = self else { return }
    |                                  |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
441 |                 self.postNotification()
442 |                 self.updateDelegate(path: path)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/NetworkMonitor/NetworkMonitor.swift:433:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
431 |             Task {
432 |                 await MainActor.run {
433 |                     postNotification()
    |                     |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
434 |                     updateDelegate(path: path)
435 |                     updateHandler?(self, path)
[19/24] Compiling NetworkReachability NotificationExtensions.swift
[20/24] Compiling NetworkReachability PublishersExtensions.swift
[21/24] Compiling NetworkReachability NetworkMonitor+Combine.swift
[22/24] Compiling NetworkReachability NetworkMonitor+Concurrency.swift
[23/24] Emitting module NetworkReachability
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/ReachabilityMonitor/ReachabilityMonitor.swift:509:46: warning: conditional cast from 'ReachabilityMonitor.Error' to 'ReachabilityMonitor.Error' always succeeds
507 |                         succeed(with: flags)
508 |                     } catch {
509 |                         if let error = error as? Error {
    |                                              `- warning: conditional cast from 'ReachabilityMonitor.Error' to 'ReachabilityMonitor.Error' always succeeds
510 |                             fail(with: error)
511 |                         } else {
[24/24] Compiling NetworkReachability WeakReference.swift
Build complete! (15.29s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    },
    {
      "identity" : "swiftformat",
      "requirement" : {
        "exact" : [
          "0.51.7"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nicklockwood/SwiftFormat"
    }
  ],
  "manifest_display_name" : "NetworkReachability",
  "name" : "NetworkReachability",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "5.0"
    }
  ],
  "products" : [
    {
      "name" : "NetworkReachability",
      "targets" : [
        "NetworkReachability"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NetworkReachabilityTests",
      "module_type" : "SwiftTarget",
      "name" : "NetworkReachabilityTests",
      "path" : "Tests/NetworkReachabilityTests",
      "sources" : [
        "NetworkMonitorCombineTests.swift",
        "NetworkMonitorConcurrencyTests.swift",
        "NetworkMonitorTests.swift",
        "ReachabilityMonitorCombineTests.swift",
        "ReachabilityMonitorConcurrencyTests.swift",
        "ReachabilityMonitorTests.swift"
      ],
      "target_dependencies" : [
        "NetworkReachability"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NetworkReachability",
      "module_type" : "SwiftTarget",
      "name" : "NetworkReachability",
      "path" : "Sources/NetworkReachability",
      "product_memberships" : [
        "NetworkReachability"
      ],
      "sources" : [
        "API/Extensions/NotificationExtensions.swift",
        "API/Extensions/PublishersExtensions.swift",
        "API/NetworkMonitor/NetworkMonitor+Combine.swift",
        "API/NetworkMonitor/NetworkMonitor+Concurrency.swift",
        "API/NetworkMonitor/NetworkMonitor+Notification.swift",
        "API/NetworkMonitor/NetworkMonitor.swift",
        "API/NetworkMonitor/NetworkMonitorDelegate.swift",
        "API/ReachabilityMonitor/Reachability.swift",
        "API/ReachabilityMonitor/ReachabilityMonitor+Combine.swift",
        "API/ReachabilityMonitor/ReachabilityMonitor+Concurrency.swift",
        "API/ReachabilityMonitor/ReachabilityMonitor+Error.swift",
        "API/ReachabilityMonitor/ReachabilityMonitor+Notification.swift",
        "API/ReachabilityMonitor/ReachabilityMonitor.swift",
        "API/ReachabilityMonitor/ReachabilityMonitorDelegate.swift",
        "Internal/DispatchQueue+NetworkReachability.swift",
        "Internal/SCNetworkReachability+NetworkReachability.swift",
        "Internal/SCNetworkReachabilityFlags+NetworkReachability.swift",
        "Internal/WeakReference.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/vsanthanam/networkreachability/1.5.1
Repository:               vsanthanam/NetworkReachability
Swift version used:       6.1
        .package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
Target:                   NetworkReachability
Generating documentation for 'NetworkReachability'...
Converting documentation...
warning: Parameter 'host' not found in type method declaration
   --> ../API/ReachabilityMonitor/ReachabilityMonitor.swift:465:13-466:13
463 |         /// ```
464 |         ///
465 +         /// - Parameter host: The socket address you want to monitor
    |             ╰─suggestion: Remove 'host' parameter documentation
466 +         ///
467 |         /// - Returns: The latest known reachability for the provided host
468 |         ///
warning: Parameter 'address' is missing documentation
   --> ../API/ReachabilityMonitor/ReachabilityMonitor.swift:466:13-466:13
464 |         ///
465 |         /// - Parameter host: The socket address you want to monitor
466 +         ///
    |             ╰─suggestion: Document 'address' parameter
467 |         /// - Returns: The latest known reachability for the provided host
468 |         ///
Conversion complete! (0.34s)
Generated DocC archive at '/Users/admin/builder/spi-builder-workspace/.docs/vsanthanam/networkreachability/1.5.1'
Building for debugging...
[0/8] Write sources
[1/8] Write snippet-extract-tool-entitlement.plist
[2/8] Write sources
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit Mixin+Equals.swift
[8/57] Compiling SymbolKit Mixin+Hash.swift
[9/57] Compiling SymbolKit Mixin.swift
[10/57] Compiling SymbolKit LineList.swift
[11/57] Compiling SymbolKit Position.swift
[12/57] Compiling SymbolKit DeclarationFragments.swift
[13/57] Compiling SymbolKit Fragment.swift
[14/57] Compiling SymbolKit FragmentKind.swift
[15/57] Compiling SymbolKit FunctionParameter.swift
[16/57] Compiling SymbolKit FunctionSignature.swift
[17/57] Compiling SymbolKit Identifier.swift
[18/57] Compiling SymbolKit KindIdentifier.swift
[19/57] Compiling SymbolKit Location.swift
[20/57] Compiling SymbolKit Mutability.swift
[21/57] Compiling SymbolKit GenericConstraint.swift
[22/57] Compiling SymbolKit GenericParameter.swift
[23/57] Compiling SymbolKit Generics.swift
[24/57] Compiling SymbolKit Namespace.swift
[25/57] Compiling SymbolKit Names.swift
[26/57] Compiling SymbolKit SPI.swift
[27/57] Compiling SymbolKit Snippet.swift
[28/57] Compiling SymbolKit Extension.swift
[29/57] Compiling SymbolKit SemanticVersion.swift
[30/57] Compiling SymbolKit AccessControl.swift
[31/57] Compiling SymbolKit Availability.swift
[32/57] Compiling SymbolKit AvailabilityItem.swift
[33/57] Compiling SymbolKit Domain.swift
[34/57] Compiling SymbolKit Relationship.swift
[35/57] Compiling SymbolKit RelationshipKind.swift
[36/57] Compiling SymbolKit SourceOrigin.swift
[37/57] Compiling SymbolKit GenericConstraints.swift
[38/57] Compiling SymbolKit Swift.swift
[39/57] Compiling SymbolKit SourceRange.swift
[40/57] Compiling SymbolKit Metadata.swift
[41/57] Compiling SymbolKit Module.swift
[42/57] Compiling SymbolKit OperatingSystem.swift
[43/57] Compiling SymbolKit Platform.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets SnippetParser.swift
[53/57] Compiling Snippets Snippet.swift
[54/57] Emitting module Snippets
[55/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[56/61] Compiling snippet_extract URL+Status.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.13s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/19] Compiling NetworkReachability SCNetworkReachabilityFlags+NetworkReachability.swift
[3/19] Compiling NetworkReachability NetworkMonitorDelegate.swift
[4/19] Compiling NetworkReachability Reachability.swift
[5/19] Compiling NetworkReachability DispatchQueue+NetworkReachability.swift
[6/19] Compiling NetworkReachability SCNetworkReachability+NetworkReachability.swift
[7/19] Compiling NetworkReachability NetworkMonitor+Notification.swift
[8/19] Compiling NetworkReachability NetworkMonitor.swift
[9/19] Emitting module NetworkReachability
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/ReachabilityMonitor/ReachabilityMonitor.swift:509:46: warning: conditional cast from 'ReachabilityMonitor.Error' to 'ReachabilityMonitor.Error' always succeeds
507 |                         succeed(with: flags)
508 |                     } catch {
509 |                         if let error = error as? Error {
    |                                              `- warning: conditional cast from 'ReachabilityMonitor.Error' to 'ReachabilityMonitor.Error' always succeeds
510 |                             fail(with: error)
511 |                         } else {
[10/19] Compiling NetworkReachability NotificationExtensions.swift
[11/19] Compiling NetworkReachability PublishersExtensions.swift
[12/19] Compiling NetworkReachability ReachabilityMonitor.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/ReachabilityMonitor/ReachabilityMonitor.swift:509:46: warning: conditional cast from 'ReachabilityMonitor.Error' to 'ReachabilityMonitor.Error' always succeeds
507 |                         succeed(with: flags)
508 |                     } catch {
509 |                         if let error = error as? Error {
    |                                              `- warning: conditional cast from 'ReachabilityMonitor.Error' to 'ReachabilityMonitor.Error' always succeeds
510 |                             fail(with: error)
511 |                         } else {
[13/19] Compiling NetworkReachability ReachabilityMonitorDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkReachability/API/ReachabilityMonitor/ReachabilityMonitor.swift:509:46: warning: conditional cast from 'ReachabilityMonitor.Error' to 'ReachabilityMonitor.Error' always succeeds
507 |                         succeed(with: flags)
508 |                     } catch {
509 |                         if let error = error as? Error {
    |                                              `- warning: conditional cast from 'ReachabilityMonitor.Error' to 'ReachabilityMonitor.Error' always succeeds
510 |                             fail(with: error)
511 |                         } else {
[14/19] Compiling NetworkReachability NetworkMonitor+Combine.swift
[15/19] Compiling NetworkReachability NetworkMonitor+Concurrency.swift
[16/19] Compiling NetworkReachability ReachabilityMonitor+Combine.swift
[17/19] Compiling NetworkReachability ReachabilityMonitor+Concurrency.swift
[18/19] Compiling NetworkReachability ReachabilityMonitor+Error.swift
[19/19] Compiling NetworkReachability ReachabilityMonitor+Notification.swift
[20/20] Compiling NetworkReachability WeakReference.swift
Build of target: 'NetworkReachability' complete! (1.36s)
     747
29	/Users/admin/builder/spi-builder-workspace/.docs/vsanthanam/networkreachability/1.5.1
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/vsanthanam/networkreachability/1.5.1
File count: 747
Doc size:   29.0MB
Preparing doc bundle ...
Uploading prod-vsanthanam-networkreachability-1.5.1-07be946e.zip to s3://spi-docs-inbox/prod-vsanthanam-networkreachability-1.5.1-07be946e.zip
Copying... [10%]
Copying... [20%]
Copying... [30%]
Copying... [40%]
Copying... [50%]
Copying... [60%]
Copying... [70%]
Copying... [80%]
Copying... [90%]
Copying... [100%]
Done.