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 1.2.1 (2dd9fc), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 07:28:49 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rwbutler/Hyperconnectivity.git
Reference: 1.2.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/rwbutler/Hyperconnectivity
 * tag               1.2.1      -> FETCH_HEAD
HEAD is now at 2dd9fcc Updated Hyperconnectivity.podspec
Cloned https://github.com/rwbutler/Hyperconnectivity.git
Revision (git rev-parse @):
2dd9fcc032668da97a424e4d8347faa649d3d016
SUCCESS checkout https://github.com/rwbutler/Hyperconnectivity.git at 1.2.1
Fetching https://github.com/AliSoftware/OHHTTPStubs
[1/7891] Fetching ohhttpstubs
Fetched https://github.com/AliSoftware/OHHTTPStubs from cache (1.25s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs
Computed https://github.com/AliSoftware/OHHTTPStubs at 9.1.0 (0.57s)
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.97s)
Creating working copy for https://github.com/rwbutler/Hyperconnectivity.git
Working copy of https://github.com/rwbutler/Hyperconnectivity.git resolved at 1.2.1 (2dd9fcc)
warning: '.resolve-product-dependencies': dependency 'hyperconnectivity' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
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.1.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--7754E27361AE5C74.txt
[3/21] Compiling Hyperconnectivity ResponseStringEqualityValidator.swift
[4/21] Compiling Hyperconnectivity ResponseStringValidator.swift
[5/21] Compiling Hyperconnectivity ResponseContainsStringValidator.swift
[6/21] Compiling Hyperconnectivity ResponseRegExValidator.swift
[7/22] Compiling Hyperconnectivity ResponseValidator.swift
[8/22] Compiling Hyperconnectivity Percentage.swift
[9/22] Compiling Hyperconnectivity ReachabilityResult.swift
[10/22] Compiling Hyperconnectivity ConnectivityState.swift
[11/22] Compiling Hyperconnectivity Notification.Name.swift
[12/22] Compiling Hyperconnectivity Connection.swift
[13/22] Compiling Hyperconnectivity ConnectivityResult.swift
[14/22] Emitting module Hyperconnectivity
[15/22] Compiling Hyperconnectivity NonCachingURLSessionConfigurationFactory.swift
[16/22] Compiling Hyperconnectivity Publishers.swift
[17/22] Compiling Hyperconnectivity ReachabilityPublisher.swift
[18/22] Compiling Hyperconnectivity ReachabilitySubscription.swift
[19/22] Compiling Hyperconnectivity ConnectivityPublisher.swift
[20/22] Compiling Hyperconnectivity ConnectivitySubscription.swift
[21/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"),
[22/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"),
Build complete! (13.63s)
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.