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 Hyperconnectivity, reference main (050359), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 10:04:32 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/rwbutler/Hyperconnectivity.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/rwbutler/Hyperconnectivity
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0503595 Updated CHANGELOG.md
Cloned https://github.com/rwbutler/Hyperconnectivity.git
Revision (git rev-parse @):
0503595f9ab5bfdef6c06c2d8c2712cb50213259
SUCCESS checkout https://github.com/rwbutler/Hyperconnectivity.git at main
Fetching https://github.com/AliSoftware/OHHTTPStubs
[1/7900] Fetching ohhttpstubs
Fetched https://github.com/AliSoftware/OHHTTPStubs from cache (1.20s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs
Computed https://github.com/AliSoftware/OHHTTPStubs at 9.1.0 (1.79s)
Creating working copy for https://github.com/AliSoftware/OHHTTPStubs
Working copy of https://github.com/AliSoftware/OHHTTPStubs resolved at 9.1.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": "hyperconnectivity",
      "name": "Hyperconnectivity",
      "url": "https://github.com/rwbutler/Hyperconnectivity.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Hyperconnectivity",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/rwbutler/Hyperconnectivity.git
[1/601] Fetching hyperconnectivity
Fetched https://github.com/rwbutler/Hyperconnectivity.git from cache (0.94s)
Creating working copy for https://github.com/rwbutler/Hyperconnectivity.git
Working copy of https://github.com/rwbutler/Hyperconnectivity.git resolved at main (0503595)
warning: '.resolve-product-dependencies': dependency 'hyperconnectivity' 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/rwbutler/Hyperconnectivity.git
https://github.com/rwbutler/Hyperconnectivity.git
{
  "dependencies" : [
    {
      "identity" : "ohhttpstubs",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "9.1.0",
            "upper_bound" : "10.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/AliSoftware/OHHTTPStubs"
    }
  ],
  "manifest_display_name" : "Hyperconnectivity",
  "name" : "Hyperconnectivity",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Hyperconnectivity",
      "targets" : [
        "Hyperconnectivity"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HyperconnectivityTests",
      "module_type" : "SwiftTarget",
      "name" : "HyperconnectivityTests",
      "path" : "Example/Tests",
      "product_dependencies" : [
        "OHHTTPStubsSwift"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Example/Tests/failure-response.html",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Example/Tests/string-contains-response.html",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Example/Tests/string-equality-response.html",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "ConnectionTests.swift",
        "ConnectivityPublisherTests.swift",
        "ConnectivityStateTests.swift",
        "ConnectivitySubscriptionTests.swift",
        "MockConnectivity.swift",
        "MockPath.swift",
        "NonCachingURLSessionConfigurationFactoryTests.swift",
        "PercentageTests.swift",
        "ReachabilityPublisherTests.swift",
        "ResponseContainsStringValidatorTests.swift",
        "ResponseRegExValidatorTests.swift",
        "ResponseStringEqualityValidatorTests.swift"
      ],
      "target_dependencies" : [
        "Hyperconnectivity"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Hyperconnectivity",
      "module_type" : "SwiftTarget",
      "name" : "Hyperconnectivity",
      "path" : "Hyperconnectivity/Classes",
      "product_memberships" : [
        "Hyperconnectivity"
      ],
      "sources" : [
        "Combine/ConnectivityPublisher.swift",
        "Combine/ConnectivitySubscription.swift",
        "Combine/NonCachingURLSessionConfigurationFactory.swift",
        "Combine/Publishers.swift",
        "Combine/ReachabilityPublisher.swift",
        "Combine/ReachabilitySubscription.swift",
        "Core/Hyperconnectivity.swift",
        "Model/Configuration.swift",
        "Model/Connection.swift",
        "Model/ConnectivityResult.swift",
        "Model/ConnectivityState.swift",
        "Model/Notification.Name.swift",
        "Model/Percentage.swift",
        "Model/ReachabilityResult.swift",
        "Response Validation/ResponseContainsStringValidator.swift",
        "Response Validation/ResponseRegExValidator.swift",
        "Response Validation/ResponseStringEqualityValidator.swift",
        "Response Validation/ResponseStringValidator.swift",
        "Response Validation/ResponseValidator.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/21] Compiling Hyperconnectivity ResponseContainsStringValidator.swift
[4/21] Compiling Hyperconnectivity ResponseRegExValidator.swift
[5/21] Compiling Hyperconnectivity ResponseStringEqualityValidator.swift
[6/21] Compiling Hyperconnectivity ResponseStringValidator.swift
[7/22] Compiling Hyperconnectivity ConnectivityState.swift
[8/22] Compiling Hyperconnectivity Notification.Name.swift
[9/22] Compiling Hyperconnectivity Percentage.swift
[10/22] Compiling Hyperconnectivity ReachabilityResult.swift
[11/22] Compiling Hyperconnectivity NonCachingURLSessionConfigurationFactory.swift
[12/22] Compiling Hyperconnectivity Publishers.swift
[13/22] Emitting module Hyperconnectivity
[14/22] Compiling Hyperconnectivity ReachabilityPublisher.swift
[15/22] Compiling Hyperconnectivity ReachabilitySubscription.swift
[16/22] Compiling Hyperconnectivity Hyperconnectivity.swift
/Users/admin/builder/spi-builder-workspace/Hyperconnectivity/Classes/Core/Hyperconnectivity.swift:37:13: warning: capture of 'self' with non-sendable type 'Hyperconnectivity?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
10 | import Network
11 |
12 | public class Hyperconnectivity {
   |              `- note: class 'Hyperconnectivity' does not conform to the 'Sendable' protocol
13 |
14 |     // MARK: Type declarations
   :
35 |         let pathMonitor = NWPathMonitor()
36 |         pathMonitor.pathUpdateHandler = { [weak self] path in
37 |             self?.pathUpdated(path, with: configuration)
   |             `- warning: capture of 'self' with non-sendable type 'Hyperconnectivity?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
38 |         }
39 |         self.pathMonitor = pathMonitor
/Users/admin/builder/spi-builder-workspace/Hyperconnectivity/Classes/Core/Hyperconnectivity.swift:37:43: warning: capture of 'configuration' with non-sendable type 'Hyperconnectivity.Configuration' (aka 'HyperconnectivityConfiguration') in a '@Sendable' closure; this is an error in the Swift 6 language mode
35 |         let pathMonitor = NWPathMonitor()
36 |         pathMonitor.pathUpdateHandler = { [weak self] path in
37 |             self?.pathUpdated(path, with: configuration)
   |                                           `- warning: capture of 'configuration' with non-sendable type 'Hyperconnectivity.Configuration' (aka 'HyperconnectivityConfiguration') in a '@Sendable' closure; this is an error in the Swift 6 language mode
38 |         }
39 |         self.pathMonitor = pathMonitor
/Users/admin/builder/spi-builder-workspace/Hyperconnectivity/Classes/Model/Configuration.swift:10:15: note: consider making struct 'HyperconnectivityConfiguration' conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | public struct HyperconnectivityConfiguration {
   |               `- note: consider making struct 'HyperconnectivityConfiguration' conform to the 'Sendable' protocol
11 |     public static let defaultConnectivityURLs = [
12 |         URL(string: "https://www.apple.com/library/test/success.html"),
[17/22] Compiling Hyperconnectivity Configuration.swift
/Users/admin/builder/spi-builder-workspace/Hyperconnectivity/Classes/Core/Hyperconnectivity.swift:37:13: warning: capture of 'self' with non-sendable type 'Hyperconnectivity?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
10 | import Network
11 |
12 | public class Hyperconnectivity {
   |              `- note: class 'Hyperconnectivity' does not conform to the 'Sendable' protocol
13 |
14 |     // MARK: Type declarations
   :
35 |         let pathMonitor = NWPathMonitor()
36 |         pathMonitor.pathUpdateHandler = { [weak self] path in
37 |             self?.pathUpdated(path, with: configuration)
   |             `- warning: capture of 'self' with non-sendable type 'Hyperconnectivity?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
38 |         }
39 |         self.pathMonitor = pathMonitor
/Users/admin/builder/spi-builder-workspace/Hyperconnectivity/Classes/Core/Hyperconnectivity.swift:37:43: warning: capture of 'configuration' with non-sendable type 'Hyperconnectivity.Configuration' (aka 'HyperconnectivityConfiguration') in a '@Sendable' closure; this is an error in the Swift 6 language mode
35 |         let pathMonitor = NWPathMonitor()
36 |         pathMonitor.pathUpdateHandler = { [weak self] path in
37 |             self?.pathUpdated(path, with: configuration)
   |                                           `- warning: capture of 'configuration' with non-sendable type 'Hyperconnectivity.Configuration' (aka 'HyperconnectivityConfiguration') in a '@Sendable' closure; this is an error in the Swift 6 language mode
38 |         }
39 |         self.pathMonitor = pathMonitor
/Users/admin/builder/spi-builder-workspace/Hyperconnectivity/Classes/Model/Configuration.swift:10:15: note: consider making struct 'HyperconnectivityConfiguration' conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | public struct HyperconnectivityConfiguration {
   |               `- note: consider making struct 'HyperconnectivityConfiguration' conform to the 'Sendable' protocol
11 |     public static let defaultConnectivityURLs = [
12 |         URL(string: "https://www.apple.com/library/test/success.html"),
[18/22] Compiling Hyperconnectivity ConnectivityPublisher.swift
[19/22] Compiling Hyperconnectivity ConnectivitySubscription.swift
[20/22] Compiling Hyperconnectivity Connection.swift
[21/22] Compiling Hyperconnectivity ConnectivityResult.swift
[22/22] Compiling Hyperconnectivity ResponseValidator.swift
Build complete! (6.25s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "ohhttpstubs",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "9.1.0",
            "upper_bound" : "10.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/AliSoftware/OHHTTPStubs"
    }
  ],
  "manifest_display_name" : "Hyperconnectivity",
  "name" : "Hyperconnectivity",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Hyperconnectivity",
      "targets" : [
        "Hyperconnectivity"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HyperconnectivityTests",
      "module_type" : "SwiftTarget",
      "name" : "HyperconnectivityTests",
      "path" : "Example/Tests",
      "product_dependencies" : [
        "OHHTTPStubsSwift"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Example/Tests/failure-response.html",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Example/Tests/string-contains-response.html",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Example/Tests/string-equality-response.html",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "ConnectionTests.swift",
        "ConnectivityPublisherTests.swift",
        "ConnectivityStateTests.swift",
        "ConnectivitySubscriptionTests.swift",
        "MockConnectivity.swift",
        "MockPath.swift",
        "NonCachingURLSessionConfigurationFactoryTests.swift",
        "PercentageTests.swift",
        "ReachabilityPublisherTests.swift",
        "ResponseContainsStringValidatorTests.swift",
        "ResponseRegExValidatorTests.swift",
        "ResponseStringEqualityValidatorTests.swift"
      ],
      "target_dependencies" : [
        "Hyperconnectivity"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Hyperconnectivity",
      "module_type" : "SwiftTarget",
      "name" : "Hyperconnectivity",
      "path" : "Hyperconnectivity/Classes",
      "product_memberships" : [
        "Hyperconnectivity"
      ],
      "sources" : [
        "Combine/ConnectivityPublisher.swift",
        "Combine/ConnectivitySubscription.swift",
        "Combine/NonCachingURLSessionConfigurationFactory.swift",
        "Combine/Publishers.swift",
        "Combine/ReachabilityPublisher.swift",
        "Combine/ReachabilitySubscription.swift",
        "Core/Hyperconnectivity.swift",
        "Model/Configuration.swift",
        "Model/Connection.swift",
        "Model/ConnectivityResult.swift",
        "Model/ConnectivityState.swift",
        "Model/Notification.Name.swift",
        "Model/Percentage.swift",
        "Model/ReachabilityResult.swift",
        "Response Validation/ResponseContainsStringValidator.swift",
        "Response Validation/ResponseRegExValidator.swift",
        "Response Validation/ResponseStringEqualityValidator.swift",
        "Response Validation/ResponseStringValidator.swift",
        "Response Validation/ResponseValidator.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.