This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 SwiftyPing with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/samiyr/SwiftyPing.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/samiyr/SwiftyPing
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 05591bc Better sequence index handling, new true sequence index
Cloned https://github.com/samiyr/SwiftyPing.git
Revision (git rev-parse @):
05591bc0047e41e0e1d98135c6bc457192a72d39
SUCCESS checkout https://github.com/samiyr/SwiftyPing.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/samiyr/SwiftyPing.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/4] Compiling SwiftyPing SwiftyPing.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyPing/SwiftyPing.swift:370:27: warning: capture of 'self' with non-sendable type 'SwiftyPing' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 93 |
 94 | /// Represents a single ping instance. A ping instance has a single destination.
 95 | public class SwiftyPing: NSObject {
    |              `- note: class 'SwiftyPing' does not conform to the 'Sendable' protocol
 96 |     /// Describes the ping host destination.
 97 |     public struct Destination {
    :
368 |
369 |         _serial.async {
370 |             let address = self.destination.ipv4Address
    |                           `- warning: capture of 'self' with non-sendable type 'SwiftyPing' in a `@Sendable` closure; this is an error in the Swift 6 language mode
371 |             do {
372 |                 let icmpPackage = try self.createICMPPackage(identifier: UInt16(self.identifier), sequenceNumber: UInt16(self.sequenceIndex))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyPing/SwiftyPing.swift:482:17: warning: capture of 'self' with non-sendable type 'SwiftyPing' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 93 |
 94 | /// Represents a single ping instance. A ping instance has a single destination.
 95 | public class SwiftyPing: NSObject {
    |              `- note: class 'SwiftyPing' does not conform to the 'Sendable' protocol
 96 |     /// Describes the ping host destination.
 97 |     public struct Destination {
    :
480 |         if shouldSchedulePing() {
481 |             _serial.asyncAfter(deadline: .now() + configuration.pingInterval) {
482 |                 self.sendPing()
    |                 `- warning: capture of 'self' with non-sendable type 'SwiftyPing' in a `@Sendable` closure; this is an error in the Swift 6 language mode
483 |             }
484 |         }
[4/4] Emitting module SwiftyPing
Build complete! (17.49s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftyPing",
  "name" : "SwiftyPing",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftyPing",
      "targets" : [
        "SwiftyPing"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftyPingTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyPingTests",
      "path" : "Tests/SwiftyPingTests",
      "sources" : [
        "SwiftyPingTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SwiftyPing"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftyPing",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyPing",
      "path" : "Sources/SwiftyPing",
      "product_memberships" : [
        "SwiftyPing"
      ],
      "sources" : [
        "SwiftyPing.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.