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 Timers, reference 0.1.0 (436dc7), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 16:23:06 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/dreymonde/Timers.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dreymonde/Timers
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 436dc71 update README
Cloned https://github.com/dreymonde/Timers.git
Revision (git rev-parse @):
436dc713e932af950054f05fccfc10959afa924a
SUCCESS checkout https://github.com/dreymonde/Timers.git at 0.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": "timers",
      "name": "Timers",
      "url": "https://github.com/dreymonde/Timers.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Timers",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/dreymonde/Timers.git
[1/46] Fetching timers
Fetched https://github.com/dreymonde/Timers.git from cache (0.88s)
Creating working copy for https://github.com/dreymonde/Timers.git
Working copy of https://github.com/dreymonde/Timers.git resolved at 0.1.0 (436dc71)
warning: '.resolve-product-dependencies': dependency 'timers' 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/dreymonde/Timers.git
https://github.com/dreymonde/Timers.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Timers",
  "name" : "Timers",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Timers",
      "targets" : [
        "Timers"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TimersTests",
      "module_type" : "SwiftTarget",
      "name" : "TimersTests",
      "path" : "Tests/TimersTests",
      "sources" : [
        "TimersTests.swift"
      ],
      "target_dependencies" : [
        "Timers"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Timers",
      "module_type" : "SwiftTarget",
      "name" : "Timers",
      "path" : "Sources/Timers",
      "product_memberships" : [
        "Timers"
      ],
      "sources" : [
        "Timers.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
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 Timers
[4/4] Compiling Timers Timers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Timers/Timers.swift:65:81: warning: passing non-sendable parameter 'timerBlock' to function expecting a @Sendable closure
 62 |         handler: @escaping (TargetType, Timer) -> Void
 63 |     ) {
 64 |         addCustomTimer(withTarget: target, handler: handler) { timerBlock in
    |                                                                `- note: parameter 'timerBlock' is implicitly non-sendable
 65 |             let timer = Timer(timeInterval: timeInterval, repeats: true, block: timerBlock)
    |                                                                                 `- warning: passing non-sendable parameter 'timerBlock' to function expecting a @Sendable closure
 66 |             timer.tolerance = tolerance
 67 |             return timer
/Users/admin/builder/spi-builder-workspace/Sources/Timers/Timers.swift:102:28: warning: passing non-sendable parameter 'timerBlock' to function expecting a @Sendable closure
 95 |             withTarget: target,
 96 |             handler: handler,
 97 |             makeTimer: { timerBlock in
    |                          `- note: parameter 'timerBlock' is implicitly non-sendable
 98 |                 let timer = Timer(
 99 |                     fire: fireAt,
100 |                     interval: timeInterval,
101 |                     repeats: true,
102 |                     block: timerBlock
    |                            `- warning: passing non-sendable parameter 'timerBlock' to function expecting a @Sendable closure
103 |                 )
104 |                 timer.tolerance = tolerance
/Users/admin/builder/spi-builder-workspace/Sources/Timers/Timers.swift:138:73: warning: passing non-sendable parameter 'timerBlock' to function expecting a @Sendable closure
135 |             withTarget: target,
136 |             handler: { target, _ in handler(target) },
137 |             makeTimer: { timerBlock in
    |                          `- note: parameter 'timerBlock' is implicitly non-sendable
138 |                 Timer(fire: fireAt, interval: 0, repeats: false, block: timerBlock)
    |                                                                         `- warning: passing non-sendable parameter 'timerBlock' to function expecting a @Sendable closure
139 |             }
140 |         )
Build complete! (4.36s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Timers",
  "name" : "Timers",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Timers",
      "targets" : [
        "Timers"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TimersTests",
      "module_type" : "SwiftTarget",
      "name" : "TimersTests",
      "path" : "Tests/TimersTests",
      "sources" : [
        "TimersTests.swift"
      ],
      "target_dependencies" : [
        "Timers"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Timers",
      "module_type" : "SwiftTarget",
      "name" : "Timers",
      "path" : "Sources/Timers",
      "product_memberships" : [
        "Timers"
      ],
      "sources" : [
        "Timers.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.