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, reference v1.2.1 (05591b), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 20:23:46 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/samiyr/SwiftyPing.git
Reference: v1.2.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/samiyr/SwiftyPing
 * tag               v1.2.1     -> FETCH_HEAD
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 v1.2.1
========================================
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": "swiftyping",
      "name": "SwiftyPing",
      "url": "https://github.com/samiyr/SwiftyPing.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftyPing",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/samiyr/SwiftyPing.git
[1/511] Fetching swiftyping
Fetched https://github.com/samiyr/SwiftyPing.git from cache (1.19s)
Creating working copy for https://github.com/samiyr/SwiftyPing.git
Working copy of https://github.com/samiyr/SwiftyPing.git resolved at v1.2.1 (05591bc)
warning: '.resolve-product-dependencies': dependency 'swiftyping' 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/samiyr/SwiftyPing.git
https://github.com/samiyr/SwiftyPing.git
{
  "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"
}
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/4] Emitting module SwiftyPing
[4/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
 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
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
 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
483 |             }
484 |         }
Build complete! (4.27s)
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.