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 WatchEye, reference main (aa6b44), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 09:56:04 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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/m1guelpf/WatchEye.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/m1guelpf/WatchEye
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at aa6b44e update instructions
Cloned https://github.com/m1guelpf/WatchEye.git
Revision (git rev-parse @):
aa6b44ee73a8ec827c8dc4544f253b5be855f2a9
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/m1guelpf/WatchEye.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/m1guelpf/WatchEye.git
https://github.com/m1guelpf/WatchEye.git
{
  "dependencies" : [
    {
      "identity" : "axswift",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/skyfallsin/AXSwift"
    }
  ],
  "manifest_display_name" : "WatchEye",
  "name" : "WatchEye",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "WatchEye",
      "targets" : [
        "WatchEye"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WatchEye",
      "module_type" : "SwiftTarget",
      "name" : "WatchEye",
      "path" : "src",
      "product_dependencies" : [
        "AXSwift"
      ],
      "product_memberships" : [
        "WatchEye"
      ],
      "sources" : [
        "BrowserUtils.swift",
        "WatchEye.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
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
Building for debugging...
[0/5] Write sources
[2/5] Write swift-version-2F0A5646E1D333AE.txt
[4/13] Compiling AXSwift Constants.swift
[5/13] Compiling AXSwift Application.swift
[6/13] Emitting module AXSwift
[7/13] Compiling AXSwift AXSwift.swift
[8/13] Compiling AXSwift Error.swift
[9/13] Compiling AXSwift UIElement.swift
[10/13] Compiling AXSwift SystemWideElement.swift
[11/13] Compiling AXSwift Observer.swift
[12/16] Compiling WatchEye WatchEye.swift
/Users/admin/builder/spi-builder-workspace/src/WatchEye.swift:51:20: warning: converting non-sendable function value to '@Sendable (Notification) -> Void' may introduce data races
 49 |             object: nil,
 50 |             queue: nil,
 51 |             using: onApplicationChange
    |                    `- warning: converting non-sendable function value to '@Sendable (Notification) -> Void' may introduce data races
 52 |         )
 53 |     }
/Users/admin/builder/spi-builder-workspace/src/WatchEye.swift:76:19: warning: capture of 'self' with non-sendable type 'WatchEye' in a '@Sendable' closure
 19 |
 20 | @Observable
 21 | public final class WatchEye: NSObject {
    |                    `- note: class 'WatchEye' does not conform to the 'Sendable' protocol
 22 |     /// The delegate for the watcher.
 23 |     @ObservationIgnored public var delegate: WatchEyeDelegate?
    :
 74 |
 75 |         permissionCheckTimer = Timer.scheduledTimer(withTimeInterval: 1, repeats: true) { _ in
 76 |             guard self.isAllowed else { return }
    |                   `- warning: capture of 'self' with non-sendable type 'WatchEye' in a '@Sendable' closure
 77 |
 78 |             self.permissionCheckTimer?.invalidate()
[13/16] Emitting module WatchEye
[14/16] Compiling WatchEye BrowserUtils.swift
[14/16] Write Objects.LinkFileList
[15/16] Linking libWatchEye.dylib
Build complete! (19.13s)
Fetching https://github.com/skyfallsin/AXSwift
[1/470] Fetching axswift
Fetched https://github.com/skyfallsin/AXSwift from cache (5.80s)
Creating working copy for https://github.com/skyfallsin/AXSwift
Working copy of https://github.com/skyfallsin/AXSwift resolved at main (db5625d)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "axswift",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/skyfallsin/AXSwift"
    }
  ],
  "manifest_display_name" : "WatchEye",
  "name" : "WatchEye",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "WatchEye",
      "targets" : [
        "WatchEye"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WatchEye",
      "module_type" : "SwiftTarget",
      "name" : "WatchEye",
      "path" : "src",
      "product_dependencies" : [
        "AXSwift"
      ],
      "product_memberships" : [
        "WatchEye"
      ],
      "sources" : [
        "BrowserUtils.swift",
        "WatchEye.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Done.