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 Timers 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/dreymonde/Timers.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dreymonde/Timers
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d77a85c update README
Cloned https://github.com/dreymonde/Timers.git
Revision (git rev-parse @):
d77a85ca78b724d8f444fb0d9f6ddb33d0acc06e
SUCCESS checkout https://github.com/dreymonde/Timers.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/dreymonde/Timers.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 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 |         )
[4/4] Emitting module Timers
Build complete! (16.55s)
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.