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 Kyu 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/reddavis/Kyu.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/reddavis/Kyu
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 4d439ef Add MIT license
Cloned https://github.com/reddavis/Kyu.git
Revision (git rev-parse @):
4d439ef25834eafcd2a10d86d0cbe9db126f8604
SUCCESS checkout https://github.com/reddavis/Kyu.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/reddavis/Kyu.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/8] Compiling Kyu Kyu.swift
/Users/admin/builder/spi-builder-workspace/Kyu/Source/Kyu.swift:67:24: warning: sending 'logger' risks causing data races; this is an error in the Swift 6 language mode
65 |         logger.logLevel = logLevel
66 |
67 |         self.runner = .init(
   |                        |- warning: sending 'logger' risks causing data races; this is an error in the Swift 6 language mode
   |                        `- note: sending task-isolated 'logger' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
68 |             pendingDirectory: pendingDirectory,
69 |             completedDirectory: completedDirectory,
/Users/admin/builder/spi-builder-workspace/Kyu/Source/Kyu.swift:67:24: warning: sending 'onWillExecuteJob' risks causing data races; this is an error in the Swift 6 language mode
65 |         logger.logLevel = logLevel
66 |
67 |         self.runner = .init(
   |                        |- warning: sending 'onWillExecuteJob' risks causing data races; this is an error in the Swift 6 language mode
   |                        `- note: sending task-isolated 'onWillExecuteJob' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
68 |             pendingDirectory: pendingDirectory,
69 |             completedDirectory: completedDirectory,
/Users/admin/builder/spi-builder-workspace/Kyu/Source/Kyu.swift:90:31: warning: sending 'job' risks causing data races; this is an error in the Swift 6 language mode
88 |     public func add(job: T) async throws
89 |     {
90 |         try await self.runner.add(job: job)
   |                               |- warning: sending 'job' risks causing data races; this is an error in the Swift 6 language mode
   |                               `- note: sending task-isolated 'job' to actor-isolated instance method 'add(job:)' risks causing data races between actor-isolated and task-isolated uses
91 |     }
92 | }
[4/8] Compiling Kyu Job.swift
[5/8] Compiling Kyu Directory.swift
[6/8] Compiling Kyu Logger.swift
[7/8] Emitting module Kyu
[8/8] Compiling Kyu Runner.swift
/Users/admin/builder/spi-builder-workspace/Kyu/Source/Runner.swift:109:27: warning: sending 'job' risks causing data races; this is an error in the Swift 6 language mode
107 |             self.logger.info("[Job][\(job.id)] Executing")
108 |
109 |             try await job.execute()
    |                           |- warning: sending 'job' risks causing data races; this is an error in the Swift 6 language mode
    |                           `- note: sending 'self'-isolated 'job' to nonisolated instance method 'execute()' risks causing data races between nonisolated and 'self'-isolated uses
110 |             self.move(job: job, from: self.pendingDirectory, to: self.completedDirectory)
111 |
/Users/admin/builder/spi-builder-workspace/Kyu/Source/Runner.swift:76:14: warning: cannot access property 'jobDirectoryObserver' with a non-sendable type '(any DispatchSourceFileSystemObject)?' from non-isolated deinit; this is an error in the Swift 6 language mode
 74 |     deinit
 75 |     {
 76 |         self.jobDirectoryObserver.cancel()
    |              `- warning: cannot access property 'jobDirectoryObserver' with a non-sendable type '(any DispatchSourceFileSystemObject)?' from non-isolated deinit; this is an error in the Swift 6 language mode
 77 |     }
 78 |
Dispatch.DispatchSourceFileSystemObject:1:17: note: protocol 'DispatchSourceFileSystemObject' does not conform to the 'Sendable' protocol
1 | public protocol DispatchSourceFileSystemObject : DispatchSourceProtocol {
  |                 `- note: protocol 'DispatchSourceFileSystemObject' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Kyu/Source/Runner.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
  1 | import Foundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
  2 |
  3 |
Build complete! (18.83s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Kyu",
  "name" : "Kyu",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "Kyu",
      "targets" : [
        "Kyu"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "KyuTests",
      "module_type" : "SwiftTarget",
      "name" : "KyuTests",
      "path" : "KyuTests",
      "sources" : [
        "Source/AppendNewLineJob.swift",
        "Source/Assertions.swift",
        "Source/Tests/DirectoryTests.swift",
        "Source/Tests/KyuTests.swift"
      ],
      "target_dependencies" : [
        "Kyu"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Kyu",
      "module_type" : "SwiftTarget",
      "name" : "Kyu",
      "path" : "Kyu",
      "product_memberships" : [
        "Kyu"
      ],
      "sources" : [
        "Source/Directory.swift",
        "Source/Job.swift",
        "Source/Kyu.swift",
        "Source/Logger.swift",
        "Source/Runner.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.